Commit Graph

119 Commits

Author SHA1 Message Date
Steffen Vogel cd394bdf5d
Merge pull request #55 from ReallyVirtual/patch-1
Update README.md
2022-07-10 14:11:11 +02:00
Sohaib Athar 944754299c
Update README.md
remove a redundant ' a' at line 94
2022-07-10 05:09:10 +05:00
Steffen Vogel 5db3cfc5b9
Merge pull request #44 from mendhak/master
Handle rate limits with pygithub using decorator
2022-06-15 14:23:10 +02:00
Steffen Vogel 9375b3637b
fix documentation for organization backups 2022-06-15 14:21:02 +02:00
Steffen Vogel e8cf9a6f2a
Merge pull request #45 from clockfort/fix-orgs
Fix backup of organziations
2021-04-19 08:44:19 +02:00
Steffen Vogel fce568a067
Update github_backup.py
fix backup of organziations (closes #43)
2021-04-19 08:43:30 +02:00
mendhak fb3a0c0bf8
Iterate through the list in advance so that the retry decorator can handle problems 2021-04-18 16:26:01 +01:00
mendhak ec9a41f545
Handle rate limits with pygithub using decorator 2021-04-18 13:16:14 +01:00
Steffen Vogel 794bc0399b
Merge pull request #41 from frenchy64/patch-1
Fix grammatical errors
2020-12-04 08:32:50 +01:00
Ambrose Bonnaire-Sergeant 10f2ed8df8
Fix grammatical errors 2020-12-04 00:42:39 -05:00
Steffen Vogel 4c33d9b114
Merge pull request #40 from stv0g/master
use setuptools for installation and updates
2020-09-08 08:33:44 +02:00
Steffen Vogel 701b62af5e
Merge branch 'master' into master 2020-09-08 08:33:34 +02:00
Steffen Vogel 86a6a774cf use setuptools for installation and updates 2020-09-08 08:30:14 +02:00
Steffen Vogel a43ab112d1
update usage information 2020-09-08 08:19:33 +02:00
Steffen Vogel ddff67a4e8
add a note for using PAT instead of password. 2020-09-08 08:12:11 +02:00
Steffen Vogel 0bb312235c
use more commonly used Markdown syntax in README 2020-09-08 08:09:24 +02:00
Steffen Vogel b0c2cf14c4
Merge pull request #34 from crass/big-update
Big update
2020-09-08 08:04:45 +02:00
Steffen Vogel 27978b3893
Merge pull request #31 from ujukauboi/patch-1
Update README.md
2020-09-08 08:01:25 +02:00
crass 41892d62be Add myself as an author. 2019-10-23 02:31:47 -05:00
crass 2ec391ae7e Make sure to decode request content as encoding in response of utf-8 if no encoding in the response. Add debug logging of request in fetch_url. 2019-10-23 02:31:47 -05:00
crass 9e5493cd13 Add requests to requirements.txt 2019-10-23 02:31:47 -05:00
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
Christian Something a8b6bb1708
Update README.md 2019-08-28 01:13:03 -04:00
Chris Lockfort b899c46ff6
Merge pull request #30 from stv0g/rewrite
Rewrite: several new features
2019-05-04 23:59:33 -07:00
Steffen Vogel e833cf4815 remove debugging helpers 2019-05-05 03:36:02 +02:00
Steffen Vogel 2b64e65b23 rename README.markdown to README.md 2019-05-05 03:23:53 +02:00
Steffen Vogel 16f237a1d2 update usage info in README.markdown 2019-05-05 03:23:23 +02:00
Steffen Vogel ac0f18d7b3 use PyGitHub instead of pygithub3 2019-05-05 03:22:47 +02:00
Steffen Vogel edf8db636b use PyGitHub instead of pygithub3 2019-05-05 03:22:37 +02:00
Steffen Vogel 577298c25b use requirements.txt 2019-05-05 02:07:57 +02:00
Steffen Vogel 83174e1f6d improve style of README 2019-05-05 02:07:11 +02:00
Steffen Vogel 7bbbce380c added little guide for backing up a GitHub org 2019-05-05 02:06:59 +02:00