Give the F-Droid source fetch the fsck skip lists its git config points at

This commit is contained in:
Jon Staab 2026-09-25 10:14:59 -07:00
parent 9fd29db305
commit a7cb5fe4d6

View file

@ -60,9 +60,14 @@ cd "$home_vagrant"
# --on-server builds whatever is already checked out in build/, which the host fetches in production
curl --silent https://gitlab.com/fdroid/fdroid-bootstrap-buildserver/-/raw/master/roles/production_hardening/files/gitconfig \
>"$home_vagrant/.gitconfig"
chown vagrant "$home_vagrant/.gitconfig"
mkdir -p "$home_vagrant/fdroiddata/config"
for list in fetch.fsck fsck receive.fsck transfer.fsck; do
curl --silent --fail "https://gitlab.com/fdroid/fdroiddata/-/raw/master/config/$list.skipList" \
>"$home_vagrant/fdroiddata/config/$list.skipList"
done
chown -R vagrant "$home_vagrant/.gitconfig" "$home_vagrant/fdroiddata"
fdroid fetchsrclibs "social.flotilla.fdroid:$VERSION_CODE" --verbose
rm "$home_vagrant/.gitconfig"
rm -r "$home_vagrant/.gitconfig" "$home_vagrant/fdroiddata"
fdroid build --verbose --test --refresh-scanner --on-server --no-tarball \
"social.flotilla.fdroid:$VERSION_CODE"