More update.rhai

This commit is contained in:
windowsboy111
2022-12-06 05:43:23 +00:00
parent 05257ca885
commit 62ed4ed1fc
32 changed files with 37 additions and 31 deletions
+1 -1
View File
@@ -3,4 +3,4 @@ project "pkg" {
spec = "openasar-canary.spec"
update = ""
}
}
}
+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 -2
View File
@@ -1,6 +1,5 @@
project "pkg" {
rpm {
spec = "distrho.spec"
update = ""
}
}
}
-1
View File
@@ -1,6 +1,5 @@
project "pkg" {
rpm {
spec = "dart.spec"
update = ""
}
}
+1 -2
View File
@@ -1,6 +1,5 @@
project "pkg" {
rpm {
spec = "dnf-plugins-core.spec"
update = ""
}
}
}
-1
View File
@@ -1,6 +1,5 @@
project "pkg" {
rpm {
spec = "minecraft-java.spec"
update = ""
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("rs/curlie"));
+1 -1
View File
@@ -3,4 +3,4 @@ project "pkg" {
spec = "libappimage.spec"
update = ""
}
}
}
+1 -1
View File
@@ -3,4 +3,4 @@ project "pkg" {
spec = "libbismuth.spec"
update = ""
}
}
}
+1 -1
View File
@@ -3,4 +3,4 @@ project "pkg" {
spec = "libhelium.spec"
update = ""
}
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("docker/buildx"));
@@ -0,0 +1 @@
rpm.version(gh("docker/compose"));
-1
View File
@@ -1,6 +1,5 @@
project "pkg" {
rpm {
spec = "anda-mock-configs.spec"
update = ""
}
}
+1 -1
View File
@@ -3,4 +3,4 @@ project "pkg" {
spec = "tau-helium.spec"
update = ""
}
}
}
+1 -1
View File
@@ -3,4 +3,4 @@ project "pkg" {
spec = "tau-hydrogen.spec"
update = ""
}
}
}
-1
View File
@@ -1,6 +1,5 @@
project "pkg" {
rpm {
spec = "bat-extras.spec"
update = ""
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("eth-p/bat-extras"));
-1
View File
@@ -1,6 +1,5 @@
project "pkg" {
rpm {
spec = "pop-launcher.spec"
update = ""
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("pop-os/launcher"));
-1
View File
@@ -1,6 +1,5 @@
project "pkg" {
rpm {
spec = "rust-sccache.spec"
update = ""
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("mozilla/sccache"));
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("containers/youki"));
-1
View File
@@ -1,6 +1,5 @@
project "pkg" {
rpm {
spec = "rust-zellij.spec"
update = ""
}
}
+1 -1
View File
@@ -3,4 +3,4 @@ project "pkg" {
spec = "appimagelauncher.spec"
update = ""
}
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("TheAssassin/AppImageLauncher"));
+1 -1
View File
@@ -3,4 +3,4 @@ project "pkg" {
spec = "electron.spec"
update = ""
}
}
}
+1 -1
View File
@@ -3,4 +3,4 @@ project "pkg" {
spec = "gcm-core.spec"
update = ""
}
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("GitCredentialManager/git-credential-manager"));
+1
View File
@@ -10,6 +10,7 @@ project "pkg" {
branch = "lorax-38.3-1"
write_tar = "true"
spec = "lorax.spec"
update = ""
git_get = "git clone https://github.com/weldr/lorax.git"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@ project "pkg" {
spec = "melody.spec"
update = ""
}
}
}
+1 -1
View File
@@ -3,4 +3,4 @@ project "pkg" {
spec = "muon.spec"
update = ""
}
}
}
+3 -9
View File
@@ -1,13 +1,9 @@
#!/bin/bash -x
python -m ensurepip
python -m pip install -r requirements.txt
search() {
for folder in $1/*; do
if [ -f "$folder/chkupdate.py" ]; then
(cd $folder && python chkupdate.py)
if [ -f "$folder/update.rhai" ]; then
continue
else
echo $folder
fi
x=0
for thing in $folder/*; do
@@ -18,5 +14,3 @@ search() {
}
search anda
exit 0