support uploading repos to github using `fdroid server update`
Soon, F-Droid client will support automatically downloading from a mirror listed in the repo's index metadata !101 (merged) if the current one is not reachable. To make that more effective, we should support as many different ways to mirror a repo as possible. Github is one good example.
Here's a quick outline off the top of my head:
- auto create/git init if no .git present
- git add/git commit/git push
- auto-gen .gitignore to prevent uploading sensitive bits
- add to 'official mirror'
<mirror>
metadata - the should be made generic enough to support gitlab, bitbucket, etc. e.g. any service where it works straight from https://github.com/author/reponame/blob/master/fdroid/repo/index.jar
- optionally, support reponame.github.io,
as discussed with @krt on irc