Skip to content

Commit

Permalink
add subrepo label (#2893)
Browse files Browse the repository at this point in the history
* add subrepo label

* refactor: update package labels to use 'subrepo' instead of 'extra'
  • Loading branch information
korewaChino authored Jan 8, 2025
1 parent 7971629 commit 437ecb5
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ jobs:
subatomic-cli upload --prune \
--server https://subatomic.fyralabs.com \
--token ${{ secrets.SUBATOMIC_TOKEN }} \
terra${{ matrix.version }}${{ matrix.pkg.labels['extra'] && '-extras' }} anda-build/rpm/rpms/*
terra${{ matrix.version }}${{ matrix.pkg.labels['subrepo'] && '-${{ matrix.pkg.labels.subrepo }}' || '' }} anda-build/rpm/rpms/*
- name: Upload source packages to subatomic
if: github.event_name == 'push'
run: |
subatomic-cli upload --prune \
--server https://subatomic.fyralabs.com \
--token ${{ secrets.SUBATOMIC_TOKEN }} \
terra${{ matrix.version }}${{ matrix.pkg.labels['extra'] && '-extras' }}-source anda-build/rpm/srpm/*
terra${{ matrix.version }}${{ matrix.pkg.labels['subrepo'] && '-${{ matrix.pkg.labels.subrepo }}' || '' }}-source anda-build/rpm/srpm/*
- name: Notify Madoguchi (Success)
if: success() && github.event_name == 'push'
Expand Down
2 changes: 1 addition & 1 deletion anda/apps/switcheroo-control/anda.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ project pkg {
spec = "switcheroo-control.spec"
}
labels {
extra = 1
subrepo = "extras"
}
}
2 changes: 1 addition & 1 deletion anda/desktops/gnome/gnome-shell/anda.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ project pkg {
spec = "gnome-shell.spec"
}
labels {
extra = 1
subrepo = "extras"
}
}
2 changes: 1 addition & 1 deletion anda/desktops/kde/kf6-kio/anda.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ project pkg {
spec = "kf6-kio.spec"
}
labels {
extra = 1
subrepo = "extras"
}
}
2 changes: 1 addition & 1 deletion anda/games/gamescope/anda.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ project pkg {
spec = "gamescope.spec"
}
labels {
extra = 1
subrepo = "extras"
}
}
3 changes: 1 addition & 2 deletions anda/lib/mesa/anda.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ project pkg {
}
labels {

extra = 1
subrepo = "mesa"
}
arches = ["x86_64", "i386", "aarch64"]
}
2 changes: 1 addition & 1 deletion anda/lib/openh264/anda.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ project pkg {
spec = "openh264.spec"
}
labels {
extra = 1
subrepo = "extras"
}
}
2 changes: 1 addition & 1 deletion anda/multimedia/carla/anda.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ project pkg {
}
labels {
nightly = 1
extra = 1
subrepo = "extras"
}
}
2 changes: 1 addition & 1 deletion anda/multimedia/rtaudio/anda.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ project pkg {
}
labels {
nightly = 1
extra = 1
subrepo = "extras"
}
}
2 changes: 1 addition & 1 deletion anda/multimedia/zrythm/anda.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ project pkg {
spec = "zrythm.spec"
}
labels {
extra = 1
subrepo = "extras"
}
}

0 comments on commit 437ecb5

Please sign in to comment.