Repository activity
40458 results across all weeks
Avoid redundant comparison during opam switch list-available
I happened to read this line of code during a code stroll. In theory this could be a performance improvement but in practice this has no impact given the typical short input, i just thought it would be nice to have it fixed.
Kate (@kit-ty-kate)Deprecate `libraries:` opam field ?
It is a no-op currently, should we remove it or use it ?
R. Boujbel (@rjbou)Deprecated `syntax:` opam field
It is a no-op currently.
R. Boujbel (@rjbou)Failing switch reinstall no more drop switch layout
Fix #5347
R. Boujbel (@rjbou)Fix a bug that caused a missing depext not to be reported properly
This fixes an intricate bug when a package can't be installed because it depends on a version pinned package who's depexts are unavailable. This should have been reported as a Missing depexts but instead felt into the default case of unavailable_reason_raw and therefore had no explanation to give to the user.
Nathan Rebours (@NathanReb)GHA: Remove now unnecessary git config safe.directory from CI
Queued on:
Kate (@kit-ty-kate)Improve Set.to_string
The old version ran Set.cardinal twice on large sets so I changed it so it is only computed once.
Nathan Rebours (@NathanReb)Make opamfile deprecated fields a no-op
The opam file format still offer some support for deprecated fields (see #7208). Some of these fields as a no-op since the beginning (configure-style), others are no longer used (os:, ocaml-version:) but are still taken into account, etc.
R. Boujbel (@rjbou)No longer change timestamps when copying files
fix #6693
R. Boujbel (@rjbou)Opam should have opam-audit integrated
While discussing at the OCaml workshop 2026, it became clear that the tool opam-audit (https://github.com/hannesm/opam-audit) - which detects known security issues for packages installed in your switch - would be very good if integrated into opam directly.
Hannes Mehnert (@hannesm)Reftest engine update: explicit opamfile & repo updates
This PR changes some reftest engine internals, by requiring to explicit some action an no longer do them implicitly:
R. Boujbel (@rjbou)Reftest: add a opamfile deprecated fields tests
There is some deprecated field, and some of them were no-op since the beginning.
R. Boujbel (@rjbou)Remove dead code in `OpamSwitchState.unavailable_reason_raw`
I wrote tests for all situations that are supposed to be covered by unavailable_reason_raw to show that this change didn't actually impact the ones I removed. They are not handled through this function nowadays because we don't remove packages conflicting with the invariant or the compiler packages from the universe anymore.
Nathan Rebours (@NathanReb)Remove support for old `opam list` depexts querying and allow querying `extra-sources:` field
opam list --columns=depexts(tag) was an accepted syntax to query depexts of a package. It was introduced in #2838 (213c8b1). In #3074, the depext mechanism was completely reworked, this syntax not removed, but there was no backward compatibility maintained.
R. Boujbel (@rjbou)Remove unnecessary set operations in OpamSwitchState.unavailable_reason_raw
This function used to do the following set operations:
Nathan Rebours (@NathanReb)Slightly speedup unknown package and unknown version detection when displaying conflict messages
This is only a performance improvement in theory though. In practice candidates is always small enough that going through it more than once does not matter.
Kate (@kit-ty-kate)Stop opam package installation when a package install fails
Hi everyone,
Antonin Décimo (@MisterDA)Update cmdliner vendor to 2.1.1
Fixes #6849
Brian Ward (@WardBrian)[PoC] Add opam install --fail-fast
Fixes #4629
Kate (@kit-ty-kate)`https://opam.ocaml.org/install.sh` can not be run unattended
The script has --tty argument, and appears to be
Roman Lebedev (@LebedevRI)