update and shorter delay between git pulls

This commit is contained in:
Daniel Langbein 2022-05-31 16:14:37 +02:00
parent 4632afcb18
commit 6d57321ef7
3 changed files with 3 additions and 3 deletions

View File

@ -3,4 +3,4 @@
git pull || exit $?
git submodule foreach 'git checkout master || git checkout main' || exit $?
# Sleep after each `git pull` to avoid `429 too many requests`.
git submodule foreach 'sleep 1s; if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi'
git submodule foreach 'sleep 0.5s; if git pull | grep '\''^Updating'\''; then printf " %s" "$(basename $sm_path)" >> $toplevel/build-pkg/pkglist.tmp; fi'

@ -1 +1 @@
Subproject commit 9d92e8d9c45bbf277f893328615052096f2350f9
Subproject commit 4fa13fe5caadc30698bd0e69ad624a102674ce91

@ -1 +1 @@
Subproject commit 28b668abfa1aff69f9c7b949096fbc7401c3af7e
Subproject commit eae8fd222e24495a95fb11f596e5c68d500a022c