1
0
Fork 0
mirror of https://github.com/clockfort/GitHub-Backup.git synced 2025-03-16 00:00:06 +01:00
Commit graph

57 commits

Author SHA1 Message Date
crass
edbd525392 Rename IsAuthorized global to IS_AUTHORIZED to maintain consistency in global variable naming. 2019-10-23 02:31:47 -05:00
crass
306021f6b0 Add option to save ssh public keys. 2019-10-23 02:31:47 -05:00
crass
1f1bad18e7 Allow specifying -p without an argument, which will mean to check for config to get password and failing that prompt the user. 2019-10-23 02:31:47 -05:00
crass
ea443dcf52 Do an issue search regardless of authentication because it picks up more issues/pulls. 2019-10-23 02:31:47 -05:00
crass
1d2bc42dd6 Handle pulls from searching and get_issues. 2019-10-23 02:31:47 -05:00
crass
a553714f6f In addition to assigned, get created issues and pull requests, and both open and closed ones. 2019-10-23 02:31:47 -05:00
crass
89bb0667f6 Nicer logging of issues and pull requests. 2019-10-23 02:31:47 -05:00
crass
592eb3093f Set most log lines to INFO so that they are by default printed. 2019-10-23 02:31:47 -05:00
crass
00dd7fee23 Add options to backup issues and pull requests. 2019-10-23 02:31:47 -05:00
crass
21173ac39e Add options to download releases and associated assets. 2019-10-23 02:31:47 -05:00
crass
fad148a3cf Add options for backing up gists and starred gists. 2019-10-23 02:31:47 -05:00
crass
6dc8ee6034 Refactor into RepositoryBackup class for backing up repository and metadata. 2019-10-23 02:31:47 -05:00
crass
d6ac98b392 Add option to download the repository wiki repositoriy. 2019-10-23 02:31:47 -05:00
crass
3824d1196b Put repositories in backupdir/repositories/${REPO_NAME}/repository in preparation for adding other repository (meta)data. 2019-10-23 02:31:47 -05:00
crass
83ecc23da4 Add option to skip downloading of repositories. 2019-10-23 02:31:47 -05:00
crass
67bafdf0ef Add option to backup account data. 2019-10-23 02:31:47 -05:00
crass
4474b95a0f Add --username to backup a user other than the one authenticated with. 2019-10-23 02:31:47 -05:00
crass
3ac05ede4a Allow unauthenticated backups. Change get_org -> get_organization, since the api appears to have changed. 2019-10-23 02:31:47 -05:00
crass
d052ecb0ad Turn on github package debugging when --debug is specified. 2019-10-23 02:31:47 -05:00
e833cf4815 remove debugging helpers 2019-05-05 03:36:02 +02:00
edf8db636b use PyGitHub instead of pygithub3 2019-05-05 03:22:37 +02:00
37becda672 pep8: more code-style fixes 2019-05-05 01:56:22 +02:00
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