-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[new release] opam-monorepo (0.3.0) #21236
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,54 @@ | ||||||||||||||||||||||||||||||||||||||||
opam-version: "2.0" | ||||||||||||||||||||||||||||||||||||||||
synopsis: "Assemble and manage fully vendored Dune repositories" | ||||||||||||||||||||||||||||||||||||||||
description: """ | ||||||||||||||||||||||||||||||||||||||||
The opam monorepo plugin provides a convenient interface to bridge the | ||||||||||||||||||||||||||||||||||||||||
opam package manager with having a local copy of all the source | ||||||||||||||||||||||||||||||||||||||||
code required to build a project using the dune build tool.""" | ||||||||||||||||||||||||||||||||||||||||
maintainer: ["[email protected]"] | ||||||||||||||||||||||||||||||||||||||||
authors: [ | ||||||||||||||||||||||||||||||||||||||||
"Anil Madhavapeddy" "Nathan Rebours" "Lucas Pluvinage" "Jules Aguillon" | ||||||||||||||||||||||||||||||||||||||||
] | ||||||||||||||||||||||||||||||||||||||||
license: "ISC" | ||||||||||||||||||||||||||||||||||||||||
homepage: "https://github.com/ocamllabs/opam-monorepo" | ||||||||||||||||||||||||||||||||||||||||
doc: "https://ocamllabs.github.io/opam-monorepo" | ||||||||||||||||||||||||||||||||||||||||
bug-reports: "https://github.com/ocamllabs/opam-monorepo/issues" | ||||||||||||||||||||||||||||||||||||||||
depends: [ | ||||||||||||||||||||||||||||||||||||||||
"dune" {>= "2.9"} | ||||||||||||||||||||||||||||||||||||||||
"ocaml" {>= "4.08.0"} | ||||||||||||||||||||||||||||||||||||||||
"odoc" {with-doc} | ||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||||||||
] | ||||||||||||||||||||||||||||||||||||||||
conflicts: [ | ||||||||||||||||||||||||||||||||||||||||
"dune-build-info" {= "2.7.0" | = "2.7.1"} | ||||||||||||||||||||||||||||||||||||||||
"dune-configurator" {= "2.7.0" | = "2.7.1"} | ||||||||||||||||||||||||||||||||||||||||
] | ||||||||||||||||||||||||||||||||||||||||
dev-repo: "git+https://github.com/ocamllabs/opam-monorepo.git" | ||||||||||||||||||||||||||||||||||||||||
build: [ "dune" "build" "-p" name "-j" jobs "@install" "@runtest" {with-test} ] | ||||||||||||||||||||||||||||||||||||||||
flags: [ plugin ] | ||||||||||||||||||||||||||||||||||||||||
depexts: [ | ||||||||||||||||||||||||||||||||||||||||
["devel/pkgconf"] {os = "openbsd"} | ||||||||||||||||||||||||||||||||||||||||
["pkg-config"] {os-family = "debian"} | ||||||||||||||||||||||||||||||||||||||||
["pkg-config"] {os = "macos" & os-distribution = "homebrew"} | ||||||||||||||||||||||||||||||||||||||||
["pkgconf"] {os = "freebsd"} | ||||||||||||||||||||||||||||||||||||||||
["pkgconf"] {os-distribution = "alpine"} | ||||||||||||||||||||||||||||||||||||||||
["pkgconf"] {os-distribution = "arch"} | ||||||||||||||||||||||||||||||||||||||||
["pkgconf-pkg-config"] {os-distribution = "fedora"} | ||||||||||||||||||||||||||||||||||||||||
["pkgconf-pkg-config"] {os-distribution = "mageia"} | ||||||||||||||||||||||||||||||||||||||||
["pkgconf-pkg-config"] {os-distribution = "centos" & os-version >= "8"} | ||||||||||||||||||||||||||||||||||||||||
["pkgconf-pkg-config"] {os-distribution = "ol" & os-version >= "8"} | ||||||||||||||||||||||||||||||||||||||||
["pkgconf-pkg-config"] {os-distribution = "rhel" & os-version >= "8"} | ||||||||||||||||||||||||||||||||||||||||
["pkgconfig"] {os-distribution = "nixos"} | ||||||||||||||||||||||||||||||||||||||||
["pkgconfig"] {os = "macos" & os-distribution = "macports"} | ||||||||||||||||||||||||||||||||||||||||
["pkgconfig"] {os-distribution = "centos" & os-version <= "7"} | ||||||||||||||||||||||||||||||||||||||||
["pkgconfig"] {os-distribution = "ol" & os-version <= "7"} | ||||||||||||||||||||||||||||||||||||||||
["pkgconfig"] {os-distribution = "rhel" & os-version <= "7"} | ||||||||||||||||||||||||||||||||||||||||
["system:pkgconf"] {os = "win32" & os-distribution = "cygwinports"} | ||||||||||||||||||||||||||||||||||||||||
] | ||||||||||||||||||||||||||||||||||||||||
Comment on lines
+27
to
+45
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||||||||||||||||||
url { | ||||||||||||||||||||||||||||||||||||||||
src: | ||||||||||||||||||||||||||||||||||||||||
"https://github.com/ocamllabs/opam-monorepo/releases/download/0.3.0/opam-monorepo-0.3.0.tbz" | ||||||||||||||||||||||||||||||||||||||||
checksum: [ | ||||||||||||||||||||||||||||||||||||||||
"sha256=82e8241a5ff0e82cbbff28f1a41e77adc92bb544f62d5eb9ba6e7842e75a7e5c" | ||||||||||||||||||||||||||||||||||||||||
"sha512=3bb39cdaa257e22744b4349a0788286943fb47997d2e79f52c7497f936998f08e87d33e3637f58b62589cf4ef2c6b3547bbd66208e3c48085a1776fef59f5bbf" | ||||||||||||||||||||||||||||||||||||||||
] | ||||||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||||||
x-commit-hash: "268f77993146d83951dbc139147dc801cea8517c" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Argh that's ocamlformat reformatting it this way. I'm afraid we'll have to abort this release and start again!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an issue somewhere tracking this bug?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not an ocamlformat-per-se bug. It just defaults to format for the currently active OCaml version (I assume) and we didn't tell it to stay 4.08 compatible: tarides/opam-monorepo#287
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah I see. I was unaware of the
ocaml-version
optionThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m still considering this somewhat of a bug personally and I opened a PR here to avoid this issue in the future: ocaml-ppx/ocamlformat#2064