diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2018-12-21 09:10:09 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-12-30 00:19:08 -0800 |
commit | c1d7adaaac1b52ea59fdc7938c0f663fef5743fe (patch) | |
tree | e12e6ea9f47448a0fd928e34e5415bc789ebf94d /.github/ISSUE_TEMPLATE/feature_request.md | |
parent | 527ff860f01de34e34f8c7be8e5682745504d774 (diff) | |
download | spack-c1d7adaaac1b52ea59fdc7938c0f663fef5743fe.tar.gz spack-c1d7adaaac1b52ea59fdc7938c0f663fef5743fe.tar.bz2 spack-c1d7adaaac1b52ea59fdc7938c0f663fef5743fe.tar.xz spack-c1d7adaaac1b52ea59fdc7938c0f663fef5743fe.zip |
repo: refactor indexes to be more extensible
- virtual provider cache and tags were previously generated by nearly
identical but separate methods.
- factor out an Indexer interface for updating repository caches, and
provide implementations for each type of index (TagIndex,
ProviderIndex) so that more can be added if needed.
- Among other things, this allows all indexes to be updated at once.
This is an advantage because loading package files is the real
overhead, and building the indexes once the packages are loaded is
trivial. We avoid extra bulk read-ins by generating all package indexes
at once.
- This can be extended for dependents (reverse dependencies) and patches
later.
Diffstat (limited to '.github/ISSUE_TEMPLATE/feature_request.md')
0 files changed, 0 insertions, 0 deletions