GitHub Action
75382afeae
Release version 0.45.2
2024-05-04 18:36:39 +00:00
GitHub Action
d835d47c17
Release version 0.45.1
2024-03-17 22:30:14 +00:00
dale-primer-e
9812988a4a
Remove trailing whitespaces
...
That are triggering flake.
2024-03-15 08:27:09 +13:00
dale-primer-e
1eccebcb83
Fix error with as_app flag
2024-03-14 15:27:22 +13:00
dale-primer-e
122eb56aa1
Fix error downloading assets
...
When downloading assets using a fine grained token you will get a "can't
concat str to bytes" error. This is due to the fine grained token being
concatenated onto bytes in the line:
`request.add_header("Authorization", "Basic ".encode("ascii") + auth)`
This is better handled in the function `_construct_request` so I changed
the lines that construct the request in `download_file` to use the
function `_construct_request` and updated the function signature to
reflect that.
2024-03-14 15:02:49 +13:00
GitHub Action
0857a37440
Release version 0.45.0
2024-01-29 12:52:57 +00:00
Jose Diaz-Gonzalez
585af4c4e3
Merge pull request #236 from BrOleg5/master
...
Add options to include certain number of latest release and skip prereleases
2024-01-29 07:51:35 -05:00
Moritz Federspiel
42b836f623
fix: Catch 404s for non-existing hooks. Fixes #176
...
Explanation: Repositories where no webhooks are defined return 404 errors. This breaks further script execution.
2024-01-16 15:17:48 +01:00
BrOleg5
09f4168db6
Fix code style.
2024-01-05 20:46:02 +08:00
BrOleg5
3e9a4fa0d8
Update CLI help output in README.
...
Rename destination of latest-releases argument.
2024-01-05 20:35:37 +08:00
BrOleg5
ab18e96ea8
Add option to skip prerelease versions.
...
Replace release sorting by tag with release sorting by creation date.
2024-01-05 20:26:08 +08:00
BrOleg5
eb88def888
Add option to include certain number of the latest releases.
2024-01-02 12:54:06 +08:00
GitHub Action
aaf45022cc
Release version 0.44.1
2023-12-09 05:53:43 +00:00
Jose Diaz-Gonzalez
2724f02b0a
chore: reformat file and update flake8
2023-12-09 00:30:44 -05:00
GitHub Action
e0bf80a6aa
Release version 0.44.0
2023-12-09 05:26:00 +00:00
Jose Diaz-Gonzalez
dbc1619106
Merge pull request #218 from Ondkloss/fix/win32logger
...
Suggested modification to fix win32 logging failure
2023-10-09 20:38:38 -04:00
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
Halvor Holsten Strand
6f3be3d0e8
Suggested modification to fix win32 logging failure, due to local variable scope.
...
Logger does not appear to have any utility within "logging_subprocess".
2023-10-07 19:02:52 +02:00
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
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
f1cf4cd315
Release version 0.43.1
2023-05-29 18:45:57 -04:00
Jose Diaz-Gonzalez
0ebaffd102
Release version 0.43.0
2023-05-29 18:44:23 -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
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
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
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
Harrison Wright
125cfca05e
Refactor logging and add support for quiet flag
2022-03-23 19:05:36 -05:00
Jose Diaz-Gonzalez
63441ebfbc
Release version 0.41.0
2022-03-02 02:36:41 -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
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