chore(sync): frawhide -> f41 (#2614)

This commit is contained in:
madomado
2024-12-14 15:25:43 +08:00
committed by GitHub
parent 9b3a84fd5d
commit 3130ce49e6
35 changed files with 200 additions and 64 deletions
+4 -3
View File
@@ -40,7 +40,7 @@ jobs:
strategy:
matrix:
pkg: ${{ fromJson(needs.manifest.outputs.build_matrix) }}
version: ["41"]
version: ["rawhide"]
fail-fast: false
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-latest' }}
container:
@@ -55,6 +55,7 @@ jobs:
- name: Checkout latest Mock configs
uses: actions/checkout@v4
with:
fetch-depth: 0
repository: terrapkg/mock-configs
path: mock-configs
@@ -94,7 +95,7 @@ jobs:
subatomic-cli upload --prune \
--server https://subatomic.fyralabs.com \
--token ${{ secrets.SUBATOMIC_TOKEN }} \
terra${{ matrix.version }} anda-build/rpm/rpms/*
terra${{ matrix.version }}${{ matrix.pkg.labels['extra'] && '-extras' }} anda-build/rpm/rpms/*
- name: Upload source packages to subatomic
if: github.event_name == 'push'
@@ -102,7 +103,7 @@ jobs:
subatomic-cli upload --prune \
--server https://subatomic.fyralabs.com \
--token ${{ secrets.SUBATOMIC_TOKEN }} \
terra${{ matrix.version }}-source anda-build/rpm/srpm/*
terra${{ matrix.version }}${{ matrix.pkg.labels['extra'] && '-extras' }}-source anda-build/rpm/srpm/*
- name: Notify Madoguchi (Success)
if: success() && github.event_name == 'push'
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
options: --cap-add=SYS_ADMIN --privileged
steps:
- name: Install repositories
run: dnf5 install -y --setopt=install_weak_deps=False mock curl wget git-core openssl-devel-engine cargo podman fuse-overlayfs
run: dnf5 install -y --setopt=install_weak_deps=False mock curl wget git-core openssl-devel cargo podman fuse-overlayfs
- name: Install Anda
run: cargo install anda
+54
View File
@@ -0,0 +1,54 @@
name: Update per branch
on:
schedule:
- cron: "*/30 * * * *"
workflow_dispatch:
jobs:
autoupdate:
runs-on: ubuntu-latest
strategy:
matrix:
branch:
- frawhide
- f40
- f41
- el10
container:
image: ghcr.io/terrapkg/builder:frawhide
options: --cap-add=SYS_ADMIN --privileged
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
fetch-depth: 0
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
- name: Install SSH signing key & Set up git repository
run: |
mkdir -p ${{ runner.temp }}
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
chmod 0700 ${{ runner.temp }}/signing_key
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Run Update
run: |
nbranch="${{ matrix.branch }}"
[ "$nbranch" = 'frawhide' ] && nbranch='f42'
anda update -vv --filters updbranch=1 --labels branch=${{ matrix.branch }},nbranch=$nbranch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUST_BACKTRACE: full
- name: Save
run: |
if [[ `git status --porcelain` ]]; then
git config user.name "Raboneko"
git config user.email "raboneko@fyralabs.com"
git config gpg.format "ssh"
git config user.signingkey "${{ runner.temp }}/signing_key"
msg="bump(branch): $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')"
git commit -S -a -m "$msg"
git push -u origin --all
fi
+1
View File
@@ -6,6 +6,7 @@ on:
- frawhide
- f41
- f40
- el10
paths:
- comps.xml
workflow_dispatch:
+6 -5
View File
@@ -25,9 +25,10 @@ jobs:
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Run Nightly Update
run: anda update -vv --filters nightly=1
run: anda update -v --filters nightly=1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUST_BACKTRACE: full
- name: Save
run: |
@@ -38,15 +39,15 @@ jobs:
git config user.signingkey "${{ runner.temp }}/signing_key"
msg="bump(nightly): $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')"
git commit -S -a -m "$msg"
git format-patch HEAD^
copy_over () {
git format-patch HEAD^
git checkout $1
git apply *.patch || true
rm *.patch
git add *
git add anda
git commit -S -a -m "$msg"
}
copy_over f39 || true
copy_over f40 || true
copy_over f41 || true
copy_over el10 || true
git push -u origin --all
fi
+53
View File
@@ -0,0 +1,53 @@
name: Weekly Update
on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
jobs:
autoupdate:
runs-on: ubuntu-latest
container:
image: ghcr.io/terrapkg/builder:frawhide
options: --cap-add=SYS_ADMIN --privileged
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
- name: Install SSH signing key & Set up git repository
run: |
mkdir -p ${{ runner.temp }}
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
chmod 0700 ${{ runner.temp }}/signing_key
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Run Weekly Update
run: anda update -v --filters weekly=1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUST_BACKTRACE: full
- name: Save
run: |
if [[ `git status --porcelain` ]]; then
git config user.name "Raboneko"
git config user.email "raboneko@fyralabs.com"
git config gpg.format "ssh"
git config user.signingkey "${{ runner.temp }}/signing_key"
msg="bump(weekly): $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')"
git commit -S -a -m "$msg"
git format-patch HEAD^
copy_over () {
git checkout $1
git apply *.patch || true
git add anda
git commit -S -a -m "$msg"
}
copy_over f40 || true
copy_over f41 || true
copy_over el10 || true
git push -u origin --all
fi
+5 -5
View File
@@ -25,7 +25,7 @@ jobs:
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Run Update
run: anda update -vv --filters nightly=0
run: anda update -v --excludes nightly=1 --excludes weekly=1 --excludes updbranch=1
env:
GITHUB_TOKEN: ${{ secrets.AUTOUPDATE_GH_TOKEN }}
RUST_BACKTRACE: full
@@ -39,15 +39,15 @@ jobs:
git config user.signingkey "${{ runner.temp }}/signing_key"
msg="bump: $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')"
git commit -S -a -m "$msg"
git format-patch HEAD^
copy_over () {
git format-patch HEAD^
git checkout $1
git apply *.patch || true
rm *.patch
git add *
git add anda
git commit -S -a -m "$msg"
}
copy_over f39 || true
copy_over f40 || true
copy_over f41 || true
copy_over el10 || true
git push -u origin --all
fi
+1 -1
View File
@@ -1,5 +1,5 @@
Name: anki-qt5
Version: 24.06.3
Version: 24.11
Release: 1%?dist
Summary: Flashcard program for using space repetition learning
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
+2 -2
View File
@@ -1,6 +1,6 @@
Name: anki
Version: 24.06.3
Release: 2%?dist
Version: 24.11
Release: 1%?dist
Summary: Flashcard program for using space repetition learning
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
URL: https://apps.ankiweb.net/
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-canary-openasar
Version: 0.0.540
Version: 0.0.546
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
@@ -1,3 +1 @@
let html = get("https://discordapp.com/api/download/canary?platform=linux&format=tar.gz");
let newver = find("https://dl-canary\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1);
rpm.version(newver);
rpm.version(get("https://discord.com/api/canary/updates?platform=linux").json().name);
+1 -1
View File
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-canary
Version: 0.0.540
Version: 0.0.546
Release: 1%?dist
Summary: Free Voice and Text Chat for Gamers
URL: discord.com
+1 -3
View File
@@ -1,3 +1 @@
let html = get("https://discordapp.com/api/download/canary?platform=linux&format=tar.gz");
let newver = find("https://dl-canary\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1);
rpm.version(newver);
rpm.version(get("https://discord.com/api/canary/updates?platform=linux").json().name);
+1 -3
View File
@@ -1,3 +1 @@
let html = get("https://discordapp.com/api/download?platform=linux&format=tar.gz");
let newver = find("https://dl\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1);
rpm.version(newver);
rpm.version(get("https://discord.com/api/stable/updates?platform=linux").json().name);
+1 -3
View File
@@ -1,3 +1 @@
let html = get("https://discordapp.com/api/download/ptb?platform=linux&format=tar.gz");
let newver = find("https://dl-ptb\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1);
rpm.version(newver);
rpm.version(get("https://discord.com/api/ptb/updates?platform=linux").json().name);
+1 -3
View File
@@ -1,3 +1 @@
let html = get("https://discordapp.com/api/download/ptb?platform=linux&format=tar.gz");
let newver = find("https://dl-ptb\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1);
rpm.version(newver);
rpm.version(get("https://discord.com/api/ptb/updates?platform=linux").json().name);
+1 -3
View File
@@ -1,3 +1 @@
let html = get("https://discordapp.com/api/download?platform=linux&format=tar.gz");
let newver = find("https://dl\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1);
rpm.version(newver);
rpm.version(get("https://discord.com/api/stable/updates?platform=linux").json().name);
+2 -2
View File
@@ -14,8 +14,8 @@
%global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so
Name: legcord-bin
Version: 1.0.2
Release: 4%?dist
Version: 1.0.5
Release: 1%?dist
License: OSL-3.0
Summary: Custom lightweight Discord client designed to enhance your experience
URL: https://github.com/LegCord/LegCord
@@ -14,7 +14,7 @@
%global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so
Name: legcord-bin
Version: 1.0.4
Version: 1.0.5
Release: 1%?dist
License: OSL-3.0
Summary: Custom lightweight Discord client designed to enhance your experience
@@ -1,5 +1,5 @@
%global commit 8eaf0854c6fcf38bd0d1e6f58a51c48fa67b078e
%global commit_date 20241130
%global commit 6888db743d73a8cd7fd2b5d035e7025c09148912
%global commit_date 20241213
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%define debug_package %nil
+2 -2
View File
@@ -5,8 +5,8 @@
%global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so
Name: legcord
Version: 1.0.2
Release: 3%?dist
Version: 1.0.5
Release: 1%?dist
License: OSL-3.0
Summary: Custom lightweight Discord client designed to enhance your experience
URL: https://github.com/LegCord/LegCord
+2 -2
View File
@@ -1,6 +1,6 @@
%global commit 5897b66454aab8b846aac00f5854e534ee47dea4
%global commit e52f975842196e1581299312b9c160aa16c81d04
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20241212
%global commit_date 20241214
%global ver 0.39.0
Name: mpv-nightly
+1 -1
View File
@@ -1,4 +1,4 @@
%global ver 2024-12-09
%global ver 2024-12-14
%global goodver %(echo %ver | sed 's/-//g')
%global __brp_mangle_shebangs %{nil}
%bcond_without mold
+2 -2
View File
@@ -1,6 +1,6 @@
%global commit ba65fece7e00b686ada8e918ba9c35fbd7d27cf6
%global commit c83d9387ef3058ffb25ac5cf8a700cbeb9a2d430
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20241212
%global commit_date 20241214
Name: flow-control-nightly
Version: %commit_date.%shortcommit
+2 -2
View File
@@ -1,6 +1,6 @@
%global commit 611abcadc0f82b56188dc439642d1f5fd35cd5bd
%global commit 901dbedf8d022ecb1d355d6aadd3aaeed198dc7d
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20241212
%global commit_date 20241214
%global ver 0.167.0
%bcond_with check
+2 -2
View File
@@ -1,8 +1,8 @@
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
%global commit 9bb7e53e7f56fe3ddaa69849ff663ad18858e038
%global commit d31cce557bc800f61664b7b67faae3ef8d789505
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global ver 2.3.1
%global commit_date 20241212
%global commit_date 20241214
%global debug_package %nil
Name: nim-nightly
-3
View File
@@ -2,7 +2,4 @@ project pkg {
rpm {
spec = "terra-libplacebo.spec"
}
labels {
extra = 1
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
%global commit 437e7f9ab9696d186585f1d466dbdfbf93298804
%global commit 53acb2b5343511432db5aa2091937c3d294c7faa
%global ver 1.8.41
%global commit_date 20240219
%global shortcommit %(c=%{commit}; echo ${c:0:7})
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "arduino-cli.spec"
}
}
+35
View File
@@ -0,0 +1,35 @@
%define _build_shell /bin/bash
%define debug_package %nil
Name: arduino-cli
Version: 1.1.1
Release: 1%?dist
Summary: Arduino command line tool.
License: GPLv3
Packager: Owen Zimmerman <owen@fyralabs.com>
Url: https://github.com/arduino/arduino-cli
Source0: %url/archive/refs/tags/v%version.tar.gz
BuildRequires: golang git go-rpm-macros anda-srpm-macros
%description
%summary
%prep
%autosetup -n arduino-cli-%version
%build
mkdir -p bin
%go_build_online
%install
mkdir -p %{buildroot}%{_bindir}
install -Dm 755 build/bin/arduino-cli %buildroot%{_bindir}/arduino-cli
%files
%license LICENSE.txt
%doc README.md
%{_bindir}/arduino-cli
%changelog
* Thu Dec 5 2024 Owen Zimmerman <owen@fyralabs.com>
- Package arduino-cli
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("arduino/arduino-cli"));
+1 -1
View File
@@ -1 +1 @@
rpm.version(gh("coreboot/coreboot"));
rpm.version(gh_tag("coreboot/coreboot"));
+1 -1
View File
@@ -1,6 +1,6 @@
Name: keyd
Version: 2.4.3
Release: 4%?dist
Release: 1%?dist
Summary: Key remapping daemon for linux
URL: https://github.com/rvaiya/keyd
License: MIT
+2 -2
View File
@@ -1,5 +1,5 @@
%global commit bf273698a9c16c07abc6d54827d976e73eb87e41
%global commit_date 20241212
%global commit 9d884c7ed214cc6aad5f498b53a1253e177239fd
%global commit_date 20241213
%global shortcommit %(c=%{commit}; echo ${C:0:7})
Name: rpi-utils
+3 -3
View File
@@ -1,8 +1,8 @@
#bcond_without tests
%global commit 00dcde728635633eee969ad4d498b9f233c4a94e
%global commit 2037a6414f81db8080ca724dca506fde91974c5d
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20241128
%global ver 2024.11.18
%global commit_date 20241214
%global ver 2024.12.13
Name: yt-dlp-nightly
Version: %commit_date.git~%shortcommit