Skip to content
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

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

Merged
merged 2 commits into from
Feb 21, 2025
Merged

Conversation

rjbou
Copy link
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
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
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
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