-
Notifications
You must be signed in to change notification settings - Fork 24.6k
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 support for Buck oncall annotations #35562
Conversation
tools/build_defs/preload.bzl
Outdated
@@ -0,0 +1,4 @@ | |||
# These are symbols that are available in newer versions of Buck, but not the open source one. | |||
|
|||
def oncall(_team): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q: Shouldn't we use tools/build_defs/oss/build_defs.bzl
as we're doing for other similar functions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed that oss makes more sense - have put it as oss/preload.bzl instead
@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This pull request was successfully merged by @ndmitchell in bdb2fd6. When will my fix make it into a release? | Upcoming Releases |
Summary: Newer versions of Buck (not released open source) support an `oncall` annotation to denote who owns a particular BUCK file. These annotations are useful to support so that if BUCK files are updated with such annotations they don't break. ## Changelog [Internal] [Changed] - support oncall annotation in BUCK files Pull Request resolved: facebook#35562 Test Plan: The `test_buck` CI job validates that the file can be evaluated by open-source Buck. I ran this on a CircleCI fork, and it passed. Reviewed By: motiz88 Differential Revision: D41731925 Pulled By: cortinico fbshipit-source-id: 7d0ae164c3e6289d4aa76892658d46bbe4faf99c
Summary
Newer versions of Buck (not released open source) support an
oncall
annotation to denote who owns a particular BUCK file. These annotations are useful to support so that if BUCK files are updated with such annotations they don't break.Changelog
[Internal] [Changed] - support oncall annotation in BUCK files
Test Plan
The
test_buck
CI job validates that the file can be evaluated by open-source Buck. I ran this on a CircleCI fork, and it passed.