iox-#2434: Remove --//:feature_acl=auto#2436
iox-#2434: Remove --//:feature_acl=auto#2436lalten wants to merge 1 commit intoeclipse-iceoryx:mainfrom
--//:feature_acl=auto#2436Conversation
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.
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.
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.
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.
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=autoas it breaks hermeticity in downstream consumers.This turns
//:feature_aclinto 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=Trueand 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_hoofshave been added to./clang-tidy-diff-scans.txtPost-review Checklist for the PR Author
References
--//:feature_acl=off#2434