Halvor Holsten Strand
b277baa6ea
Update github_backup.py
2023-10-02 09:14:40 +02:00
Halvor Holsten Strand
15de769d67
Simplified one if/elif scenario.
...
Extracted file reading of another if/elif scenario.
2023-10-01 22:22:15 +02:00
Halvor Holsten Strand
a9d35c0fd5
Ran black.
2023-09-29 14:40:16 +02:00
Halvor Holsten Strand
20f5fd7a86
Merge branch 'master' into feature/fine_grained
...
# Conflicts:
# README.rst
# github_backup/github_backup.py
2023-09-29 14:34:06 +02:00
Halvor Holsten Strand
f12b877509
Keep backwards compatability by going back to "--token" for classic.
...
Allow "file://" uri for "--token-fine".
2023-09-29 14:01:53 +02:00
Jose Diaz-Gonzalez
d163cd66a4
Merge pull request #214 from ZhymabekRoman/master
...
fix: refactor logging
2023-06-27 15:21:16 -04:00
ZhymabekRoman
a8a583bed1
fix: minor cosmetic changes
2023-06-25 10:41:48 +06:00
ZhymabekRoman
68e718010f
fix: add forgotten variable formatting
2023-06-25 10:39:16 +06:00
ZhymabekRoman
a06c3e9fd3
fix: refactor logging
...
Based on #195
2023-06-25 10:38:31 +06:00
Jose Diaz-Gonzalez
fe07d5ad09
Merge pull request #212 from ZhymabekRoman/dev-1
...
fix: minor typo fix
2023-06-23 13:04:17 -04:00
Zhymabek Roman
12799bb72c
fix: minor typo fix
2023-06-23 21:27:52 +06:00
Jose Diaz-Gonzalez
f1cf4cd315
Release version 0.43.1
0.43.1
2023-05-29 18:45:57 -04:00
Jose Diaz-Gonzalez
f3340cd9eb
chore: add release requirements
2023-05-29 18:45:49 -04:00
Jose Diaz-Gonzalez
0ebaffd102
Release version 0.43.0
0.43.0
2023-05-29 18:44:23 -04:00
Jose Diaz-Gonzalez
2730fc3e5a
fix: do not update readme
2023-05-29 18:44:13 -04:00
Jose Diaz-Gonzalez
0b2330c2c4
fix: adjust for black
2023-05-29 18:43:29 -04:00
Jose Diaz-Gonzalez
82e35fb1cf
feat: commit gitchangelog.rc to repo so anyone can generate a changelog
2023-05-29 18:43:23 -04:00
Jose Diaz-Gonzalez
e8f027469e
fix: adjust for black
2023-05-29 18:37:02 -04:00
Jose Diaz-Gonzalez
37ef0222e1
fix: adjust for black
2023-05-29 18:36:06 -04:00
Jose Diaz-Gonzalez
96a73b3fe8
feat: add release tagging
2023-05-29 18:35:07 -04:00
Jose Diaz-Gonzalez
8b1bfd433c
chore: formatting
2023-05-29 18:34:22 -04:00
Jose Diaz-Gonzalez
cca8a851ad
chore: run black
2023-05-29 18:32:39 -04:00
josegonzalez
b5d749ec46
Merge pull request #199 from eht16/add_log_level_argument
...
Add --log-level command line argument
2023-05-29 18:29:41 -04:00
josegonzalez
00e5c019db
Merge pull request #207 from kenbailey/kenbailey-patch-1
...
Check both updated_at and pushed_at properties
2023-05-29 18:29:29 -04:00
Robert Davey
61275c61b2
Update README.rst
...
Add flags and example for fine-grained tokens
2023-03-28 16:52:48 +01:00
froggleston
60cb484a19
Add support for fine-grained tokens
2023-03-22 14:53:07 +00:00
Ken Bailey
fbb977acf4
Check both updated_at and pushed_at properties
...
Check both updated_at and pushed_at dates to get the last_update to reduce data retrieved on incremental api calls using since.
2023-02-28 15:44:14 -07:00
Jose Diaz-Gonzalez
07e32b186c
Release version 0.42.0
0.42.0
2022-11-28 00:25:13 -05:00
josegonzalez
dcc90b747a
Merge pull request #204 from Assimila/exclude_repositories
...
Add option to exclude repositories
2022-11-28 00:23:20 -05:00
josegonzalez
f414fac108
Merge pull request #202 from TheOneric/pull_backup-regular-comments
...
Backup regular pull request comments as well
2022-11-28 00:23:08 -05:00
josegonzalez
38692bc836
Merge pull request #201 from TRAdEWORKS/fix-bug-request-url-error-forever-retry
...
Fix a bug forever retry when request url error
2022-11-28 00:22:54 -05:00
josegonzalez
81362e5596
Merge pull request #200 from TRAdEWORKS/no-prune-flag
...
Add --no-prune command line argument to disable prune option when doing git fetch
2022-11-28 00:22:40 -05:00
npounder
753a26d0d6
add option to exclude repositories
2022-11-25 12:35:24 +00:00
Oneric
b629a865f4
Backup regular pull request comments as well
...
Before, only review comments were backed up;
regular comments need to be fetched via issue API.
Fixes: https://github.com/josegonzalez/python-github-backup/issues/150
2022-07-12 18:38:11 +02:00
kornpisey
75ec773a6f
fix bug forever retry when request url error
2022-05-30 13:50:23 +09:00
kornpisey
f8a16ee0f8
added --no-prune option to disable prune option when doing git fetch
2022-05-30 13:46:41 +09:00
Enrico Tröger
3d5eb359e2
Add --log-level command line argument
...
Support changing the log level to the desired value easily.
For example, this is useful to suppress progress messages but
keep logging warnings and errors.
2022-05-26 10:04:36 +02:00
Jose Diaz-Gonzalez
63441ebfbc
Release version 0.41.0
0.41.0
2022-03-02 02:36:41 -05:00
Jose Diaz-Gonzalez
7ad324225e
Merge pull request #191 from SkySoft-ATM/bug/lfs_mirror
...
git lfs clone does not respect --mirror
2022-03-02 02:34:17 -05:00
Louis Parisot
885e94a102
git lfs clone doe snot respect --mirror
2022-02-03 11:45:59 +01:00
Jose Diaz-Gonzalez
9e1800f56e
Release version 0.40.2
0.40.2
2021-12-29 12:49:10 -05:00
Jose Diaz-Gonzalez
d057ee0d04
Merge pull request #186 from atinary-afoulon/patch-1
...
Fix lint issues raised by Flake8
2021-12-29 12:48:30 -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
0.40.1
2021-09-22 12:29:08 -04:00
Jose Diaz-Gonzalez
048ef04e2a
Merge pull request #180 from whwright/revert-to-fetch
...
Revert to fetch
2021-09-22 11:06:18 -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
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
Jose Diaz-Gonzalez
c2e3665ed8
Merge pull request #178 from pew/patch-1
...
pull changes from remote
2021-07-12 00:43:10 -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