apollo-ng / dspace-app-apollong

DSpace aims to enable people to find, collect, edit, structure and share any kind of information in a real-time, massive-collaboration, augmented-reality-environment (like wikipedia), based on a very common ground: The map of the area, where people actually are, around their Geolocation.
https://apollo.open-resource.org/lab:dspace
18 stars 13 forks source link

daily backup of github issues #13

Closed elf-pavlik closed 11 years ago

elf-pavlik commented 11 years ago

in case github goes down before we move out to some libre alternative ;) https://api.github.com/repos/apollo-ng/dspace-client/issues

chron0 commented 11 years ago

backup running hourly now...

nilclass commented 11 years ago

That resource only contains some of the issue data though. "comments" are an additional resource: https://api.github.com/repos/apollo-ng/dspace-client/issues/{issue.number}/comments and events (state changes, such as "closed") as well: https://api.github.com/repos/apollo-ng/dspace-client/issues/{issue.number}/events You can also follow the "comments_url" / "events_url" attributes in each issue to get there.

chron0 commented 11 years ago

if someone writes a wrapper to collect all data we can implement that as well, the "backup" request was dubious to begin with and since github doesn't seem to have a simple interface to get all data at once I don't see the point in investing more time to get the other data deps as well. If we don't trust github to keep the data available, we shouldn't have chosen to use it at all...

If someone has ruby available feel free to play with: https://github.com/zauberlabs/backup-github

elf-pavlik commented 11 years ago

i'll take a look at it!

alice-wl commented 11 years ago

how about http://gitlabhq.com/

elf-pavlik commented 11 years ago

@alice-wl i would like to use gitlab but out of the box it doesn't have public repositories :( i hope we could change it by adjusting before_filters which require authentication and turn it into all public repos... still i don't know if could do that by next hackathon...

elf-pavlik commented 11 years ago

@chron0 can you try this one and maybe assign it to yourself again? :) https://github.com/joeyh/github-backup

nilclass commented 11 years ago

Just for reference... http://tosdr.org/#github

elf-pavlik commented 11 years ago

move to GitLab #94 will take care of this one :)