Stvad / CrowdAnki

Plugin for Anki SRS designed to facilitate cooperation on creation of notes and decks.
MIT License
534 stars 44 forks source link

#46 git import #78

Closed evolverine closed 4 years ago

evolverine commented 4 years ago

A few notes:

Also, two questions:

  1. Instead of the Anki profile directory, shouldn't we now use the directory in the plugin settings to clone the repository?
  2. For everyone but the repository maintainers the initially-cloned repository will have to be converted into a fork if they want to contribute any changes. Maybe we can automate that within this add-on using hub?
Stvad commented 4 years ago

Integrating with github to create forks/etc - In general seems like a good idea for simplifying the flow, we should discuss how interaction would look like before going there though. And should be a separate CR.

Also using the actual cli tool really makes life harder distribution-wise, I imagine there is python lib out there for talking to Github API, which would be a better choice

evolverine commented 4 years ago

agreed, a python library would be great for that.

katrinleinweber commented 4 years ago

[…] python lib […] for talking to Github API

[…] would be great for that.

Have you found developer.github.com/v3/libraries? It has a Python section, of which PyGithub seems to be quite API-complete :-)

evolverine commented 4 years ago

Thanks @katrinleinweber for researching the libraries. Can't wait to have this implemented. For now, let's finalize this pull request.

evolverine commented 4 years ago

@Stvad did you have a chance to take a look at the commits? Thanks.

Stvad commented 4 years ago

@evolverine I apologize for the delay, I thought I did, but I missed the latest batch. I'll take a look in the next few days!

Stvad commented 4 years ago

Looks good to me besides the small nit that I've noted!

evolverine commented 4 years ago

great. And check out the last commit as well, where I made improvements in the way the repository URL is parsed. If that looks good, on my side it's all done (otherwise let me know if any changes are in order).

evolverine commented 4 years ago

Heya, did you have a chance to look at the latest changes? Thanks!

Stvad commented 4 years ago

Hey, thank you for a reminder, been a bit swamped recently =. Will take a look today

Stvad commented 4 years ago

Looks good! Thank you for working on this! Sorry for a slow turn-around

evolverine commented 4 years ago

Yaay! Calls for a celebration 😃️🎉️