Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions package/rebuild-todo
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ usage() {
-d, --dry-run Show the offload-build and commitpkg being ran
--import-keys Import PGP keys for packages source verification into the user's keyring
--no-build Don't build PKGBUILD
--nocheck Don't run the check() function in the PKGBUILD
--no-publish Don't run commitpkg after building
--testing Publish towards testing
--staging Publish towards staging
Expand Down Expand Up @@ -63,6 +64,7 @@ CONTINUE=0
SKIP_BROKEN=0
URL=""
OFFLOAD=""
NOCHECK=""
REPO=""
message=""
filter=("extra")
Expand Down Expand Up @@ -115,6 +117,9 @@ while ((${#})); do
--no-build)
NO_BUILD=1
;;
--nocheck)
NOCHECK="$key"
;;
--no-publish)
NO_PUBLISH=1
;;
Expand Down Expand Up @@ -200,7 +205,7 @@ if ((DRY)); then
echo "Would rebuild the following packages:"
printf ' %s\n' "${packages[@]}"
echo "With:"
echo " pkgctl build --rebuild $REPO $OFFLOAD"
echo " pkgctl build --rebuild $REPO $OFFLOAD $NOCHECK"
echo " pkgctl release --db-update $REPO -m \"$message\""
exit 0
fi
Expand Down Expand Up @@ -246,7 +251,7 @@ for pkg in "${packages[@]}"; do
if ! ((NO_BUILD)); then
SKIP_BUILD=0
while true; do
if pkgctl build --rebuild $REPO $OFFLOAD; then
if pkgctl build --rebuild $REPO $OFFLOAD $NOCHECK; then
rebuilt_packages+=("$pkg")
break
else
Expand Down