From 8f41dc3aec7decacdc6b510bed6acf381bc183df Mon Sep 17 00:00:00 2001 From: Package Update Checker <> Date: Fri, 28 Oct 2022 18:09:51 +0000 Subject: [PATCH 1/7] Automatic Update --- anda/games/prismlauncher-nightly/prismlauncher-nightly.spec | 2 +- .../prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index 44d2e6dde1..8e0fab2739 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -2,7 +2,7 @@ %global real_name prismlauncher %global repo https://github.com/%{fancy_name}/%{fancy_name} -%global commit f229574758871d7e95c835c3ec026635799c7015 +%global commit e885f3c26a030d093e2c7e60770c069e4d958cff %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2 %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f diff --git a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec index db4ecd990b..bef4abd575 100644 --- a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec +++ b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec @@ -2,7 +2,7 @@ %global real_name prismlauncher %global repo https://github.com/%{fancy_name}/%{fancy_name} -%global commit f229574758871d7e95c835c3ec026635799c7015 +%global commit e885f3c26a030d093e2c7e60770c069e4d958cff %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2 %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f From 199b67dce7c55ec9b3b54fb17e84545f56c57953 Mon Sep 17 00:00:00 2001 From: Package Update Checker <> Date: Fri, 28 Oct 2022 20:08:36 +0000 Subject: [PATCH 2/7] Automatic Update --- anda/games/prismlauncher-nightly/prismlauncher-nightly.spec | 2 +- .../prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index 8e0fab2739..befac68f3e 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -2,7 +2,7 @@ %global real_name prismlauncher %global repo https://github.com/%{fancy_name}/%{fancy_name} -%global commit e885f3c26a030d093e2c7e60770c069e4d958cff +%global commit 150a3adaafa3f795b0a8c65dca730f5ff5271041 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2 %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f diff --git a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec index bef4abd575..f2e9aecece 100644 --- a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec +++ b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec @@ -2,7 +2,7 @@ %global real_name prismlauncher %global repo https://github.com/%{fancy_name}/%{fancy_name} -%global commit e885f3c26a030d093e2c7e60770c069e4d958cff +%global commit 150a3adaafa3f795b0a8c65dca730f5ff5271041 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2 %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f From 7843bdae759668c065b701f6141f2563a024db14 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 28 Oct 2022 19:47:55 -0400 Subject: [PATCH 3/7] [primslauncher-nightly] epic comment fail (#17) --- anda/games/prismlauncher-nightly/chkupdate.py | 2 +- anda/games/prismlauncher-qt5-nightly/chkupdate.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/games/prismlauncher-nightly/chkupdate.py b/anda/games/prismlauncher-nightly/chkupdate.py index 9cae9fd94b..fd7409d4ba 100644 --- a/anda/games/prismlauncher-nightly/chkupdate.py +++ b/anda/games/prismlauncher-nightly/chkupdate.py @@ -10,7 +10,7 @@ REGEX_SHA = r'%global commit (.+)' SPEC = f"{NAME}.spec" LINK = f'https://api.github.com/repos/{REPO}/commits/HEAD' -#if datetime.utcnow().hour != 0: exit(f'{NAME}: skipping update check') +if datetime.utcnow().hour != 0: exit(f'{NAME}: skipping update check') sha = requests.get(LINK).json()['sha'] f = open(SPEC, 'r') diff --git a/anda/games/prismlauncher-qt5-nightly/chkupdate.py b/anda/games/prismlauncher-qt5-nightly/chkupdate.py index 71ef61410c..bfaeedc8d7 100644 --- a/anda/games/prismlauncher-qt5-nightly/chkupdate.py +++ b/anda/games/prismlauncher-qt5-nightly/chkupdate.py @@ -10,7 +10,7 @@ REGEX_SHA = r'%global commit (.+)' SPEC = f"{NAME}.spec" LINK = f'https://api.github.com/repos/{REPO}/commits/HEAD' -#if datetime.utcnow().hour != 0: exit(f'{NAME}: skipping update check') +if datetime.utcnow().hour != 0: exit(f'{NAME}: skipping update check') sha = requests.get(LINK).json()['sha'] f = open(SPEC, 'r') From 0c8de1aaf1b040789e19ae3c9edac8ac9af62bb3 Mon Sep 17 00:00:00 2001 From: Package Update Checker <> Date: Sat, 29 Oct 2022 00:33:39 +0000 Subject: [PATCH 4/7] Automatic Update --- anda/games/prismlauncher-nightly/prismlauncher-nightly.spec | 2 +- .../prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index befac68f3e..2dec1897d1 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -2,7 +2,7 @@ %global real_name prismlauncher %global repo https://github.com/%{fancy_name}/%{fancy_name} -%global commit 150a3adaafa3f795b0a8c65dca730f5ff5271041 +%global commit 177f17450a6436e4a6d73d5b5ed3558c0aa64c2e %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2 %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f diff --git a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec index f2e9aecece..6e2e523f52 100644 --- a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec +++ b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec @@ -2,7 +2,7 @@ %global real_name prismlauncher %global repo https://github.com/%{fancy_name}/%{fancy_name} -%global commit 150a3adaafa3f795b0a8c65dca730f5ff5271041 +%global commit 177f17450a6436e4a6d73d5b5ed3558c0aa64c2e %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2 %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f From f0306c9c8c921843b40f56ef460e64312cb24361 Mon Sep 17 00:00:00 2001 From: Package Update Checker <> Date: Sun, 30 Oct 2022 00:44:49 +0000 Subject: [PATCH 5/7] Automatic Update --- anda/games/prismlauncher-nightly/prismlauncher-nightly.spec | 2 +- .../prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index 2dec1897d1..4157548a9e 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -2,7 +2,7 @@ %global real_name prismlauncher %global repo https://github.com/%{fancy_name}/%{fancy_name} -%global commit 177f17450a6436e4a6d73d5b5ed3558c0aa64c2e +%global commit 87b0d3fe11c1134bf17e1027fda7125f77e09821 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2 %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f diff --git a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec index 6e2e523f52..45158c8506 100644 --- a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec +++ b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec @@ -2,7 +2,7 @@ %global real_name prismlauncher %global repo https://github.com/%{fancy_name}/%{fancy_name} -%global commit 177f17450a6436e4a6d73d5b5ed3558c0aa64c2e +%global commit 87b0d3fe11c1134bf17e1027fda7125f77e09821 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2 %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f From c051ae42f7ce30adde3c856c260f03b3f8559904 Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Sun, 30 Oct 2022 14:33:24 +0800 Subject: [PATCH 6/7] make update workflow show changed pkgs --- .github/workflows/update.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 5837f29940..4b4efe86c1 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -35,7 +35,8 @@ jobs: if [[ `git status --porcelain` ]]; then git config user.name "Package Update Checker" git config user.email "<>" - git commit -a -m "Automatic Update" + git status | grep modified | sed "s@.+/\([^/]+\)/[^/]+\n@\1 @g" > $m + git commit -a -m "Automatic Update: $m" git push -u origin main echo "updated=1" >> $GITHUB_OUTPUT fi From 19d917a52119de62e97ac97c5070ade4a6cf335f Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Sun, 30 Oct 2022 15:58:29 +0800 Subject: [PATCH 7/7] Fix workflow update --- .github/workflows/update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 4b4efe86c1..f9ee58e917 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -35,7 +35,7 @@ jobs: if [[ `git status --porcelain` ]]; then git config user.name "Package Update Checker" git config user.email "<>" - git status | grep modified | sed "s@.+/\([^/]+\)/[^/]+\n@\1 @g" > $m + git status | grep modified | sed -r "s@.+/([^/]+)/[^/]+\n?@\1 @g" | tr -d '\n' > $m git commit -a -m "Automatic Update: $m" git push -u origin main echo "updated=1" >> $GITHUB_OUTPUT