summaryrefslogtreecommitdiffstats
path: root/tests/e2e/test_partial_clone.py
Commit message (Collapse)AuthorAgeFilesLines
* tests: e2e: add tests for partial clones & the Android setupBrian Gan2026-10-261-0/+294
Cover the go/repo-init flags used across Android (superproject, `-c`, `--partial-clone`, `--partial-clone-exclude` & `--clone-filter`) followed by the go/sync flags, under Git 2 & Git 3 defaults: projects are pinned to the superproject, filtered blobs stay on the server, excluded projects are full clones, and incremental syncs skip projects whose pin didn't move. Also cover the default filter, and `sync -n` then `sync -l` with a partial clone (where `-l` has to fetch blobs on demand). Add harness helpers to read a checkout's git config, list the repos a client contacted, and create blobs that only exist in history. Bug: 566270944 Change-Id: I77d2cabc1d4f5db2ea139c7825ba87638c6db1e7 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/648546 Commit-Queue: Brian Gan <brgan@google.com> Reviewed-by: Gavin Mak <gavinmak@google.com> Tested-by: Brian Gan <brgan@google.com>