-
Notifications
You must be signed in to change notification settings - Fork 22
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
Remove name and version from opam files before publication? #28
Comments
This idea doesn't seem to take into account the signing stuff (@hannesm). Rather I would argue that tooling like opam-publish should automatically add these so that the versions we have in the repositories don't get out of sync. |
I think while people shouldn't be bothered with manually inserting version numbers and names, opam files should actually contain these (by using some automation, such as opam publish). this would also simplify opam to only have to take a single metadata file into account, and not trying to inferring implicit information from path structures... |
Cross-referencing ocaml/opam#2320 (comment) |
Hi regarding this discussion, it seems that |
Fixed in current version. Thanks! @grayswandyr |
opam
package files in directory repositories get their name and version from the directory structure rather than the metadata file.opam
files in package development repositories use these fields to make pinning easier. There is a gestating policy to havename
andversion
removed inopam
files submitted to ocaml/opam-repository. It would be nice to have these fields automatically removed byopam publish
.The text was updated successfully, but these errors were encountered: