package opam-monorepo

  1. Overview
  2. Docs
Assemble and manage fully vendored Dune repositories

Install

Dune Dependency

Authors

Maintainers

Sources

opam-monorepo-0.2.6.tbz
sha256=834815e601c4af80059a8f62c4674075f20d21aaec73f5165a3bad5362419ce4
sha512=d8511473c0daeb1a41553374da1609963a9cf1a631ab55468f16e228973b3120f6db5debb7db8a01c4a4d1336828f88a656c94bd4b106501cfc98eaf6532aef0

CHANGES.md.html

0.2.6

Added

  • Add a depext subcommand to install the external system dependencies listed in lock file (#207, @samoht)

  • Add the --keep-git-dir flag to the pull command that can be used to keep the [.git] directory after pulling the vendored sources. (#160, @rizo)

Fixed

  • Fix tool name in generated dune file so that it does not refer to the tool as duniverse (#206, @emillon)

0.2.5

Fixed

  • Fix setting OPAMROOT to accept non-default paths (#197, #198, @Leonidas-from-XIV)

  • Fix a bug where opam-monorepo would erase the opam cache by upgrading opam-libs from 2.1~rc2 to 2.1 (#204, @NathanReb)

0.2.4

Added

  • When querying the solver for the local packages, if no explicit version was provided, use the value of the version field in the opam files instead of the default zdev if it is defined (#183, @emillon)

  • Add a -l/--lockfile command line option to explicitly set the lockfile to use or generate in pull or lock (#163, @NathanReb)

  • Honor pin-depends field in opam files. When present, these will be used by the solver (#153, #159, #167, @rizo, @TheLortex, @NathanReb).

Fixed

  • Improve lock performance (about 2x faster) by loading the repository state only once (#188, #192, @emillon)

  • Fix a bug where the dune-project parsing in the pull command would fail if it used CRLF for new lines. (#191, @NathanReb)

  • Simply warn instead of exiting when the dune-project file can't be parsed by pull as it only use it to suggest updating the lang version for convenience (#191, @NathanReb)

  • Fix a bug where pull and lock would expect the lockfile to sit in a different place and pull would fail. pull now simply looks for a .opam.locked file and pulls it unless there are multiple matching files in the repository's root. (#163, @NathanReb)

  • Fix failure when a package is pinned to a specific commit. lock now skips resolution when the ref is actually a commit pointed by a remote branch or when it looks like a commit (hexadecimal characters only, at least 7 characters-long). (#195, fixes #127, @TheLortex)

0.2.3

Fixed

  • Fix compat with opam 2.1.0~rc2 by upgrading vendored opam libs

0.2.2

Added

  • Add --ocaml-version argument to lock: it allows to determine the ocaml version in the lockfile that's being generated (#161, @pitag-ha)

Changed

  • Exclude packages depending on jbuilder from the lock step. Since dune 2.0, jbuild files are not supported. A new --allow-jbuilder option have been added to enable the old behavior.

  • Recognize packages with an optional dependency on dune as building with dune. This allows opam-monorepo to rightfully recognize opam-file-format latest versions as building with dune. (#176, @NathanReb)

  • Only print the full list of selected root packages once and only in verbose mode, simply printing the number in the default logs. (#173, @NathanReb)

  • Improve the solving process so it only accepts base-compilers unless one explicitly requires a compiler variant, either directly or using ocaml-option-* packages. (#178, @NathanReb)

Fixed

  • Fix the default branch mechanism when the opam remote starts with git+https (#166, @TheLortex)

  • Fix a log that was still refering to the old tool name duniverse (#158, @rizo)

  • Improve how the default branch for a git repository is queried, fixing a bug where opam-monorepo wouldn't work outside of of git repo and a bug where it wouldn't work on non-english systems. (#157, fixes #114, @TheLortex)

0.2.1

Fixed

  • Fix --recurse-opam option for the monorepo lock phase: correctly perform special directory filtering, add an error message when two versions of the same package opam file exist in the source tree, perform package name filtering before checking for uniqueness (#151, @TheLortex)

0.2.0

Changed

  • Include transitive depexts in the lockfile (#144, @NathanReb)

0.1.0

Initial release

OCaml

Innovation. Community. Security.