+18
-6
governance/policies/archiving.md
+18
-6
governance/policies/archiving.md
···- The primary opam repository, (referred to here as the "primary repo") is located at [ocaml/opam-repository](https://github.com/ocaml/opam-repository). The primary repo is curated to ensure that compatible packages are co-installable on as many supported platforms as possible, and it is the default package repository.- "Primary repo criteria" refers to the criteria used to decide whether a version of a package is suitable for continued inclusion in the primary repo.-- The archive opam repository, (referred to here as the "archive repo")" is located at [ocaml/opam-repository-archive](https://github.com/ocaml/opam-repository-archive) and records packages that were once in the primary repo, but no longer meet the primary repo criteria.+- The archive opam repository, (referred to here as the "archive repo") is located at [ocaml/opam-repository-archive](https://github.com/ocaml/opam-repository-archive) and records packages that were once in the primary repo, but no longer meet the primary repo criteria.- "Supported platforms" are those listed under [Tier 1 and Tier 2 by the OCaml compiler](https://github.com/ocaml/ocaml?tab=readme-ov-file#overview)- A package's "maximum compiler version" is the upper bound of the OCaml compiler versions supported by a package. Support is derived either based on explicit version bounds set on the `ocaml` dependency in a package's dependency cone, or implicitly based on failed installs detected through our CI and health check processes.- The "compiler cutoff threshold" is an OCaml compiler versions stipulated by the opam repository maintainers. It sets a lower bound on the compiler versions supported by the primary repo.······3. The package version falls within a package's maintenance intent, or is a dependency of a package satisfying the primary repo criteria.4. The package version is installable on at least one of the supported platforms. (Note that it is not required that CI tests are passing, since working installation may require manual system configuration.)-Note that this property is transitive along a package's dependency tree: if a package satisfies the primary repo criteria, then its dependencies do as well.+Note that this property is transitive along a package's dependency tree: if a package satisfies the primary repo criteria, then its dependencies do as well.···When it has been decided that a set of package versions (aka "versions") should be archived, archiving will proceed according to the following process:- Any dependencies without upper bounds will have upper bounds added, recording the latest available version of the dependency in the primary repo at the time of archiving.···- Expresses the declared intent of the maintainers to maintain only certain versions ranges of a package.+- Default value: ["(any)"] on 2025-01-17, please note that this default is expected to change in the future+[^caveat]: note that this will retain the latest versions of this package so that every supported OCaml version will have an installation candidate.- `["(latest)" "(latest-1)"]` the maintainer will only maintain the latest `X.Y.Z` version and `(X-1).Y.Z`- `["(latest)" "(latest).(latest-1)"]` the maintainer will only maintain the latest `X.Y.Z` version and `X.(Y-1).Z`···- `["2.(latest)"]` the maintainer will maintain the latest minor version specifically of version "2" of the package+- Useful for packages that do not specify the `x-maintenance-field` yet, but would like to mark certain pre-releases or old releases as unmaintained, and thus ok for archival+- Also useful if there's need to maintain a specific version (i.e. an OCaml application that is used and maintained which uses a specific package version)+- `false` if this package and version meets the `x-maintenance-intent`, but this version is not maintained and can be archived+- `true # used by @bactrian, added on 2025-01-24` where @bactrian wants to keep this package in the opam-repository