92db7a84cf
pep8: use tabs for indention
2019-05-05 01:48:21 +02:00
abd1fa5195
several encoding fixes and more
2019-05-05 01:46:47 +02:00
025d4d41ba
added support for oauth token and fixed little bug in pygithub3 configuration
...
Conflicts:
github-backup.py
2019-05-05 01:41:34 +02:00
fb7a4cab04
cosmetic changes
2019-05-05 01:40:45 +02:00
0f5ef8d394
sorted cli options
2019-05-05 01:39:46 +02:00
4d4daaa0ff
replaced os.system() by subprocess.call() and fixed escaping errors
2019-05-05 01:38:43 +02:00
534776402a
added support for oauth token and fixed little bug in pygithub3 configuration
2019-05-05 01:27:48 +02:00
Chris Lockfort
86423c539a
Merge pull request #24 from Enrico204/master
...
Fixed shell_escaping on single-quote
2016-07-22 21:13:52 -07:00
Enrico204
2674a8f8fa
Skip forks option implemented
2016-07-22 12:24:42 +02:00
Enrico204
602293722a
Fixed shell_escaping on single-quote; skipping gitweb.description assignment when description is None
2016-07-22 09:35:28 +02:00
Enrico
3c00e6a64b
Fixed crash when no e-mail is available from GitHub repos API
2016-07-20 23:15:35 +02:00
Alun Davey
f665e57d4a
Fixes 'NoneType' object has no attribute 'replace'
2015-05-19 16:34:36 +01:00
Chris Lockfort
cc01c5deb0
Merge pull request #11 from indigoid/master
...
add support for OAuth tokens
2014-07-28 22:36:17 -07:00
Marian Zange
0e66fb5220
Use 'default_branch' instead of 'master_branch'
2014-06-25 15:26:48 +02:00
John Slee
030f56c031
add support for OAuth tokens
2013-10-15 01:07:34 +11:00
Kamil Winczek
5336a70f45
Add ability to clone over SSH protocol.
2013-10-03 15:52:57 +01:00
Kamil Winczek
3942eb1f93
Add ability to specify prefix for directories.
2013-10-03 15:52:27 +01:00
Kamil Winczek
aeb29a9ebc
Add ablity to retrieve repositores owned by organization.
2013-10-03 15:51:18 +01:00
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