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

Make use of pin-depends #69

Open
rgrinberg opened this issue Sep 13, 2021 · 2 comments
Open

Make use of pin-depends #69

rgrinberg opened this issue Sep 13, 2021 · 2 comments

Comments

@rgrinberg
Copy link
Contributor

Opam has [this field] to allow users to set the archive url for a package in development. It would be nice to make use of it when generating the opam selection.

@timbertson
Copy link
Owner

I haven't used this feature, so I'm not too familiar.

pin-depends: are NOT transitive, that is, pin-depends: of packages getting pinned through pin-depends: are ignored

So it sound like it's only supposed to apply to the toplevel package? And should it apply when the package is coming from the repo, or only when it's an out-of-repo opam file?

@rgrinberg
Copy link
Contributor Author

So it sound like it's only supposed to apply to the toplevel package?

Yes, although I'm skeptical of this limitation. I would not mind if it's not implemented.

And should it apply when the package is coming from the repo, or only when it's an out-of-repo opam file?

The latter. Although it doesn't matter much in practice as opam-repository contains no packages with pin-depends set.

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

No branches or pull requests

2 participants