summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2020-01-27 21:25:23 -0500
committerPeter Scheibel <scheibel1@llnl.gov>2020-01-27 18:25:23 -0800
commitd86816bc1acc1cd8f9abb054ec92fe493ea6ae50 (patch)
tree563670a3fb8d75a8bcb9b91b5454e1b7e01bf0dc /var
parent7badd69d1e652e470eb2b856db97402b9b072d0e (diff)
downloadspack-d86816bc1acc1cd8f9abb054ec92fe493ea6ae50.tar.gz
spack-d86816bc1acc1cd8f9abb054ec92fe493ea6ae50.tar.bz2
spack-d86816bc1acc1cd8f9abb054ec92fe493ea6ae50.tar.xz
spack-d86816bc1acc1cd8f9abb054ec92fe493ea6ae50.zip
Fix: hash-based references to upstream specs (#14629)
Spack commands referring to upstream-installed specs by hash have been broken since 6b619da (merged September 2019), which added a new Database function specifically for parsing hashes from command-line specs; this function was inappropriately attempting to acquire locks on upstream databases. This PR updates the offending function to avoid locking upstream databases and also updates associated tests to catch regression errors: the upstream database created for these tests was not explicitly set as an upstream (i.e. initialized with upstream=True) so it was not guarding against inappropriate accesses.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions