From 1273b8085cc29d11938959015bf45cf5ee3576ac Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Wed, 25 Jan 2023 12:27:27 +0800 Subject: [PATCH 01/14] Fix release preamble --- .../vala-language-server-nightly/update.rhai | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/anda/tools/vala-language-server-nightly/update.rhai b/anda/tools/vala-language-server-nightly/update.rhai index e0a8ec4eed..4defb55957 100644 --- a/anda/tools/vala-language-server-nightly/update.rhai +++ b/anda/tools/vala-language-server-nightly/update.rhai @@ -1,11 +1,7 @@ -let req = new_req("https://api.github.com/repos/vala-lang/vala-language-server/commits/HEAD"); -req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`); -let _sha = json(req.get()) @ "sha"; -let sha = _sha.str(); -let cur = find("%global commit (.+)", rpm.f, 1); -if sha != cur { - print(`vala-language-server-nightly: ${cur} -> ${sha}`); - rpm.f = sub("%global commit (.+)", `%global commit ${sha}`, rpm.f); -} else { - print("vala-language-server-nightly: Up to date!"); +if filters.contains("nightly") { + let req = new_req("https://api.github.com/repos/vala-lang/vala-language-server/commits/HEAD"); + req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`); + let sha = json(req.get()).sha; + rpm.global("commit", sha); + rpm.release(); } From 58f2e1038125ee76a083b429e7aff48cf4924045 Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Wed, 25 Jan 2023 12:29:12 +0800 Subject: [PATCH 02/14] manual update --- anda/apps/discord-openasar/discord-openasar.spec | 5 ++--- anda/dart/dart.spec | 5 ++--- anda/lib/libhelium/libhelium.spec | 5 ++--- anda/python/ruff/python3-ruff.spec | 5 ++--- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/anda/apps/discord-openasar/discord-openasar.spec b/anda/apps/discord-openasar/discord-openasar.spec index fb31529e88..cd1401d4a0 100644 --- a/anda/apps/discord-openasar/discord-openasar.spec +++ b/anda/apps/discord-openasar/discord-openasar.spec @@ -1,9 +1,8 @@ %define debug_package %{nil} Name: discord-openasar -Version: 0.0.38 -Release: 4%{?dist} -Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming +Version: 0.0.24 +Release: 1%{?dist}Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming License: MIT and https://discord.com/terms URL: https://github.com/GooseMod/OpenAsar Source0: https://dl.discordapp.net/apps/linux/%{version}/discord-%{version}.tar.gz diff --git a/anda/dart/dart.spec b/anda/dart/dart.spec index d02af7138b..31c60fb525 100644 --- a/anda/dart/dart.spec +++ b/anda/dart/dart.spec @@ -1,7 +1,6 @@ Name: dart -Version: 2.18.7 -Release: 1%{?dist} -Summary: The Dart Language +Version: 2.19.0 +Release: 1%{?dist}Summary: The Dart Language License: BSD-3-Clause URL: https://dart.dev/ diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index 6e794627e9..bfc94a1d7f 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -1,8 +1,7 @@ Summary: The Application Framework for tauOS apps Name: libhelium -Version: 1.2.99 -Release: 1%{?dist} -License: GPLv3 +Version: 1.3.1 +Release: 1%{?dist}License: GPLv3 URL: https://github.com/tau-OS/libhelium Source0: https://github.com/tau-OS/libhelium/archive/refs/tags/%{version}.tar.gz diff --git a/anda/python/ruff/python3-ruff.spec b/anda/python/ruff/python3-ruff.spec index 2118218fd2..3a322604e0 100644 --- a/anda/python/ruff/python3-ruff.spec +++ b/anda/python/ruff/python3-ruff.spec @@ -1,9 +1,8 @@ %define debug_package %{nil} Name: python3-ruff -Version: 0.0.229 -Release: %autorelease -Summary: An extremely fast Python linter, written in Rust +Version: 0.0.233 +Release: 1%{?dist}Summary: An extremely fast Python linter, written in Rust License: MIT URL: https://github.com/charliermarsh/ruff Source0: %{url}/archive/refs/tags/v%{version}.tar.gz From 8786e37858c15e6b54d6df119678f06fc7baee9f Mon Sep 17 00:00:00 2001 From: Raboneko Date: Wed, 25 Jan 2023 07:24:55 +0000 Subject: [PATCH 03/14] Automatic Update: discord-openasar dart libhelium tau-helium ruff --- anda/others/tau-helium/tau-helium.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/anda/others/tau-helium/tau-helium.spec b/anda/others/tau-helium/tau-helium.spec index 18ee7c5e93..c82df81faa 100644 --- a/anda/others/tau-helium/tau-helium.spec +++ b/anda/others/tau-helium/tau-helium.spec @@ -1,8 +1,7 @@ Summary: tauOS GTK/GNOME Shell Themes Name: tau-helium -Version: 1.1.100 -Release: 1%{?dist} -License: GPLv3 +Version: 1.2.5 +Release: 1%{?dist}License: GPLv3 URL: https://github.com/tau-OS/tau-helium Source0: https://github.com/tau-OS/tau-helium/archive/refs/tags/%{version}.tar.gz BuildArch: noarch From d91d544959848ea487588d56c620375ff76064fa Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Wed, 25 Jan 2023 15:46:53 +0800 Subject: [PATCH 04/14] Quick disable --- .github/workflows/{update.yml => update.yml.bak} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{update.yml => update.yml.bak} (97%) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml.bak similarity index 97% rename from .github/workflows/update.yml rename to .github/workflows/update.yml.bak index de4c9550b1..525328d37a 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml.bak @@ -27,7 +27,7 @@ jobs: chmod 0700 ${{ runner.temp }}/signing_key - name: Run Update (anda) - run: anda update -vv + run: anda update -vvv env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 7e430589bf44fcc0d8e95fca381b68b209ed8b2c Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Wed, 25 Jan 2023 15:49:32 +0800 Subject: [PATCH 05/14] Revert "Automatic Update: discord-openasar dart libhelium tau-helium ruff" This reverts commit 3f152af8dcda083b4f006d697958229422b05cfb. --- anda/apps/discord-openasar/discord-openasar.spec | 5 +++-- anda/dart/dart.spec | 5 +++-- anda/lib/libhelium/libhelium.spec | 5 +++-- anda/others/tau-helium/tau-helium.spec | 5 +++-- anda/python/ruff/python3-ruff.spec | 5 +++-- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/anda/apps/discord-openasar/discord-openasar.spec b/anda/apps/discord-openasar/discord-openasar.spec index cd1401d4a0..fb31529e88 100644 --- a/anda/apps/discord-openasar/discord-openasar.spec +++ b/anda/apps/discord-openasar/discord-openasar.spec @@ -1,8 +1,9 @@ %define debug_package %{nil} Name: discord-openasar -Version: 0.0.24 -Release: 1%{?dist}Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming +Version: 0.0.38 +Release: 4%{?dist} +Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming License: MIT and https://discord.com/terms URL: https://github.com/GooseMod/OpenAsar Source0: https://dl.discordapp.net/apps/linux/%{version}/discord-%{version}.tar.gz diff --git a/anda/dart/dart.spec b/anda/dart/dart.spec index 31c60fb525..d02af7138b 100644 --- a/anda/dart/dart.spec +++ b/anda/dart/dart.spec @@ -1,6 +1,7 @@ Name: dart -Version: 2.19.0 -Release: 1%{?dist}Summary: The Dart Language +Version: 2.18.7 +Release: 1%{?dist} +Summary: The Dart Language License: BSD-3-Clause URL: https://dart.dev/ diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index bfc94a1d7f..6e794627e9 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -1,7 +1,8 @@ Summary: The Application Framework for tauOS apps Name: libhelium -Version: 1.3.1 -Release: 1%{?dist}License: GPLv3 +Version: 1.2.99 +Release: 1%{?dist} +License: GPLv3 URL: https://github.com/tau-OS/libhelium Source0: https://github.com/tau-OS/libhelium/archive/refs/tags/%{version}.tar.gz diff --git a/anda/others/tau-helium/tau-helium.spec b/anda/others/tau-helium/tau-helium.spec index c82df81faa..18ee7c5e93 100644 --- a/anda/others/tau-helium/tau-helium.spec +++ b/anda/others/tau-helium/tau-helium.spec @@ -1,7 +1,8 @@ Summary: tauOS GTK/GNOME Shell Themes Name: tau-helium -Version: 1.2.5 -Release: 1%{?dist}License: GPLv3 +Version: 1.1.100 +Release: 1%{?dist} +License: GPLv3 URL: https://github.com/tau-OS/tau-helium Source0: https://github.com/tau-OS/tau-helium/archive/refs/tags/%{version}.tar.gz BuildArch: noarch diff --git a/anda/python/ruff/python3-ruff.spec b/anda/python/ruff/python3-ruff.spec index 3a322604e0..2118218fd2 100644 --- a/anda/python/ruff/python3-ruff.spec +++ b/anda/python/ruff/python3-ruff.spec @@ -1,8 +1,9 @@ %define debug_package %{nil} Name: python3-ruff -Version: 0.0.233 -Release: 1%{?dist}Summary: An extremely fast Python linter, written in Rust +Version: 0.0.229 +Release: %autorelease +Summary: An extremely fast Python linter, written in Rust License: MIT URL: https://github.com/charliermarsh/ruff Source0: %{url}/archive/refs/tags/v%{version}.tar.gz From ecdbf2fe3e54ed429184900a575dc80455d9aaa7 Mon Sep 17 00:00:00 2001 From: lleyton Date: Wed, 25 Jan 2023 01:41:23 -0800 Subject: [PATCH 06/14] Re-enable autoupdate --- .github/workflows/{update.yml.bak => update.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{update.yml.bak => update.yml} (100%) diff --git a/.github/workflows/update.yml.bak b/.github/workflows/update.yml similarity index 100% rename from .github/workflows/update.yml.bak rename to .github/workflows/update.yml From 91f74740bf0cbbc3afef8d45b39a1f74dddf7f61 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Wed, 25 Jan 2023 09:42:58 +0000 Subject: [PATCH 07/14] Automatic Update: discord-openasar dart libhelium tau-helium ruff --- anda/apps/discord-openasar/discord-openasar.spec | 5 ++--- anda/dart/dart.spec | 5 ++--- anda/lib/libhelium/libhelium.spec | 5 ++--- anda/others/tau-helium/tau-helium.spec | 5 ++--- anda/python/ruff/python3-ruff.spec | 5 ++--- 5 files changed, 10 insertions(+), 15 deletions(-) diff --git a/anda/apps/discord-openasar/discord-openasar.spec b/anda/apps/discord-openasar/discord-openasar.spec index fb31529e88..cd1401d4a0 100644 --- a/anda/apps/discord-openasar/discord-openasar.spec +++ b/anda/apps/discord-openasar/discord-openasar.spec @@ -1,9 +1,8 @@ %define debug_package %{nil} Name: discord-openasar -Version: 0.0.38 -Release: 4%{?dist} -Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming +Version: 0.0.24 +Release: 1%{?dist}Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming License: MIT and https://discord.com/terms URL: https://github.com/GooseMod/OpenAsar Source0: https://dl.discordapp.net/apps/linux/%{version}/discord-%{version}.tar.gz diff --git a/anda/dart/dart.spec b/anda/dart/dart.spec index d02af7138b..31c60fb525 100644 --- a/anda/dart/dart.spec +++ b/anda/dart/dart.spec @@ -1,7 +1,6 @@ Name: dart -Version: 2.18.7 -Release: 1%{?dist} -Summary: The Dart Language +Version: 2.19.0 +Release: 1%{?dist}Summary: The Dart Language License: BSD-3-Clause URL: https://dart.dev/ diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index 6e794627e9..bfc94a1d7f 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -1,8 +1,7 @@ Summary: The Application Framework for tauOS apps Name: libhelium -Version: 1.2.99 -Release: 1%{?dist} -License: GPLv3 +Version: 1.3.1 +Release: 1%{?dist}License: GPLv3 URL: https://github.com/tau-OS/libhelium Source0: https://github.com/tau-OS/libhelium/archive/refs/tags/%{version}.tar.gz diff --git a/anda/others/tau-helium/tau-helium.spec b/anda/others/tau-helium/tau-helium.spec index 18ee7c5e93..c82df81faa 100644 --- a/anda/others/tau-helium/tau-helium.spec +++ b/anda/others/tau-helium/tau-helium.spec @@ -1,8 +1,7 @@ Summary: tauOS GTK/GNOME Shell Themes Name: tau-helium -Version: 1.1.100 -Release: 1%{?dist} -License: GPLv3 +Version: 1.2.5 +Release: 1%{?dist}License: GPLv3 URL: https://github.com/tau-OS/tau-helium Source0: https://github.com/tau-OS/tau-helium/archive/refs/tags/%{version}.tar.gz BuildArch: noarch diff --git a/anda/python/ruff/python3-ruff.spec b/anda/python/ruff/python3-ruff.spec index 2118218fd2..3a322604e0 100644 --- a/anda/python/ruff/python3-ruff.spec +++ b/anda/python/ruff/python3-ruff.spec @@ -1,9 +1,8 @@ %define debug_package %{nil} Name: python3-ruff -Version: 0.0.229 -Release: %autorelease -Summary: An extremely fast Python linter, written in Rust +Version: 0.0.233 +Release: 1%{?dist}Summary: An extremely fast Python linter, written in Rust License: MIT URL: https://github.com/charliermarsh/ruff Source0: %{url}/archive/refs/tags/v%{version}.tar.gz From 38fc6784b69343161926e321b0b20cf3ba3cbe22 Mon Sep 17 00:00:00 2001 From: Lleyton Gray Date: Wed, 25 Jan 2023 01:44:29 -0800 Subject: [PATCH 08/14] Revert "Automatic Update: discord-openasar dart libhelium tau-helium ruff" This reverts commit 5a09b3fda428618af29847bf13fa3ff2f415e6bb. --- anda/apps/discord-openasar/discord-openasar.spec | 5 +++-- anda/dart/dart.spec | 5 +++-- anda/lib/libhelium/libhelium.spec | 5 +++-- anda/others/tau-helium/tau-helium.spec | 5 +++-- anda/python/ruff/python3-ruff.spec | 5 +++-- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/anda/apps/discord-openasar/discord-openasar.spec b/anda/apps/discord-openasar/discord-openasar.spec index cd1401d4a0..fb31529e88 100644 --- a/anda/apps/discord-openasar/discord-openasar.spec +++ b/anda/apps/discord-openasar/discord-openasar.spec @@ -1,8 +1,9 @@ %define debug_package %{nil} Name: discord-openasar -Version: 0.0.24 -Release: 1%{?dist}Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming +Version: 0.0.38 +Release: 4%{?dist} +Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming License: MIT and https://discord.com/terms URL: https://github.com/GooseMod/OpenAsar Source0: https://dl.discordapp.net/apps/linux/%{version}/discord-%{version}.tar.gz diff --git a/anda/dart/dart.spec b/anda/dart/dart.spec index 31c60fb525..d02af7138b 100644 --- a/anda/dart/dart.spec +++ b/anda/dart/dart.spec @@ -1,6 +1,7 @@ Name: dart -Version: 2.19.0 -Release: 1%{?dist}Summary: The Dart Language +Version: 2.18.7 +Release: 1%{?dist} +Summary: The Dart Language License: BSD-3-Clause URL: https://dart.dev/ diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index bfc94a1d7f..6e794627e9 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -1,7 +1,8 @@ Summary: The Application Framework for tauOS apps Name: libhelium -Version: 1.3.1 -Release: 1%{?dist}License: GPLv3 +Version: 1.2.99 +Release: 1%{?dist} +License: GPLv3 URL: https://github.com/tau-OS/libhelium Source0: https://github.com/tau-OS/libhelium/archive/refs/tags/%{version}.tar.gz diff --git a/anda/others/tau-helium/tau-helium.spec b/anda/others/tau-helium/tau-helium.spec index c82df81faa..18ee7c5e93 100644 --- a/anda/others/tau-helium/tau-helium.spec +++ b/anda/others/tau-helium/tau-helium.spec @@ -1,7 +1,8 @@ Summary: tauOS GTK/GNOME Shell Themes Name: tau-helium -Version: 1.2.5 -Release: 1%{?dist}License: GPLv3 +Version: 1.1.100 +Release: 1%{?dist} +License: GPLv3 URL: https://github.com/tau-OS/tau-helium Source0: https://github.com/tau-OS/tau-helium/archive/refs/tags/%{version}.tar.gz BuildArch: noarch diff --git a/anda/python/ruff/python3-ruff.spec b/anda/python/ruff/python3-ruff.spec index 3a322604e0..2118218fd2 100644 --- a/anda/python/ruff/python3-ruff.spec +++ b/anda/python/ruff/python3-ruff.spec @@ -1,8 +1,9 @@ %define debug_package %{nil} Name: python3-ruff -Version: 0.0.233 -Release: 1%{?dist}Summary: An extremely fast Python linter, written in Rust +Version: 0.0.229 +Release: %autorelease +Summary: An extremely fast Python linter, written in Rust License: MIT URL: https://github.com/charliermarsh/ruff Source0: %{url}/archive/refs/tags/v%{version}.tar.gz From 575b7c5e1f1a2f3d57bf525b777128740f6b9419 Mon Sep 17 00:00:00 2001 From: Lleyton Gray Date: Wed, 25 Jan 2023 01:45:37 -0800 Subject: [PATCH 09/14] Revert "Re-enable autoupdate" This reverts commit 9160d4f5907088b1fc43d71861021c241082a88c. --- .github/workflows/{update.yml => update.yml.bak} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{update.yml => update.yml.bak} (100%) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml.bak similarity index 100% rename from .github/workflows/update.yml rename to .github/workflows/update.yml.bak From e9d86c23a5dff2a74692c72599281897401fc898 Mon Sep 17 00:00:00 2001 From: Lleyton Gray Date: Wed, 25 Jan 2023 02:00:47 -0800 Subject: [PATCH 10/14] Revert "Revert "Re-enable autoupdate"" This reverts commit c1fbae38c8852235ce481f44733f6a29e5752da2. --- .github/workflows/{update.yml.bak => update.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{update.yml.bak => update.yml} (100%) diff --git a/.github/workflows/update.yml.bak b/.github/workflows/update.yml similarity index 100% rename from .github/workflows/update.yml.bak rename to .github/workflows/update.yml From de55c13f985de3f8cdbb0c205cdae2006af95e70 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Wed, 25 Jan 2023 10:02:54 +0000 Subject: [PATCH 11/14] Automatic Update: discord-openasar dart libhelium tau-helium ruff --- anda/apps/discord-openasar/discord-openasar.spec | 4 ++-- anda/dart/dart.spec | 2 +- anda/lib/libhelium/libhelium.spec | 2 +- anda/others/tau-helium/tau-helium.spec | 2 +- anda/python/ruff/python3-ruff.spec | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/anda/apps/discord-openasar/discord-openasar.spec b/anda/apps/discord-openasar/discord-openasar.spec index fb31529e88..cae317c2ee 100644 --- a/anda/apps/discord-openasar/discord-openasar.spec +++ b/anda/apps/discord-openasar/discord-openasar.spec @@ -1,8 +1,8 @@ %define debug_package %{nil} Name: discord-openasar -Version: 0.0.38 -Release: 4%{?dist} +Version: 0.0.24 +Release: 1%{?dist} Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming License: MIT and https://discord.com/terms URL: https://github.com/GooseMod/OpenAsar diff --git a/anda/dart/dart.spec b/anda/dart/dart.spec index d02af7138b..c792361eb0 100644 --- a/anda/dart/dart.spec +++ b/anda/dart/dart.spec @@ -1,5 +1,5 @@ Name: dart -Version: 2.18.7 +Version: 2.19.0 Release: 1%{?dist} Summary: The Dart Language License: BSD-3-Clause diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index 6e794627e9..24715a04dc 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -1,6 +1,6 @@ Summary: The Application Framework for tauOS apps Name: libhelium -Version: 1.2.99 +Version: 1.3.1 Release: 1%{?dist} License: GPLv3 URL: https://github.com/tau-OS/libhelium diff --git a/anda/others/tau-helium/tau-helium.spec b/anda/others/tau-helium/tau-helium.spec index 18ee7c5e93..33ae0e70e5 100644 --- a/anda/others/tau-helium/tau-helium.spec +++ b/anda/others/tau-helium/tau-helium.spec @@ -1,6 +1,6 @@ Summary: tauOS GTK/GNOME Shell Themes Name: tau-helium -Version: 1.1.100 +Version: 1.2.5 Release: 1%{?dist} License: GPLv3 URL: https://github.com/tau-OS/tau-helium diff --git a/anda/python/ruff/python3-ruff.spec b/anda/python/ruff/python3-ruff.spec index 2118218fd2..4d3d0cf8a9 100644 --- a/anda/python/ruff/python3-ruff.spec +++ b/anda/python/ruff/python3-ruff.spec @@ -1,8 +1,8 @@ %define debug_package %{nil} Name: python3-ruff -Version: 0.0.229 -Release: %autorelease +Version: 0.0.233 +Release: 1%{?dist} Summary: An extremely fast Python linter, written in Rust License: MIT URL: https://github.com/charliermarsh/ruff From c169bb3b68056871f26041d466b02f1cd829b548 Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Thu, 26 Jan 2023 00:48:48 +0800 Subject: [PATCH 12/14] Small autoupdate fix --- .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 525328d37a..de4c9550b1 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -27,7 +27,7 @@ jobs: chmod 0700 ${{ runner.temp }}/signing_key - name: Run Update (anda) - run: anda update -vvv + run: anda update -vv env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From f16898a6b274952501b05a74bf87110a8d82338f Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Thu, 26 Jan 2023 00:47:23 +0800 Subject: [PATCH 13/14] Add nightly update pipeline --- .github/workflows/update-nightly.yml | 41 ++++++++++++++++++++++++++++ .github/workflows/update.yml | 2 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/update-nightly.yml diff --git a/.github/workflows/update-nightly.yml b/.github/workflows/update-nightly.yml new file mode 100644 index 0000000000..b04b131756 --- /dev/null +++ b/.github/workflows/update-nightly.yml @@ -0,0 +1,41 @@ +name: Automatic Nightly Update +on: + schedule: + - cron: "@daily" + workflow_dispatch: + +jobs: + autoupdate: + runs-on: ubuntu-latest + container: + image: ghcr.io/terrapkg/builder:main + options: --cap-add=SYS_ADMIN --privileged + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 2 + ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }} + + - name: Install SSH signing key + run: | + mkdir -p ${{ runner.temp }} + echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key + chmod 0700 ${{ runner.temp }}/signing_key + + - name: Run Nightly Update + run: anda update -vv --filters nightly=1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Save + run: | + git config --global --add safe.directory "*" + 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" + git commit -S -a -m "Automatic Update: $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')" + git push -u origin main + fi diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index de4c9550b1..bfeb235fb5 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -26,7 +26,7 @@ jobs: echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key chmod 0700 ${{ runner.temp }}/signing_key - - name: Run Update (anda) + - name: Run Update run: anda update -vv env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From f577fd6f2a9fa341ff7063a6dad1c6259b7ed7f7 Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Thu, 26 Jan 2023 00:54:45 +0800 Subject: [PATCH 14/14] Remove lorax spec file (hope it works this time) --- anda/tools/lorax/lorax.spec | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 anda/tools/lorax/lorax.spec diff --git a/anda/tools/lorax/lorax.spec b/anda/tools/lorax/lorax.spec deleted file mode 100644 index e69de29bb2..0000000000