Skip to content

Make website generation insensitive to buildcache layout#21

Merged
scottwittenburg merged 1 commit intospack:mainfrom
scottwittenburg:layout-agnostic-website
Feb 27, 2025
Merged

Make website generation insensitive to buildcache layout#21
scottwittenburg merged 1 commit intospack:mainfrom
scottwittenburg:layout-agnostic-website

Conversation

@scottwittenburg
Copy link
Copy Markdown
Collaborator

@scottwittenburg scottwittenburg commented Feb 22, 2025

Make website generation insensitive to buildcache layout.

This PR removes any notion of buildcache layout (i.e. build_cache vs v3/specs) from website generation. The is accomplished by the following:

  • Do not presume to assemble the url to the root buildcache for each ref. Instead, take the url of the "root" element provided by the cache indexer, and just replace the s3/bucket prefix with the https/cloudfront prefix.
  • Remove the column with download tarball links from the specs table, as those are not useful without the metadata, and should be downloaded by installing them with spack anyway.

Do not assemble the url to the root buildcache for each ref, instead
take the url of the "root" element provided by the cache indexer, and
just replace the s3-protocol/bucket prefix with the cloudfront https
prefix.

Also remove the column with download tarball links from the specs
table, as those are not useful without the metadata, and should be
downloaded by installing them with spack anyway.
@scottwittenburg scottwittenburg merged commit bf5f0ed into spack:main Feb 27, 2025
@scottwittenburg scottwittenburg deleted the layout-agnostic-website branch February 27, 2025 22:44
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