A registry is a folder which contains one or several package definitions. When resolving environments, Wiz will parse these directories to gather any definitions available and match the requests.
Several registries may be necessary when a package definitions should overwrite a command or an entire definition in another registry.
A package definition should never overwrite a command or an entire definition within a single registry as the discovery order is not guaranteed.
When a package definition is found in several registries, the latest one is picked, which would imply that the registries are listed in a sensible order to prevent unintuitive results.
When executing Wiz commands, the detected registries and orders will be displayed in the output as follows:
We can use configuration files to define default registries.
Other registries can be used when using the command line tool.
Discovering implicit registries¶
When using the command line tool from a particular location, Wiz will attempt
to discover registries from the current hierarchy structure. It will assume
registries to be in a
>>> cd /project/shot/animation/
>>> wiz list package
Discovered registries will be added to the list of default registries, if available. Definitions in the nearest registry will have priority over definitions deeper down the hierarchy.
It is possible to limit the discovery to a specific folder structure by
discovery_prefix in the configuration file:
discovery_prefix will limit the scope of the discovery. In this
example, the registry discovery will be inactive unless the current directory is
The personal registry contains personal package definitions for development
purposes. It should be located in
The definitions located in the personal registry have priority over all other definitions.