1.3 (2024-08-19)¶
Environment project configuration¶
A project configuration now supports the
environment
configuration option. A user can use a
dictionary to define environment variables to apply to all stages of a run:
environment = {
'MY_ENV_1': 'First example',
'MY_ENV_2': 'Another example',
}
Support for Cargo packages¶
Support has been added for Cargo-based packages. A package can now
configure LIBFOO_TYPE
to cargo
:
LIBFOO_TYPE = 'cargo'
Dependencies for Cargo packages will be vendored into the local cache directory.
Introducing LIBFOO_NEEDS
¶
releng-tool now supports a LIBFOO_NEEDS
option for
packages:
LIBFOO_NEEDS = [
'liba',
'libb',
]
This aims to replace the LIBFOO_DEPENDENCIES
option for a smaller/simple configuration key. The new configuration acts
the same as the previous. If LIBFOO_NEEDS
is set, the LIBFOO_DEPENDENCIES
option will be ignored. Projects can still use LIBFOO_DEPENDENCIES
for
the interim.