easybuilders / easybuild-framework

EasyBuild is a software installation framework in Python that allows you to install software in a structured and robust way.
https://easybuild.io
GNU General Public License v2.0
152 stars 202 forks source link

offline list of issues #280

Open JensTimmerman opened 12 years ago

JensTimmerman commented 12 years ago

We should 'back up' our issues locally (daily?)

We already have local copies of all the code and the wiki, but not of the issues. Since the gitub api allows you to get a list of the issues, we should do this daily.

http://developer.github.com/v3/issues/#list-issues-for-a-repository

boegel commented 12 years ago

In fact, we should do more, i.e. create an actual backup of everything on GitHub:

And possible also for our own forks of the various easybuild repos.

That way, we won't lose anything at all, ever.

JensTimmerman commented 12 years ago

getting a list of issues is easy with the github api I used https://github.com/jpaugh64/agithub (I will include a single file fork of this in easybuild/tools, since we will need for future features.) g.repos.hpcugent['easybuild-framework'].issues.get()

so

python -c "from vsc.utils.rest import RestClient; print [[r, RestClient('https://api.github.com').repos.hpcugent[r].issues.get()[1]] for r in  [str(repo['name']) for repo in RestClient('https://api.github.com').users.hpcugent.repos.get()[1]]]" > issues.json

get's us a list off all issues of hpcugent repos.