From fccfbd26fcbce980c3f623a907e47fbd29f17808 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 18 May 2017 10:12:42 +0200 Subject: bin/common-functions: add comments --- bin/common-functions | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-54-g00ecf