index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/return-assignment | 6 |
diff --git a/bin/return-assignment b/bin/return-assignment index a010dd4..2528b44 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -2,13 +2,15 @@ # report back on a build assignment # either on success via: -# "$0 $package $revision $repository" and tar'ed packages on stdin +# "$0 $package $revision $repository" and tar'ed packages (= a tar of +# package(s) and signature(s)) on stdin # or on failure via: # "$0 $package $revision $repository ERROR" # TODO: # properly handle if built package is out of date # sign package database +# use lock file(s) . "${0%/*}/../conf/default.conf" @@ -51,7 +53,7 @@ repo-add "$3-staging.db.tar.gz" $(echo "${new_files}" | grep '\.pkg\.tar\.xz$') #repo-add -v -s -k "${repo_key}" "$3-staging.tar.gz" $(echo "${new_files}" | grep '\.pkg\.tar\.xz$') # remove all loops which are broken by this package -sed '1d' "${work_dir}/package-states/$1.$2.$3" | \ +sed '1d' "${work_dir}/package-states/$1.$2.$3.locked" | \ sort -u | \ sed 'p;s|$|.locked|' | \ xargs -rn1 rm -f |