diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-08-09 00:24:54 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-08-09 00:24:54 -0700 |
commit | 102ac7bcf1bc7fd134b10a9c54e40302d4f1345b (patch) | |
tree | 0eeacca085a0bbbe59f4636a79cc5a7377b7d80f /etc | |
parent | 2042e9a6d85d02adc9424ce6f973e17341ebb292 (diff) | |
download | spack-102ac7bcf1bc7fd134b10a9c54e40302d4f1345b.tar.gz spack-102ac7bcf1bc7fd134b10a9c54e40302d4f1345b.tar.bz2 spack-102ac7bcf1bc7fd134b10a9c54e40302d4f1345b.tar.xz spack-102ac7bcf1bc7fd134b10a9c54e40302d4f1345b.zip |
Move provider cache to home directory and refactor Transactions
Major stuff:
- Created a FileCache for managing user cache files in Spack. Currently just
handles virtuals.
- Moved virtual cache from the repository to the home directory so that users do
not need write access to Spack repositories to use them.
- Refactored `Transaction` class in `database.py` -- moved it to
`LockTransaction` in `lock.py` and made it reusable by other classes.
Other additions:
- Added tests for file cache and transactions.
- Added a few more tests for database
- Fixed bug in DB where writes could happen even if exceptions were raised
during a transaction.
- `spack uninstall` now attempts to repair the database when it discovers that a
prefix doesn't exist but a DB record does.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions