/
View dependency graph
Depends on
- dh-golang (dh-golang)
- golang-defaults (golang-any)
- golang-github-go-git-go-billy (golang-github-go-git-go-billy-dev)
- golang-testify (golang-github-stretchr-testify-dev)
- debhelper-compat, golang-gopkg-check.v1-dev
README (full)
go-git-fixtures
git repository fixtures used by go-git
Adding new Fixtures
Adding new pack fixtures
- Get the
.idxand.packfiles from the repository:
git clone https://<repository>
cd <repository_name>
git checkout <REF>
git gc
ls .git/objects/pack/
- Copy them into
/data. - Add a new entry in
fixtures.go:
{
Tags: []string{"packfile", "<TAG_TO_REFER_TO>"},
PackfileHash: "<PACK_HASH>",
}
- Run
make generate.
| dir | .github/ |
| dir | data/ |
| dir | debian/ |
| dir | internal/ |
| file | LICENSE |
| file | Makefile |
| file | README.md |
| file | fixtures.go |
| file | fixtures_test.go |
| file | go.mod |
| file | go.sum |