-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Document git workspace SHA1 inclusion in C++ builds #2893
Comments
This is an alternative to envoyproxy#841, using the technique described in https://groups.google.com/forum/m/#!topic/bazel-discuss/9kqLmOq_m_U. See also bazelbuild/bazel#2893.
This is an alternative to #841, using the technique described in https://groups.google.com/forum/m/#!topic/bazel-discuss/9kqLmOq_m_U. See also bazelbuild/bazel#2893.
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 90 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale. |
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please post |
Today, the best reference I can find for this is https://groups.google.com/forum/m/#!topic/bazel-discuss/9kqLmOq_m_U. The public docs (e.g. Build Encyclopedia) don't mention many of the details. For example
linkstamp
forcc_library
is not documented, nor is--workspace_status_command
or the reference workspace status commandtools/buildstamp/get_workspace_status
(which is not the default).We spent quite some time in the Envoy project during our Bazel conversion on getting a live git SHA1 since we were unaware of these mechanisms, mucking around with
genrule
andrepository_rule
. I think it would be beneficial to document this clearly, as this is a very core thing a build system needs to be able to do for any non-trivial project that does production releases.@mattklein123
The text was updated successfully, but these errors were encountered: