Skip to content

lock: fix pin-depends with with- variables#5471

Merged
rjbou merged 2 commits intoocaml:masterfrom
rjbou:pin-depends-test
Feb 21, 2025
Merged

lock: fix pin-depends with with- variables#5471
rjbou merged 2 commits intoocaml:masterfrom
rjbou:pin-depends-test

Conversation

@rjbou
Copy link
Copy Markdown
Collaborator

@rjbou rjbou commented Mar 9, 2023

fix #5428

@rjbou rjbou added the KIND: BUG label Mar 9, 2023
@rjbou rjbou marked this pull request as draft July 10, 2024 14:16
@rjbou rjbou marked this pull request as ready for review November 22, 2024 17:42
Copy link
Copy Markdown
Member

@kit-ty-kate kit-ty-kate left a comment

Choose a reason for hiding this comment

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

lgtm apart from this small suggestion

### opam lock tolock
Generated lock files for:
- tolock.dev: ${BASEDIR}/tolock.opam.locked
### opam-cat tolock.opam.locked
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.

cat would be way more readable

Suggested change
### opam-cat tolock.opam.locked
### cat tolock.opam.locked

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

opam-cat is used to avoid having the test change in case the format/padding on an opam file printer changes, the order of fields, etc. It's a reproducible way to print opam file in reftest when we care only about the content.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

opam lock does not include pin-depends for with-test dependencies

2 participants