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:
authorErich Eckner <git@eckner.net>2017-05-18 10:12:42 +0200
committerErich Eckner <git@eckner.net>2017-05-18 10:12:42 +0200
commitfccfbd26fcbce980c3f623a907e47fbd29f17808 (patch)
tree01e731d19f2edce1cee6009218a89200e736d1f9 /bin/common-functions
parent3ab3516c29741dea9ae3772b63678a83eab91aa6 (diff)
bin/common-functions: add comments
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