mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
delay between git pulls
This commit is contained in:
parent
536a876e66
commit
d7ff6bc756
4
git-pull
4
git-pull
@ -2,4 +2,6 @@
|
|||||||
|
|
||||||
git pull || exit $?
|
git pull || exit $?
|
||||||
git submodule foreach 'git checkout master || git checkout main' || exit $?
|
git submodule foreach 'git checkout master || git checkout main' || exit $?
|
||||||
git submodule foreach 'if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi'
|
# Sleep after each `git pull` to avoid `429 too many requests`.
|
||||||
|
# 5s is not enough.
|
||||||
|
git submodule foreach 'sleep 7.5s; if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi'
|
||||||
|
Loading…
Reference in New Issue
Block a user