-
Notifications
You must be signed in to change notification settings - Fork 443
iox-#2434: Remove --//:feature_acl=auto
#2436
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
base: main
Are you sure you want to change the base?
Conversation
Add https://github.com/eclipse-iceoryx/iceoryx/releases/tag/v2.95.4 Includes patches for these PRs: * eclipse-iceoryx/iceoryx#2371 * eclipse-iceoryx/iceoryx#2433 * eclipse-iceoryx/iceoryx#2436 * eclipse-iceoryx/iceoryx#2437 * eclipse-iceoryx/iceoryx#2439 Added `test_targets` in presubmit as well, except for those that are failing due to lack of resources in ci
# Here we turn on the setting for Linux in this repo. Downstream consumers are unaffected. | ||
build:linux --//:feature_acl=True |
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.
I'm not sure I like this approach. It changes the semantics since this file is only respected for the iceoryx repository. For our users that means that ACL is now suddenly deactivated by default. What's wrong with the previous approach?
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.
As mentioned in the ticket, the previous approach caused broken builds in CIs such as ours and the Bazel BCR where libacl is not installed on the host (and should not be).
As you mentioned that Bazel is only really supported from the upcoming 3.0 version I feel this default isn't set in stone, wdyt?
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.
It's not set in stone, but since bazel was not supported in v2.0, quite a lot of our users which need bazel are already using v2.95. I know especially about users who are still using the WORKSPACE approach with bazel 6.2, that's why I'm more concerned with that one and I think we didn't silently break anything for them with the recent PRs. This one would be a silent break since libacl would not be used anymore by default.
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.
It could be added to the change log / release notes and then it's not as silent anymore ;)
Add https://github.com/eclipse-iceoryx/iceoryx/releases/tag/v2.95.4 Includes patches for these PRs: * eclipse-iceoryx/iceoryx#2371 * eclipse-iceoryx/iceoryx#2433 * eclipse-iceoryx/iceoryx#2436 * eclipse-iceoryx/iceoryx#2437 * eclipse-iceoryx/iceoryx#2439 Added `test_targets` in presubmit as well, except for those that are failing due to lack of resources in ci
Add https://github.com/eclipse-iceoryx/iceoryx/releases/tag/v2.95.4 Includes patches for these PRs: * eclipse-iceoryx/iceoryx#2371 * eclipse-iceoryx/iceoryx#2433 * eclipse-iceoryx/iceoryx#2436 * eclipse-iceoryx/iceoryx#2437 * eclipse-iceoryx/iceoryx#2439 Added `test_targets` in presubmit as well, except for those that are failing due to lack of resources in ci
Notes for Reviewer
Remove
--//:feature_acl=auto
as it breaks hermeticity in downstream consumers.This turns
//:feature_acl
into a bool setting (ie the functionality is still there!)Holding off with the changelog commit to avoid merge conflicts
Since
iceoryx/.bazelrc
Line 1 in 2d58766
build:linux --//:feature_acl=True
and it will have exactly the same effect when building iceoryx as root repo (i.e. not being used as library)Pre-Review Checklist for the PR Author
iox-123-this-is-a-branch
)iox-#123 commit text
)task-list-completed
)Checklist for the PR Reviewer
iceoryx_hoofs
have been added to./clang-tidy-diff-scans.txt
Post-review Checklist for the PR Author
References
--//:feature_acl=off
#2434