Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/common-functions
diff options
context:
space:
mode:
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-xbin/common-functions9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/common-functions b/bin/common-functions
index 86dcc79..7ebe5fc 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -2,7 +2,8 @@
# contains functions used by more than one script
-# find the PKGBUILD of a given package in a given repository
+# find_pkgbuild repository package
+# find the PKGBUILD of $package from $repository
find_pkgbuild() {
@@ -73,6 +74,9 @@ apply_package_customizations() {
fi
}
+# find_repository_with_commit commit
+# find the repository which has $commit
+
find_repository_with_commit() {
local repository
@@ -88,6 +92,9 @@ find_repository_with_commit() {
}
+# find_git_repository_to_package_repository repository
+# find the git repository which tracks the package repository $repository
+
find_git_repository_to_package_repository() {
local repository