annex: Test git-annex push-to-create
kousu opened this issue · 1 comments
kousu commented
Push-to-create, when you say git push
and the server initializes a remote repo, is glitchy with git-annex under gitolite -- git-annex gets confused about whether the repo really exists or not. Using git annex sync
twice usually fixes it.
It would be good to add a test to cover this for Gitea too. Maybe gitea will be less confusing to git-annex?
kousu commented
I just tested this manually, which is encouraging! Though there I did
git remote add origin gitea@data.dev.neuropoly.org:user/repo.git
git push -u origin master
git annex sync
git annex copy --to origin
A harder test would be to just:
git remote add origin gitea@data.dev.neuropoly.org:user/repo.git
git annex sync --content
and that's something we should put in the integration tests.