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

Add 'opam pin --current' #4973

Merged
merged 6 commits into from
Jan 4, 2022
Merged

Add 'opam pin --current' #4973

merged 6 commits into from
Jan 4, 2022

Conversation

AltGr
Copy link
Member

@AltGr AltGr commented Dec 21, 2021

This is related to the refactoring of the orphan package handling
(bridging a gap that used to be overcome by brittle magic, allowing an
orphan package to be kept on dependent actions);

but it's an independent feature in itself, so filing this PR
independently.

Also included the reftests ports here because it's lighter than the
other PR, makes more sense in the history ordering and I didn't want
to go as far as making a third PR just for the tests then waiting for
it to be merged first.

Ported in #4979

master_changes.md Outdated Show resolved Hide resolved
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.

@AltGr would it be possible to use your own opam fork instead of OCamlPro’s to enable other people to rebase your PRs next time?

I’ve read through the rebased diff (master...kit-ty-kate:pin-current) and it looks good to me.

Good to merge once rebased.

@kit-ty-kate kit-ty-kate closed this Jan 3, 2022
@kit-ty-kate kit-ty-kate reopened this Jan 3, 2022
@rjbou
Copy link
Collaborator

rjbou commented Jan 3, 2022

Updated with new test

@rjbou rjbou changed the title Add 'opam pin --current', port tests from reftests Add 'opam pin --current' Jan 4, 2022
@kit-ty-kate kit-ty-kate merged commit 82d3060 into ocaml:master Jan 4, 2022
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.

opam pin --current <pkg>
3 participants