Skip to content

Commit

Permalink
Add section titles
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Jan 12, 2025
1 parent 2a18906 commit 9ecf0ad
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions doc/how-to-freeze-versions.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. _freeze-versions:

How to control versions
=======================

Expand All @@ -14,21 +12,35 @@ Version constraints
Within a project, version constraints for dependencies limit the versions
that the solver can pick.

Curated sets
Curated version sets
A project can import curated sets of packages and versions that are known to
work together, such as those Stackage provides for Cabal's use.

Pinning Hackage versions
Capped repository versions
Adding ``index-state`` to a project limits versions coming from Hackage to
include only those that were available at the cutoff time.

Freezing
Frozen versions
Pins the versions picked by the solver for all dependencies. This is a way
to preserve a set of versions found by the solver, a solver-curated set, if
you will.

Freezing versions
-----------------
Version ranges
--------------

Version constraints
-------------------

Curated version sets
--------------------

Capped repository versions
--------------------------

.. _freeze-versions:

Frozen versions
---------------

Pinning adds a version equality constraint for each package in the set of
project dependencies, explicit and transitive. The ``cabal freeze`` command
Expand Down

0 comments on commit 9ecf0ad

Please sign in to comment.