Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spack: add recent stable releases #1442

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 46 additions & 2 deletions repos.d/spack.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,53 @@
###########################################################################
# Spack
###########################################################################
{% macro spack(branch, data_ref, minpackages) %}
- name: spack_{{branch|replace('.', '_')|replace('v', '')}}
type: repository
desc: Spack version {{branch}}
statsgroup: spack
family: spack
ruleset: spack
color: "0f3a80"
minpackages: {{minpackages}}
default_maintainer: fallback-mnt-spack@repology
sources:
- name: repology.json
fetcher:
class: FileFetcher
url: https://raw.githubusercontent.com/Pandaipip1/packages.spack.io/{{data_ref}}/data/repology.json
allow_zero_size: false
parser:
class: SpackJsonParser
repolinks:
- desc: Spack Catalog
url: https://spack.github.io/packages.spack.io/
- desc: Spack GitHub repository
url: https://github.com/spack/spack
packagelinks:
- type: PACKAGE_HOMEPAGE
url: 'https://spack.github.io/packages.spack.io/package.html?name={srcname}'
- type: PACKAGE_SOURCES
url: 'https://github.com/spack/spack/tree/{{branch}}/var/spack/repos/builtin/packages/{srcname}'
- type: PACKAGE_RECIPE
url: 'https://github.com/spack/spack/blob/{{branch}}/var/spack/repos/builtin/packages/{srcname}/package.py'
- type: PACKAGE_RECIPE_RAW
url: 'https://raw.githubusercontent.com/spack/spack/{{branch}}/var/spack/repos/builtin/packages/{srcname}/package.py'
- type: PACKAGE_PATCH
url: 'https://github.com/spack/spack/blob/{{branch}}/var/spack/repos/builtin/packages/{srcname}/{?patch}'
- type: PACKAGE_PATCH_RAW
url: 'https://raw.githubusercontent.com/spack/spack/{{branch}}/var/spack/repos/builtin/packages/{srcname}/{?patch}'
groups: [ all, production, spack ]
{% endmacro %}

{{ spack('v0.22.2', data_ref='edb236320c277c096afa4f15a4d2055047790009', minpackages=5000 }}
{{ spack('v0.22.1', data_ref='991586b552b0d4536cde4afa3d1fbef6b66233d8', minpackages=5000 }}
{{ spack('v0.22.0', data_ref='124cf71850d5ae7ca5d120fe1616f3300cf5c822', minpackages=5000 }}

- name: spack
type: repository
desc: Spack
desc: Spack Rolling
statsgroup: spack
family: spack
ruleset: spack
color: "0f3a80"
Expand Down Expand Up @@ -35,4 +79,4 @@
url: 'https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/{srcname}/{?patch}'
- type: PACKAGE_PATCH_RAW
url: 'https://raw.githubusercontent.com/spack/spack/develop/var/spack/repos/builtin/packages/{srcname}/{?patch}'
groups: [ all, production ]
groups: [ all, production, spack ]
Loading