Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

Decouple versioning from Temporal#175

Merged
feedmeapples merged 1 commit intomainfrom
versions
Apr 19, 2022
Merged

Decouple versioning from Temporal#175
feedmeapples merged 1 commit intomainfrom
versions

Conversation

@feedmeapples
Copy link
Copy Markdown
Contributor

@feedmeapples feedmeapples commented Apr 12, 2022

What was changed

Removed dependency on Temporal for versioning
Changed the new UX version to v1.17

Related PR temporalio/temporal#2715

Why?

Removing dependency on Temporal

resolve #174
resolve #160

Checklist

  1. Closes

  2. How was this tested:

Unit tests

  1. Any docs updates needed?

Comment thread cli/headers/headers.go
const (
ClientNameCLI = "temporal-cli"

CLIVersion = "1.16.1"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sdk version?

Copy link
Copy Markdown
Contributor Author

@feedmeapples feedmeapples Apr 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mean to use the SDK version?

maybe but this needs to be a separate PR to not mix goals/work items in the same PR

Though still unclear how do we release new versions of tctl then if SDK version is the same between the tctl versions?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh it just seemed like maybe this was meant to be the sdk version since it’s different than the file above in the pr.

just seemed strange to have an app version and cli version and they be different.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are now two versions mentioned since tctl has 2 modes: default (v1.16) and opt-in new UX mode (v1.17 alpha)

Comment thread cli/app.go
app.Name = "tctl"
app.Usage = "A command-line tool for Temporal users"
app.Version = "1.14.0-alpha.2"
app.Version = "1.17.0-alpha.1"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion incoming:
How do you feel about moving all these versions to a single file?
versions.go

A structure like

const (
	major           = "1"
	minor           = "17"
	patch           = "0"
	trailer         = "alpha.1"   // ideally this is a commit hash coming from the build process via env or cli
	release_version = major + "." + minor + "." + patch
	next_version    = release_version + "-" + trailer
)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

given there is going to be just one version ~ relatively soon would prefer to keep version info as is

@feedmeapples feedmeapples merged commit 24cd6e5 into main Apr 19, 2022
@feedmeapples feedmeapples deleted the versions branch April 19, 2022 17:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] v1.17.0-beta isn't next Remove use of Go SDK client.ConnectionOptions.DisableHealthCheck

2 participants