Skip to content
This repository was archived by the owner on Aug 25, 2022. It is now read-only.

support pin-depends: extend Functoria.package with the optional label…#163

Merged
hannesm merged 1 commit intomirage:masterfrom
hannesm:pin-depend
Nov 16, 2018
Merged

support pin-depends: extend Functoria.package with the optional label…#163
hannesm merged 1 commit intomirage:masterfrom
hannesm:pin-depend

Conversation

@hannesm
Copy link
Copy Markdown
Member

@hannesm hannesm commented Nov 15, 2018

…ed argument

?pin of type string - if set, the generated opam file includes a
pin-depends: [ name pin ] line. During merge of dependencies, a pin wins
over version constraints (min and max).

This allows us to properly specify development packages as dependencies, such as: package ~pin:"git+https://github.com/roburio/udns.git" "udns".

addresses mirage/mirage#499

…ed argument

`?pin` of type string - if set, the generated opam file includes a
`pin-depends: [ name pin ]` line. During `merge` of dependencies, a `pin` wins
over version constraints (`min` and `max`).
@hannesm
Copy link
Copy Markdown
Member Author

hannesm commented Nov 16, 2018

this PR makes my life much easier -- I'm interested in any feedback you may have. if there's no criticism, I'll merge this later today, draft a functoria release, in order to get this within the mirage 3.3.0 release cycle.

@hannesm hannesm mentioned this pull request Nov 16, 2018
30 tasks
@hannesm hannesm merged commit 7c04119 into mirage:master Nov 16, 2018
@hannesm hannesm deleted the pin-depend branch November 16, 2018 14:56
hannesm added a commit to hannesm/opam-repository that referenced this pull request Nov 16, 2018
CHANGES:

* compute all transitive opam dependencies for info (mirage/functoria#151, by @hannesm)
* support pin-depends in generated opam file (mirage/functoria#163, by @hannesm)
* use dune as build system (mirage/functoria#158, by @emillon)
* use Ptime for time printing (mirage/functoria#160, by @emillon)
* inject global arguments into generated header (mirage/functoria#159, by @emillon)
* add Functoria_key.add_to_context (mirage/functoria#161, by @emillon)
* output opam2 files (mirage/functoria#157, by @hannesm)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants