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

Deprecate --hud in favor of --legacy #5470

Merged
merged 2 commits into from
Feb 14, 2022

Conversation

kensipe
Copy link
Contributor

@kensipe kensipe commented Feb 9, 2022

Improving UX and reducing confusion around hud and legacy in favor of legacy as noted in Issue #5455
Internally, it is still referenced as hud or legacy hud, but it exposed to users as legacy.

The change is much easier to reason about on startup of up or demo.
hud is marked as deprecated which requires a sleep pause in order to display. 1 sec seemed too fast to notice and guessed 3 was reasonable but looking for feedback.
Additionally I guess that 3 major release versions was a reasonable deprecation window, looking for guidance there.

This PR does not handle consolidation of key navigation from prompts yet.

Signed-off-by: Ken Sipe kensipe@gmail.com

Signed-off-by: Ken Sipe <kensipe@gmail.com>
@kensipe
Copy link
Contributor Author

kensipe commented Feb 9, 2022

didn't run integration tests... looking at the failure and will update

Signed-off-by: Ken Sipe <kensipe@gmail.com>
@kensipe
Copy link
Contributor Author

kensipe commented Feb 9, 2022

may need some help understand the integration env. The first failure was definitely related to the change... I don't see how the current failure is related. I'm not sure what is need to run the integration test locally and will deep later tonight

@nicksieger
Copy link
Member

@kensipe we could probably expound upon what this line means in the README.

AFAIK the requirements can be satisfied by:

  1. Kind, Ctlptl, Kubectl installed locally
  2. ctlptl create cluster kind --registry=ctlptl-registry
  3. make integration or go test ./integration/... the specific tests you want to run

@kensipe
Copy link
Contributor Author

kensipe commented Feb 11, 2022

Thank you! long time k8s eng, first time ctlptl user... methinks melike

@kensipe
Copy link
Contributor Author

kensipe commented Feb 11, 2022

Seems like all check pass and this is ready to go if the team sees value in it.

@kensipe
Copy link
Contributor Author

kensipe commented Feb 11, 2022

For clarity for others that may be reading this... to run integration without make: go test --tags 'integration' ./integration/...

Copy link
Member

@nicks nicks left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@nicks nicks merged commit ae76c05 into tilt-dev:master Feb 14, 2022
@kensipe kensipe deleted the ken/up-hud-legacy-flag branch February 16, 2022 22:37
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.

3 participants