Repository navigation
test: document %{bin} and %{bin-available} behavior lock-kind contexts - #14736
Merged
Merged
Conversation
Collaborator
|
|
Contributor
Author
Agreed over DMs with Ali that this is still useful to have. Asserting that the PATH changes are as expected would be a useful addition to the tests. I'll work on this, and update the tests. |
punchagan
force-pushed
the
cram-bin-pform-lock-context
branch
from
May 27, 2026 10:45
75e0bfe to
34bdd2c
Compare
Alizter
reviewed
May 27, 2026
punchagan
force-pushed
the
cram-bin-pform-lock-context
branch
2 times, most recently
from
May 27, 2026 11:44
9aebb01 to
3eb7b30
Compare
punchagan
marked this pull request as ready for review
May 27, 2026 11:44
Alizter
reviewed
May 27, 2026
punchagan
force-pushed
the
cram-bin-pform-lock-context
branch
2 times, most recently
from
May 27, 2026 13:56
9c5ce5d to
3d23b96
Compare
This test aims to capture the current behavior when expanding %{bin} and
%{bin-available} pforms in the Lock-kind context. The expansion
currently depends on `Pkg_rules.which` that currently scans every locked
package's binary index. So, any binary installed by any locked package
is discoverable from any stanza.
But, this dependency also means that expanding these pforms has a
dependency on building all the lockdir packages which is one of the
problems to be fixed in ocaml#8652
Signed-off-by: Puneeth Chaganti <[email protected]>
punchagan
force-pushed
the
cram-bin-pform-lock-context
branch
from
May 27, 2026 13:58
3d23b96 to
3cb93e5
Compare
Alizter
approved these changes
May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This test aims to capture the current behavior when expanding %{bin} and
%{bin-available} pforms in the Lock-kind context. The expansion
currently depends on
Pkg_rules.whichthat currently scans every lockedpackage's binary index. So, any binary installed by any locked package
is discoverable from any stanza.
But, this dependency also means that expanding these pforms has a
dependency on building all the lockdir packages which is one of the
problems to be fixed in #8652