spack/lib/spack
Massimiliano Culpo 53ae969aa0
Lock, database and store don't need global configuration on construction (#33495)
Lock objects can now be instantiated independently,
without being tied to the global configuration. The
same is true for database and store objects.

The database __init__ method has been simplified to
take a single lock configuration object. Some common
lock configurations (e.g. NO_LOCK or NO_TIMEOUT) have
been named and are provided as globals.

The use_store context manager keeps the configuration
consistent by pushing and popping an internal scope.
It can also be tuned by passing extra data to set up
e.g. upstreams or anything else that might be related
to the store.
2023-07-17 16:51:04 +02:00
..
docs Lock, database and store don't need global configuration on construction (#33495) 2023-07-17 16:51:04 +02:00
env cc: Ensure that user-specified flags take precedence over others (#37376) 2023-06-18 14:07:08 -07:00
external Drop Python 2 object subclassing (#38720) 2023-07-05 14:37:44 +02:00
llnl Lock, database and store don't need global configuration on construction (#33495) 2023-07-17 16:51:04 +02:00
spack Lock, database and store don't need global configuration on construction (#33495) 2023-07-17 16:51:04 +02:00
spack_installable license year bump (#34921) 2023-01-18 14:30:17 -08:00