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

Warn when using checked-out local build-harness rep #330

Open
Nuru opened this issue Oct 3, 2022 · 0 comments
Open

Warn when using checked-out local build-harness rep #330

Nuru opened this issue Oct 3, 2022 · 0 comments

Comments

@Nuru
Copy link
Sponsor Contributor

Nuru commented Oct 3, 2022

Background

In order to ensure a known version of build-harness is run by various automation workflows, and to support development and testing of build-harness, if you have the build-harness project checked out from GitHub and it is in the same directory tree at the same or higher level than your project, the checked out version will be used instead of the latest version.

This leads to problems and confusion by end users when they have a checked out version and it is old.

Feature Request: information display

When using the local checked out version of build-harness, display:

  • A notice that the local version is being used, including the exact directory where that version is located
  • A warning when that version is different than the current version of the default branch of the project, or a confirmation that hte latest version is being used

Feature Request: make this behavior a feature flag

More users are confused and "bitten" by this behavior than benefit from it. Therefore:

  • Make the default to be to use the auto-updated downloaded version when BUILD_HARNESS_AUTO_INIT is "true", with corresponding informational output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant