Squashed commit of the following:

commit 4743164d8e
Merge: 5e02037 ef6b7a2
Author: Lains <4886639+lainsce@users.noreply.github.com>
Date:   Wed Dec 7 11:50:00 2022 -0300

    Merge branch 'main' into b/chkupdate

commit ef6b7a2259
Author: Raboneko <raboneko@fyralabs.com>
Date:   Wed Dec 7 14:35:46 2022 +0000

    Automatic Update: prismlauncher-nightly prismlauncher-qt5-nightly

commit 12dc462d95
Author: Raboneko <raboneko@fyralabs.com>
Date:   Wed Dec 7 12:56:37 2022 +0000

    Automatic Update: sccache

commit 5e02037547
Author: windowsboy111 <wboy111@outlook.com>
Date:   Wed Dec 7 15:49:04 2022 +0800

    Delete requirements.txt

    Signed-off-by: windowsboy111 <wboy111@outlook.com>

commit dbb21831c5
Merge: a720cfd aed10b2
Author: lleyton <lleyton@fyralabs.com>
Date:   Tue Dec 6 15:50:10 2022 -0800

    Merge branch 'main' into b/chkupdate

commit aed10b2997
Author: lleyton <lleyton@fyralabs.com>
Date:   Tue Dec 6 15:21:03 2022 -0800

    [packages/libhelium] Fix tau-helium dependency (#62)

    Co-authored-by: Lains <4886639+lainsce@users.noreply.github.com>

commit 389abea4c5
Author: Raboneko <raboneko@fyralabs.com>
Date:   Tue Dec 6 22:12:00 2022 +0000

    Automatic Update: rnote

commit fea46a03f2
Author: Raboneko <raboneko@fyralabs.com>
Date:   Tue Dec 6 20:12:23 2022 +0000

    Automatic Update: prismlauncher-nightly prismlauncher-qt5-nightly

commit 849ef368c7
Author: Raboneko <raboneko@fyralabs.com>
Date:   Tue Dec 6 19:10:44 2022 +0000

    Automatic Update: openasar-canary

commit a720cfdaad
Merge: 519967a e565f09
Author: lleyton <lleyton@fyralabs.com>
Date:   Tue Dec 6 10:27:53 2022 -0800

    Merge branch 'main' into b/chkupdate

commit e565f0980b
Author: Raboneko <raboneko@fyralabs.com>
Date:   Tue Dec 6 18:14:49 2022 +0000

    Automatic Update: discord-ptb

commit 519967a444
Author: windowsboy111 <wboy111@outlook.com>
Date:   Tue Dec 6 22:32:25 2022 +0800

    Delete update.sh

    Signed-off-by: windowsboy111 <wboy111@outlook.com>

commit 2edb2428d8
Merge: 437ed4c 701b26f
Author: windowsboy111 <wboy111@outlook.com>
Date:   Tue Dec 6 22:31:04 2022 +0800

    Merge branch 'main' into b/chkupdate

commit 701b26febf
Author: Raboneko <raboneko@fyralabs.com>
Date:   Tue Dec 6 14:20:34 2022 +0000

    Automatic Update: prismlauncher-nightly prismlauncher-qt5-nightly

commit 437ed4ce34
Author: windowsboy111 <wboy111@outlook.com>
Date:   Tue Dec 6 21:42:52 2022 +0800

    Fix stuff

commit 496f2a6d08
Author: windowsboy111 <wboy111@outlook.com>
Date:   Tue Dec 6 21:42:52 2022 +0800

    Fix stuff

commit 299a7f3807
Author: windowsboy111 <wboy111@outlook.com>
Date:   Tue Dec 6 14:25:17 2022 +0800

    Update update.yml

    Signed-off-by: windowsboy111 <wboy111@outlook.com>

commit c58cba3adf
Merge: 7c15c20 43145fe
Author: windowsboy111 <wboy111@outlook.com>
Date:   Tue Dec 6 06:14:05 2022 +0000

    Merge branch 'main' into b/chkupdate

commit 7c15c204fd
Author: Raboneko <raboneko@fyralabs.com>
Date:   Tue Dec 6 04:13:53 2022 +0000

    Automatic Update: libhelium

commit cc00a586d1
Author: seth <getchoo@tuta.io>
Date:   Mon Dec 5 22:11:42 2022 -0500

    [prismlauncher] support EPEL and F35 (again)

commit c51c562b9b
Author: Raboneko <raboneko@fyralabs.com>
Date:   Tue Dec 6 03:05:47 2022 +0000

    Automatic Update: libhelium

commit 5783fc50de
Author: Raboneko <raboneko@fyralabs.com>
Date:   Tue Dec 6 02:16:18 2022 +0000

    Automatic Update: elementary-camera

commit 49a92c1e2e
Author: Raboneko <raboneko@fyralabs.com>
Date:   Tue Dec 6 00:54:50 2022 +0000

    Automatic Update: prismlauncher-nightly prismlauncher-qt5-nightly moby-compose gcm-core

commit 4849cc2d3f
Author: seth <getchoo@tuta.io>
Date:   Mon Dec 5 23:43:41 2022 +0000

    set strict permissions for signing key

    Signed-off-by: seth <getchoo@tuta.io>

commit 9717f09d20
Author: lleyton <lleyton@fyralabs.com>
Date:   Mon Dec 5 15:19:36 2022 -0800

    runner.temp should exist... why doesn't it? (#57)

commit e7844d5b7d
Author: seth <getchoo@tuta.io>
Date:   Mon Dec 5 03:50:24 2022 -0500

    [openasar-canary] save commit on auto update

    this was an L and i probably need sleep

commit 8cd366eab5
Author: seth <getchoo@tuta.io>
Date:   Mon Dec 5 02:25:07 2022 -0500

    support auto updating more packages

commit adbd9be73c
Author: windowsboy111 <wboy111@outlook.com>
Date:   Mon Dec 5 18:07:46 2022 +0800

    Fix build (#53)

    Signed-off-by: windowsboy111 <wboy111@outlook.com>

    Signed-off-by: windowsboy111 <wboy111@outlook.com>

commit a75aec0f8c
Author: lleyton <lleyton@fyralabs.com>
Date:   Mon Dec 5 02:06:58 2022 -0800

    I regret not using a GPG key (#56)

commit 6e62fec05b
Author: seth <getchoo@tuta.io>
Date:   Mon Dec 5 08:35:19 2022 +0000

    adopt new policies for prismlauncher (#54)

    * [prismlauncher] revise files to better follow fedora guidelines

    * add prismlauncher packages to CODEOWNERS

commit 8a8125db6d
Author: lleyton <lleyton@fyralabs.com>
Date:   Sun Dec 4 15:51:22 2022 -0800

    gpg.signingkey -> user.signingkey

commit 62ed4ed1fc
Author: windowsboy111 <wboy111@outlook.com>
Date:   Tue Dec 6 05:43:23 2022 +0000

    More update.rhai

commit 05257ca885
Author: windowsboy111 <wboy111@outlook.com>
Date:   Mon Dec 5 19:34:51 2022 +0800

    Modify anda.hcl

commit 741d90a9df
Author: windowsboy111 <wboy111@outlook.com>
Date:   Mon Dec 5 19:32:21 2022 +0800

    Migrate all py to rhai woo hoooo

commit 04a6d0f7f9
Merge: fdfa284 ba3b309
Author: windowsboy111 <wboy111@outlook.com>
Date:   Mon Dec 5 01:40:48 2022 +0000

    Merge branch 'main' into b/chkupdate

commit fdfa28471e
Author: windowsboy111 <wboy111@outlook.com>
Date:   Tue Nov 29 21:22:07 2022 +0800

    Fix

commit b337711b53
Author: windowsboy111 <wboy111@outlook.com>
Date:   Tue Nov 29 21:17:56 2022 +0800

    Tidy up hcl files

commit cc8acf45dd
Author: windowsboy111 <wboy111@outlook.com>
Date:   Tue Nov 29 21:01:55 2022 +0800

    Add for all packages: update.rhai

commit 52780933a9
Merge: fb43ccd 3e83913
Author: windowsboy111 <wboy111@outlook.com>
Date:   Mon Nov 28 00:22:29 2022 +0800

    Merge branch 'main' into b/chkupdate

commit fb43ccdff1
Author: windowsboy111 <wboy111@outlook.com>
Date:   Mon Nov 28 00:16:44 2022 +0800

    Migrate to anda update

commit 40e5fb10d1
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 13:10:43 2022 +0800

    Create chkupdate.py

commit 1adfa04d10
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 13:09:39 2022 +0800

    Create chkupdate.py

commit ae6349798a
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 13:05:03 2022 +0800

    Create chkupdate.py

commit b5969c6723
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 13:01:50 2022 +0800

    Create chkupdate.py

commit 762e14caa5
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:59:56 2022 +0800

    Create chkupdate.py

commit ae15efabdf
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:57:44 2022 +0800

    Create chkupdate.py

commit 5152ba315d
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:57:05 2022 +0800

    Create chkupdate.py

commit 680610ab8d
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:55:52 2022 +0800

    Create chkupdate.py

commit d0ac2c85f3
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:55:09 2022 +0800

    Create chkupdate.py

commit 8e75df8288
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:53:53 2022 +0800

    Create chkupdate.py

commit 65bb02ebfe
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:52:39 2022 +0800

    Create chkupdate.py

commit ef80995181
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:51:36 2022 +0800

    Create chkupdate.py

commit 8d108892ec
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:50:55 2022 +0800

    Create chkupdate.py

commit 2443e0a433
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:50:08 2022 +0800

    Create chkupdate.py

commit af9678860d
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:49:33 2022 +0800

    Create chkupdate.py

commit cee01aed13
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:48:31 2022 +0800

    Create chkupdate.py

commit 501323fa3a
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:47:20 2022 +0800

    Create chkupdate.py

commit 5d638ddc34
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:46:25 2022 +0800

    Create chkupdate.py

commit 125b184004
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:45:37 2022 +0800

    Create chkupdate.py

commit 4a21ff6579
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:44:52 2022 +0800

    Create chkupdate.py

commit 7e208dae45
Author: windowsboy111 <wboy111@outlook.com>
Date:   Sun Nov 20 12:42:15 2022 +0800

    Create chkupdate.py
This commit is contained in:
windowsboy111
2022-12-08 13:51:46 +00:00
committed by GitHub
parent 43145fe224
commit 4600a1dc65
271 changed files with 246 additions and 2851 deletions
+4 -4
View File
@@ -15,7 +15,7 @@ jobs:
options: --cap-add=SYS_ADMIN --privileged
steps:
- name: Install packages
run: dnf install -y rpmdevtools git python
run: dnf install -y rpmdevtools git python anda
- name: Checkout
uses: actions/checkout@v3
@@ -28,9 +28,9 @@ jobs:
mkdir -p ${{ runner.temp }}
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
chmod 0700 ${{ runner.temp }}/signing_key
- name: Run Update
run: bash ./update.sh
- name: Run Update (anda)
run: anda update
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+2 -2
View File
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "adwaita++-icons.spec"
sources = "."
update = ""
}
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("Bonandry/adwaita-plus"));
+1 -1
View File
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "authy.spec"
sources = "."
update = ""
}
}
-38
View File
@@ -1,38 +0,0 @@
import os
import re
from requests import get
import json
NAME = "authy"
SPEC = f"{NAME}.spec"
REGEX_VER = r'Version:(\s*)([\.\d]+)\n'
REGEX_SRC = r'Source0:(\s*)([^\n]+)\n'
def run_cmds(*cmds: str):
for cmd in cmds:
print(f"{NAME}: $ {cmd}")
if rc := os.system(cmd):
exit(f"{NAME}: Stopping because {rc=}")
raw = get('https://api.snapcraft.io/v2/snaps/info/authy', headers={'Snap-Device-Series': '16'}).text
data = json.loads(raw)
ver = data['channel-map'][0]['version']
f = open(SPEC, 'r')
content = f.read()
found = re.findall(REGEX_VER, content)
try:
assert found
curver = found[0][1]
if ver == curver:
exit(f"{NAME}: Up to date!")
print(f"{NAME}: {curver} -> {ver}")
except IndexError or AssertionError:
exit(f"{NAME}: Failed to read spec!")
link = data['channel-map'][0]['download']['url']
newspec = re.sub(REGEX_VER, f'Version:{found[0][0]}{ver}\n', content)
newspec = re.sub(REGEX_SRC, f'Source0:{found[0][0]}{link}\n', newspec)
f.close()
f = open(SPEC, 'w')
f.write(newspec)
f.close()
+5
View File
@@ -0,0 +1,5 @@
let req = new_req("https://api.snapcraft.io/v2/snaps/info/authy");
req.head("Snap-Device-Series", "16");
let obj = json(req.get()) @ "channel-map" @ 0;
rpm.version(str(obj @ "version"));
rpm.source(0, str(obj @ "download" @ "url"));
+2 -1
View File
@@ -1,5 +1,6 @@
project "pkg" {
rpm {
spec = "openasar-canary.spec"
update = ""
}
}
}
@@ -1,4 +1,4 @@
%define commit ad9b161744b27acc5e333ee70df11afca09301ef
%define commit bb6165c1ad640ea7c45ecff2efbc01b48eaf2445
Name: openasar-canary
Version: nightly.%{autogitdate}
+11
View File
@@ -0,0 +1,11 @@
let req = new_req("https://api.github.com/repos/GooseMod/OpenAsar/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
let _sha = json(req.get()) @ "sha";
let sha = _sha.str();
let cur = find("%define commit (.+)", rpm.f, 1);
if sha != cur {
print(`openasar-canary: ${cur} -> ${sha}`);
rpm.f = sub("%define commit (.+)", `%define commit ${sha}`, rpm.f);
} else {
print("openasar-canary: Up to date!");
}
+1 -1
View File
@@ -2,4 +2,4 @@ project "pkg" {
rpm {
spec = "distrho.spec"
}
}
}
+1 -2
View File
@@ -1,6 +1,5 @@
project "pkg" {
rpm {
spec = "dart.spec"
sources = "."
}
}
}
+2 -2
View File
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "budgie-extras.spec"
sources = "."
update = ""
}
}
}
@@ -0,0 +1 @@
rpm.version(gh("UbuntuBudgie/budgie-extras"));
+1 -1
View File
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "contractor.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'contractor'
REPO = "elementary/contractor"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/contractor"))
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-calculator.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-calculator'
REPO = "elementary/calculator"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/calculator"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-calendar.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-calendar'
REPO = "elementary/calendar"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/calendar"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-camera.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-camera'
REPO = "elementary/camera"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/camera"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-capnet-assist.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-capnet-assist'
REPO = "elementary/capnet-assist"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/capnet-assist"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-code.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-code'
REPO = "elementary/code"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/code"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-files.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-files'
REPO = "elementary/files"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/files"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-greeter.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-greeter'
REPO = "elementary/greeter"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/greeter"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-icon-theme.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-icon-theme'
REPO = "elementary/icons"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/icons"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-music.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-music'
REPO = "elementary/music"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/music"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-notifications.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-notifications'
REPO = "elementary/notifications"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/notifications"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-onboarding.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-onboarding'
REPO = "elementary/onboarding"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/onboarding"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-photos.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-photos'
REPO = "elementary/photos"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/photos"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-print.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-print'
REPO = "elementary/print"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/print"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-screenshot-tool.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-screenshot-tool'
REPO = "elementary/screenshot"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/screenshot"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-settings-daemon.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-settings-daemon'
REPO = "elementary/settings-daemon"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/settings-daemon"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-shortcut-overlay.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-shortcut-overlay'
REPO = "elementary/shortcut-overlay"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/shortcut-overlay"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-sideload.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-sideload'
REPO = "elementary/sideload"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/sideload"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-sound-theme.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-sound-theme'
REPO = "elementary/sound-theme"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/sound-theme"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-terminal.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-terminal'
REPO = "elementary/terminal"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/terminal"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-theme.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-theme'
REPO = "elementary/stylesheet"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/stylesheet"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-videos.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-videos'
REPO = "elementary/videos"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/videos"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-wallpapers.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'elementary-wallpapers'
REPO = "elementary/wallpapers"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/wallpapers"));
+1 -1
View File
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "gala.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'gala'
REPO = "elementary/gala"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/gala"));
+1 -1
View File
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "granite-7.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'granite-7'
REPO = "elementary/granite"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/granite"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "pantheon-agent-geoclue2.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'pantheon-agent-geoclue2'
REPO = "elementary/pantheon-agent-geoclue2"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/pantheon-agent-geoclue2"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "pantheon-agent-polkit.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'pantheon-agent-polkit'
REPO = "elementary/pantheon-agent-polkit"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/pantheon-agent-polkit"));
@@ -1,6 +1,5 @@
project "pkg" {
rpm {
spec = "pantheon-session-settings.spec"
sources = "."
}
}
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "switchboard-plug-a11y.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'switchboard-plug-a11y'
REPO = "elementary/switchboard-plug-a11y"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1 @@
rpm.version(gh("elementary/switchboard-plug-a11y"));
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "switchboard-plug-about.spec"
sources = "."
update = ""
}
}
@@ -1,19 +0,0 @@
import os
import requests
import re
NAME = 'switchboard-plug-about'
REPO = "elementary/switchboard-plug-about"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')

Some files were not shown because too many files have changed in this diff Show More