diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2019-10-25 07:10:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-25 07:10:03 -0700 |
commit | ebeb1ed62f8ac2a765213d872811eac7bac101c1 (patch) | |
tree | 9b64d785de2633fea52629acda00ec93783758b1 /.travis.yml | |
parent | dbee91f7f1616113e21ebc5e186f0f66bfc21a9c (diff) | |
download | spack-ebeb1ed62f8ac2a765213d872811eac7bac101c1.tar.gz spack-ebeb1ed62f8ac2a765213d872811eac7bac101c1.tar.bz2 spack-ebeb1ed62f8ac2a765213d872811eac7bac101c1.tar.xz spack-ebeb1ed62f8ac2a765213d872811eac7bac101c1.zip |
bugfix: reindexing is not necessary for DB v0.9.3 to v5 upgrade (#13434)
reindexing takes a significant amount of time, and there's no reason to
do it from DB version 0.9.3 to version 5. The only difference is that v5
can contain "deprecated_for" fields.
- [x] Add a `_skip_reindex` list at the start of `database.py`
- [x] Skip the reindex for upgrades in this list. The new version will
just be written to the file the first time we actually have to write
the DB out (e.g., after an install), and reads will still work fine.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions