Skip to content

Commit 9ecf0ad

Browse files
committed
Add section titles
1 parent 2a18906 commit 9ecf0ad

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

doc/how-to-freeze-versions.rst

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.. _freeze-versions:
2-
31
How to control versions
42
=======================
53

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

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

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

25-
Freezing
23+
Frozen versions
2624
Pins the versions picked by the solver for all dependencies. This is a way
2725
to preserve a set of versions found by the solver, a solver-curated set, if
2826
you will.
2927

30-
Freezing versions
31-
-----------------
28+
Version ranges
29+
--------------
30+
31+
Version constraints
32+
-------------------
33+
34+
Curated version sets
35+
--------------------
36+
37+
Capped repository versions
38+
--------------------------
39+
40+
.. _freeze-versions:
41+
42+
Frozen versions
43+
---------------
3244

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

0 commit comments

Comments
 (0)