Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

annex: Test git-annex push-to-create #14

Open
kousu opened this issue Aug 19, 2022 · 1 comment
Open

annex: Test git-annex push-to-create #14

kousu opened this issue Aug 19, 2022 · 1 comment

Comments

@kousu
Copy link
Member

kousu commented Aug 19, 2022

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
Copy link
Member Author

kousu commented Sep 23, 2022

I just tested this manually, which is encouraging! Though there I did

git remote add origin [email protected]: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 [email protected]:user/repo.git
git annex sync --content

and that's something we should put in the integration tests.

@kousu kousu changed the title Test git-annex push-to-create annex: Test git-annex push-to-create Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant