Skip to content

allow lock-merge for entries with no recipe revisions - #20557

Open
memsharded wants to merge 1 commit into
conan-io:develop2from
memsharded:fix/lockfile_no_rrev
Open

memsharded wants to merge 1 commit into
conan-io:develop2from
memsharded:fix/lockfile_no_rrev

Conversation

@memsharded

Copy link
Copy Markdown
Member

Changelog: Fix: Allow conan lock merge to merge lockfiles with entries with and without recipe-revisions, taking the recipe revision one as the merged one.
Docs: https://github.com/conan-io/docs/pull/XXXX

Close #20551

@czoido czoido added this to the 2.35.0 milestone Nov 27, 2026
independently of the order
"""
with_rev = [["zlib/1.3.1#rev1", {"pid1": "prev1"}]]
no_rev = ["zlib/1.3.1"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another test that shows that with_rev without pids and no_rev with [["zlib/1.3.1", {"pid1": "prev1"}]] would result in the same [('zlib/1.3.1#rev1', {'pid1': 'prev1'})] as now would be nice

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] conan lock merge drops recipe revisions depending on --lockfile order when merging a revisionless reference

4 participants