Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/source/basic_concepts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,12 @@ Rez finds packages using a search path in much the same way that python finds py

If the same package appears in two or more repositories on the search path, the earlier package is
used in preference. This happens at the version level. For example an earlier package ``foo-1.0.0``
will hide a later package ``foo-1.0.0``, but not ``foo-1.2.0``.
will hide a later package ``foo-1.0.0``, but not ``foo-1.2.0``. This also means that Rez does not combine
variants from identical package versions across repositories, nor fall back to a later repository
when the earlier package has no compatible variant. For example, a local ``foo-1.0.0`` containing
only a Linux variant hides a released ``foo-1.0.0`` containing a Windows variant, even when resolving
on Windows. To exclude locally installed packages from a resolve, use the :option:`rez-env --no-local`
option.

The example search path shown is a typical setting. There are some central repositories later in the
search path, where packages are released to so everyone can use them. But there is also a local
Expand Down