You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f3312bd
Browse filesBrowse the repository at this point in the historyBrowse files
test(gitdb): generate standalone packed and loose object fixtures
GitDB tests previously opened the source checkout's `.git` directory or
`GITDB_TEST_GIT_REPO_BASE`, making their input depend on clone history.
Give each test class a disposable repository generated by a fixture
script, with packed history and additional loose objects. Isolate Git
configuration and identity during setup and register class cleanup.
Run the script with Bash so the standalone suite retains Python 3.8
support without adding a GixPython dependency. Remove the history override
and full-depth checkout from dependency CI, remove source `.git` before
running the suite, and document the new setup.
Use the actual database size when writing a pack instead of the unrelated
iteration count, which the smaller fixture exposed.
Validation: the GitDB suite passes from a source copy without `.git`
on Python 3.12/macOS: 24 passed, 1 skipped. The same source copy also
passes all 9 smmap tests. ShellCheck passes for the new fixture script.
Agent-Model: gpt-6-astra
0 commit comments