kornpisey
75ec773a6f
fix bug forever retry when request url error
2022-05-30 13:50:23 +09:00
Louis Parisot
885e94a102
git lfs clone doe snot respect --mirror
2022-02-03 11:45:59 +01:00
atinary-afoulon
64562f2460
Fix lint issues raised by Flake8
...
According to job:
[ https://app.circleci.com/pipelines/github/josegonzalez/python-github-backup/30/workflows/74eb93f2-2505-435d-b728-03b3cc04c14a/jobs/23 ]
Failed on the following checks:
./github_backup/github_backup.py:20:1: F811 redefinition of unused 'logging' from line 14
./github_backup/github_backup.py:45:1: E302 expected 2 blank lines, found 1
./github_backup/github_backup.py:136:20: E251 unexpected spaces around keyword / parameter equals
2021-12-13 14:33:21 +01:00
Harrison Wright
b1acfed83a
Revert to fetch
2021-07-14 10:53:14 -05:00
Jose Diaz-Gonzalez
1ed5427043
Merge pull request #177 from jacekn/retry
...
Add retry on certain network errors
2021-07-12 00:43:19 -04:00
Jonas
0a30a92fe4
pull changes from remote
...
use `git pull` to pull actual files from the remote instead of using `fetch` for only the metadata
2021-07-06 06:21:06 +02:00
Jacek Nykis
cc52587f52
Add retry on certain network errors
...
This change includes certain network level errors in the retry logic.
It partially address #110 but I think more comprehensive fix would be useful.
2021-07-01 14:39:10 +01:00
Jose Diaz-Gonzalez
e23d12d490
Merge pull request #173 from gallofeliz/make-compatible-python-call
...
Try to make compatible code with direct Python call ; reduce the hard link of the code with the cli
2021-03-18 22:51:01 -04:00
Álvaro Torres Cogollo
664c2a765e
Fixed release_name with slash bug
2021-03-03 11:36:44 +01:00
Gallo Feliz
480ce3ce2a
Try to make compatible code with direct Python call ; reduce the hard link of the code with the cli
2021-02-16 13:13:51 +01:00
Samantha Baldwin
f62c4eaf8b
fix: Always clone with OAuth token when provided
...
Github Enterprise servers with 'Anonymous Git read access' disabled
cause `git ls-remote` to fail (128) for a repo's `clone_url`. Using the
OAuth token when provided allows cloning private AND public repos when
Anonymous Git read access is disabled.
2021-02-12 00:46:06 -05:00
Jose Diaz-Gonzalez
725f2c3b8f
Merge pull request #158 from albertyw/python3
...
Remove support for python 2
2021-01-01 21:22:30 -05:00
Gary Moon
3a5ef5158d
Add ability to skip archived repositories
2020-10-30 15:39:32 -04:00
Albert Wang
d7b85264cd
Remove python 2 specific logic
2020-08-28 23:45:30 -07:00
Albert Wang
78cff47a91
Fix regex string
2020-08-28 23:13:24 -07:00
Albert Wang
fa27988c1c
Update boolean check
2020-08-28 23:13:23 -07:00
Albert Wang
bb2e2b8c6f
Fix whitespace issues
2020-08-28 23:13:23 -07:00
Albert Wang
8fd0f2b64f
Do not use bare excepts
2020-08-28 23:13:23 -07:00
Samantha Baldwin
a2115ce3e5
Make API request throttling optional
2020-08-05 11:53:17 -04:00
Matt Fields
356f5f674b
Add logic for transforming gist repository urls to ssh
2020-07-07 17:54:16 -04:00
Enrico Tröger
78098aae23
Add basic API request throttling
...
A simple approach to throttle API requests and so keep within the rate
limits of the API. Can be enabled with "--throttle-limit" to specify
when throttling should start.
"--throttle-pause" defines the time to sleep between further API
requests.
2020-04-13 23:06:09 +02:00
Enrico Tröger
03b9d1b2d8
Add timestamp to log messages
2020-04-13 22:11:48 +02:00
ethan
523c811cc6
#123 update: changed --as-app 'help' description
2020-02-25 13:13:20 -06:00
ethan
857ad0afab
#123 : Support Authenticating As Github Application
2020-02-25 12:35:24 -06:00
ethan
1865941b14
#50 update: keep main() in bin
2020-02-12 18:27:58 -06:00
ethan
03c68561a5
#50 - refactor for friendlier import
2020-02-10 17:22:21 -06:00