Skip to content

cache_indexer: Add support for newest spack buildcache layout v3#1101

Merged
scottwittenburg merged 1 commit intospack:mainfrom
scottwittenburg:fix-cache-indexer-v3
Apr 23, 2025
Merged

cache_indexer: Add support for newest spack buildcache layout v3#1101
scottwittenburg merged 1 commit intospack:mainfrom
scottwittenburg:fix-cache-indexer-v3

Conversation

@scottwittenburg
Copy link
Copy Markdown
Collaborator

Iterates bucket looking for index manifests, rather than the indices themselves. Each manifest is retrieved in order to get the content address of the index, then the url to the index content blob is stored under the "url" key.

Support for v3 is still hidden behind a comment, so one more PR to switch that commenting is required to actualy change from v2 to v3.

Iterates bucket looking for index manifests, rather than the indices
themselves.  Each manifest is retrieved in order to get the content
address of the index, then the url to the index content blob is stored
under the "url" key.

Support for v3 is still hidden behind a comment, so one more PR to
switch that commenting is required to actualy change from v2 to v3.
@scottwittenburg scottwittenburg merged commit a2294da into spack:main Apr 23, 2025
15 checks passed
@scottwittenburg scottwittenburg deleted the fix-cache-indexer-v3 branch April 23, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants