summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2022-02-04 20:31:39 +0100
committerGitHub <noreply@github.com>2022-02-04 19:31:39 +0000
commit73077f3a67011818ef503b660af8cd251839f92f (patch)
treef8431b635fa8c96372addb22c96e6b82d1861d76 /.github
parent5881a03408df63e07d1f02ac0840a751a4936b10 (diff)
downloadspack-73077f3a67011818ef503b660af8cd251839f92f.tar.gz
spack-73077f3a67011818ef503b660af8cd251839f92f.tar.bz2
spack-73077f3a67011818ef503b660af8cd251839f92f.tar.xz
spack-73077f3a67011818ef503b660af8cd251839f92f.zip
database: fix reindex with uninstalled deps (#28764)
* Fix reindex with uninstalled deps When a prefix of a dep is removed, and the db is reindexed, it is added through the dependent, but until now it incorrectly listed the spec as 'installed'. There was also some questionable behavior in the db when the same spec was added multiple times, it would always be marked installed. * Always reserve path * Only add installed spec's prefixes to install prefixes set * Improve warning, and ensure ensure only ensures * test: reindex with every file system remnant removed except for the old index; it should give a database with nothing installed, including records with installed==False,external==False,ref_count==0,explicit=True, and these should be removable from the database
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions