Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-08-04 16:46:09 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2023-08-04 16:46:09 +0200
commitef32b269495cfb7bfb716f157fe32cf8adb02d9a (patch)
treebf27fe7bf946d3d66c308bf7446b2e88460845e1 /lib/common-functions
parenteec5b77db79b51a2db567f95a66280f51c054692 (diff)
readded pkginfo cache, ignore kde-unstable repos in get-package-updates
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/common-functions b/lib/common-functions
index a9d4f73..f071d4e 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -201,6 +201,18 @@ str_to_regex() {
'
}
+
+make_source_info_using_cache() {
+ local package="$1"
+ local repository="$2"
+ local git_revision="$3"
+ local mod_git_revision="$4"
+ local output="$5"
+
+ curl -LSs "https://buildmaster.archlinux32.org/pkginfo/${package}=${repository}=${git_revision}=${mod_git_revision}" \
+ >"${output}"
+}
+
# make_source_info $package $repository $git_revision $mod_git_revision $output
# create .SRCINFO from PKGBUILD within git repositories, output to $output
make_source_info() {