5aef303f26
code cleanup: fixed indentions added comments
2013-08-27 15:30:42 +02:00
a3507dcfe6
added password authentification in case you're getting rate limited
2013-08-27 15:26:18 +02:00
0014d6a4a3
adding github repo details to repo config (useful for gitweb, cgit,
...
etc..)
2013-08-27 15:17:50 +02:00
6a092ffdf9
bugfix: do not alter objects, as these changes are global
2013-08-27 13:33:41 +02:00
Doug Turner
c8cb9b4bdf
update_repo must use os.chdir(). calling os.system(cd
2013-08-18 22:29:41 -07:00
84e23c696c
fixed small typo
2013-08-02 01:29:37 +02:00
3742232295
some code cleanup
2013-08-02 01:21:55 +02:00
bd8abb797c
added support for path suffix:
...
this might be usefull for bare repo's which mostly ending with '.git'
2013-08-02 01:00:43 +02:00
b68463bc6a
added support for extra git arguments
2013-08-02 00:50:54 +02:00
ee763dfcb6
added support for bare mirror repositories
2013-08-02 00:43:49 +02:00
S J Saravanan
e55e123f54
Fixed string parsing logic
...
Fixed this error which used to come up previously :-
Traceback (most recent call last):
File "github-backup.py", line 55, in <module>
main()
File "github-backup.py", line 22, in main
process_repo(repo, args)
File "github-backup.py", line 45, in process_repo
print("Processing repo: {}".format(repo.full_name))
ValueError: zero length field name in format
2013-07-15 15:03:46 +05:30
Anthony Gargiulo
03e3982ef3
the process_repo function works
2012-06-23 15:49:34 -04:00
Anthony Gargiulo
8a2c44245e
moved the setup of the parser to a function
2012-06-23 15:48:44 -04:00
Anthony Gargiulo
762aa093e0
Switching back to python 2.x for now
2012-06-23 14:59:50 -04:00
Anthony Gargiulo
7a874e281d
moved the code into a main method because it's more sane.
2012-06-18 18:18:54 -04:00
Anthony Gargiulo
a248ae726d
Works with new repos. Still need to make it update existing repos. As of
...
right now, it will just fail because git will fail to clone into a
non-empty directory.
2012-06-18 01:15:54 -04:00
Anthony Gargiulo
8781e10f1a
Initial commit of this file. Not much done here yet though
2012-06-16 02:24:45 -04:00