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 -version flag to all binaries #151

Merged
merged 1 commit into from
Jul 16, 2019
Merged

Conversation

jromero
Copy link
Member

@jromero jromero commented Jul 15, 2019

  • Added acceptance test suite

Resolves #143

Signed-off-by: Andrew Meyer ameyer@pivotal.io
Signed-off-by: Javier Romero jromero@pivotal.io

@jromero jromero requested a review from sclevine July 15, 2019 16:17
Copy link
Member

@sclevine sclevine left a comment

Choose a reason for hiding this comment

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

Quick comments, let’s chat later also:

  • Don’t introduce a new package for the version. Put it in each command, or in the top-level lifecycle package. Package usage should be “wide not deep.”
  • Don’t use a single letter variable for package imports
  • This breaks the launcher, which cannot use the flag package due to its interface. We don’t want to parse the start command.

@jromero jromero force-pushed the feature/143-version branch from 6359b85 to d5d9ea4 Compare July 15, 2019 18:48
lifecycle.go Outdated Show resolved Hide resolved
@ameyer-pivotal ameyer-pivotal requested a review from sclevine July 15, 2019 21:31
@ameyer-pivotal ameyer-pivotal force-pushed the feature/143-version branch 2 times, most recently from 920b240 to e632d95 Compare July 15, 2019 21:38
- Added acceptance test suite

Signed-off-by: Andrew Meyer <ameyer@pivotal.io>
Signed-off-by: Javier Romero <jromero@pivotal.io>
@ameyer-pivotal ameyer-pivotal merged commit dbebab5 into master Jul 16, 2019
@ameyer-pivotal ameyer-pivotal deleted the feature/143-version branch July 16, 2019 15:04
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.

-version flag
3 participants