Halvor Holsten Strand
7437e3abb1
Merge pull request, while keeping -q --quiet flag.
...
Most changes were already included, only adjusted with black formatting.
2023-10-09 12:01:32 +02:00
Harrison Wright
125cfca05e
Refactor logging and add support for quiet flag
2022-03-23 19:05:36 -05:00
Jose Diaz-Gonzalez
9e1800f56e
Release version 0.40.2
2021-12-29 12:49:10 -05: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
Jose Diaz-Gonzalez
f7f9ffd017
Release version 0.40.1
2021-09-22 12:29:08 -04:00
Harrison Wright
b1acfed83a
Revert to fetch
2021-07-14 10:53:14 -05:00
Jose Diaz-Gonzalez
18e78a4d66
Release version 0.40.0
2021-07-12 00:44:33 -04: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
853b7c46a1
Release version 0.39.0
2021-03-18 23:16:04 -04: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
Jose Diaz-Gonzalez
943e84e3d9
Release version 0.38.0
2021-02-13 03:55:02 -05: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
5a71bc5e5a
Release version 0.37.2
2021-01-01 21:31:06 -05:00
Jose Diaz-Gonzalez
977424c153
Release version 0.37.1
2021-01-01 21:28:25 -05:00
Jose Diaz-Gonzalez
638bf7a77e
Release version 0.37.0
2021-01-01 21:23:49 -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
Jose Diaz-Gonzalez
031a984434
Release version 0.36.0
2020-08-29 02:37:48 -04: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
Jose Diaz-Gonzalez
751b0d6e82
Release version 0.35.0
2020-08-05 12:02:21 -04:00
Samantha Baldwin
a2115ce3e5
Make API request throttling optional
2020-08-05 11:53:17 -04:00
Jose Diaz-Gonzalez
8a00bb1903
Release version 0.34.0
2020-07-24 13:31:03 -04:00
Matt Fields
356f5f674b
Add logic for transforming gist repository urls to ssh
2020-07-07 17:54:16 -04:00
Jose Diaz-Gonzalez
13128635cb
Release version 0.33.1
2020-05-28 16:44:40 -04:00
Jose Diaz-Gonzalez
70f711ea68
Release version 0.33.0
2020-04-13 17:14:20 -04:00
Jose Diaz-Gonzalez
3fc9957aac
Merge pull request #149 from eht16/simple_api_request_throttling
...
Add basic API request throttling
2020-04-13 17:13:58 -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
Jose Diaz-Gonzalez
fb7cc5ed53
Release version 0.32.0
2020-04-13 17:02:59 -04:00
Enrico Tröger
03b9d1b2d8
Add timestamp to log messages
2020-04-13 22:11:48 +02:00
Jose Diaz-Gonzalez
85e4399408
Release version 0.31.0
2020-02-25 14:41:22 -05: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
Jose Diaz-Gonzalez
3f65eadee1
Release version 0.30.0
2020-02-14 12:01:05 -05:00
Jose Diaz-Gonzalez
a8e8841b26
Release version 0.29.0
2020-02-14 12:00:07 -05: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
Jose Diaz-Gonzalez
196acd0aca
Release version 0.28.0
2020-02-03 11:41:34 -05:00
Jose Diaz-Gonzalez
498d9eba32
Release version 0.27.0
2020-01-21 21:29:44 -05:00
Jose Diaz-Gonzalez
fac8e4274f
Release version 0.26.0
2019-09-23 11:45:01 -04:00
Jose Diaz-Gonzalez
b73079daf2
Release version 0.25.0
2019-07-03 17:46:12 -04:00
Jose Diaz-Gonzalez
6db5bd731b
Release version 0.24.0
2019-06-27 11:24:43 -04:00
Jose Diaz-Gonzalez
2340a02fc6
Release version 0.23.0
2019-06-04 14:43:32 -04:00