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

Import deck from git repository link #46

Closed
evolverine opened this issue Mar 29, 2019 · 3 comments
Closed

Import deck from git repository link #46

evolverine opened this issue Mar 29, 2019 · 3 comments

Comments

@evolverine
Copy link
Contributor

Instead of just downloading the repository, collaboration on decks requires cloning repositories, in order to have the original remote configured, so that people can push their changes to github.

@Stvad
Copy link
Owner

Stvad commented Apr 6, 2019

The original design was caused by the fact that there was no actual git integration present. Now with dulwich being one of the dependencies this should be fairly easy to implement.

Some requirements:

  • Clone into the snapshot directory
  • If repository already exists in snapshot directory
    • Do git remote add (if not present)
    • git pull <new remote> master

@Stvad Stvad changed the title Clone repository instead of downloading zip Import deck from git repository link Apr 6, 2019
@evolverine
Copy link
Contributor Author

working on this now, should have a pull request ready in a couple of days.

@Stvad
Copy link
Owner

Stvad commented Mar 21, 2020

nice! Thank you!

evolverine added a commit to evolverine/CrowdAnki that referenced this issue Mar 25, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Mar 25, 2020
…ory by default instead of downloading the repository zip file
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Mar 25, 2020
…t in place in future GitPython updates for the imports to work
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Mar 25, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Mar 25, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Mar 25, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Mar 25, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Apr 2, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Apr 6, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Apr 6, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Apr 18, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Apr 18, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Apr 18, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Apr 18, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue Apr 18, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue May 12, 2020
evolverine added a commit to evolverine/CrowdAnki that referenced this issue May 12, 2020
…lt in the repository being instantiated without a parent folder
evolverine added a commit to evolverine/CrowdAnki that referenced this issue May 18, 2020
…ameters. Also, checking for the space wasn't useful either; in that case, Dulwich will report an error

Signed-off-by: Mihai Chira <mihai.chira@gmail.com>
Stvad added a commit that referenced this issue May 25, 2020
@Stvad Stvad closed this as completed Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants