@jaspermayone.com's dotfiles

dippet: use https for forks sync, add rate limit delay

+3 -4
+3 -4
hosts/dippet/default.nix
··· 24 24 for repo in $repos; do 25 25 if [ -d "$repo" ]; then 26 26 echo "Updating $repo..." 27 - cd "$repo" 28 - ${pkgs.git}/bin/git pull --ff-only || true 29 - cd .. 27 + ${pkgs.git}/bin/git -C "$repo" pull --ff-only || true 30 28 else 31 29 echo "Cloning $repo..." 32 - ${pkgs.gh}/bin/gh repo clone "$ORG/$repo" || true 30 + ${pkgs.git}/bin/git clone "https://github.com/$ORG/$repo.git" || true 31 + sleep 1 33 32 fi 34 33 done 35 34