-
Notifications
You must be signed in to change notification settings - Fork 180
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
create a toolchain for git #257
Comments
An alternative would be to have a rules_git repo that defines the toolchain and then has rules to provide various features for extracting git metadata into a build. I rejected that because
|
This gets ugly quick. We can get the path to git, but we can't force a rule to run with the working directory.
But, if we are going to have to run update_changelog.sh, why do we need to detect git. Let's just use what the user is using. |
…e that to start the release notes. Warning: This is experimental. - Add a git toolchain - It gets the path to the git binary and the path to your source tree - therefore it can only be used locally. - Fixes bazelbuild#257 - Add a `git_changelog()` rule that will run git to get the change log. - Advances bazelbuild#228 - Change print_relnotes to accept a changelog file, instead of running git locally. Next steps: - Add the capability to reduce the change log from everything to only the commits that have RELNOTES sections.
…e that to start the release notes. Warning: This is experimental. - Add a git toolchain - It gets the path to the git binary and the path to your source tree - therefore it can only be used locally. - Fixes bazelbuild#257 - Add a `git_changelog()` rule that will run git to get the change log. - Advances bazelbuild#228 - Change print_relnotes to accept a changelog file, instead of running git locally. Next steps: - Add the capability to reduce the change log from everything to only the commits that have RELNOTES sections.
) Add capability to gather the commit log since the last release and use that to start the release notes. Warning: This is experimental. - Add a git toolchain - It gets the path to the git binary and the path to your source tree - therefore it can only be used locally. - Fixes #257 - Add a `git_changelog()` rule that will run git to get the change log. - Advances #228 - Change print_relnotes to accept a changelog file, instead of running git locally. Next steps: - Add the capability to reduce the change log from everything to only the commits that have RELNOTES sections.
This would be only for internal use, and not part of the supported public API
The text was updated successfully, but these errors were encountered: