Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add theia-sf (Theia Snowflake) CLI to release assets #144

Merged

Conversation

antoninbas
Copy link
Contributor

We also add a new CLI command (theia-sf version) to display the Theia version from which the CLI was built.

Signed-off-by: Antonin Bas abas@vmware.com

We also add a new CLI command (theia-sf version) to display the Theia
version from which the CLI was built.

Signed-off-by: Antonin Bas <abas@vmware.com>
@antoninbas antoninbas added this to the Theia v0.5 release milestone Dec 23, 2022
@antoninbas
Copy link
Contributor Author

antoninbas commented Dec 23, 2022

I imagine we are too close to the release date to get this merged for v0.4, so I added the v0.5 milestone.

// See the License for the specific language governing permissions and
// limitations under the License.

package version
Copy link
Contributor

Choose a reason for hiding this comment

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

Shall we put this pkg under pkg/ instead of snowflake/pkg?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

why? is it needed for other Theia code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

BTW, given that theia and theia/snowflake are different Go modules, this is not straightforward and may not be a good idea.

Copy link
Contributor

@dreamtalen dreamtalen Jan 28, 2023

Choose a reason for hiding this comment

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

I was inspired by the version command you just added, our theia CLI doesn't have a version command so it might be useful to have one as well.
However, as you pointed out, it may not be advisable to do so across Go modules. Please disregard this comment. Thanks!

Copy link
Contributor

@dreamtalen dreamtalen left a comment

Choose a reason for hiding this comment

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

LGTM

@antoninbas antoninbas merged commit d6daa7f into antrea-io:main Jan 28, 2023
@antoninbas antoninbas deleted the add-theia-sf-cli-to-release-assets branch January 28, 2023 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants