mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2026-04-08 18:45:36 +02:00
Compare commits
18 Commits
0.61.4
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9fde6ed1ff | ||
|
|
9a9b069e14 | ||
|
|
f85c759e5d | ||
|
|
26a6e1df1b | ||
|
|
3d961d1118 | ||
|
|
20f9542063 | ||
|
|
bbf76e70eb | ||
|
|
ca70725449 | ||
|
|
653ceb1e12 | ||
|
|
ba1575538b | ||
|
|
d5be07ec80 | ||
|
|
5758e489e8 | ||
|
|
cceef92346 | ||
|
|
7f1807aaf8 | ||
|
|
8a0553a5b1 | ||
|
|
68af1d406a | ||
|
|
b112b43a08 | ||
|
|
f54a5458f6 |
10
.github/workflows/docker.yml
vendored
10
.github/workflows/docker.yml
vendored
@@ -43,13 +43,13 @@ jobs:
|
|||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v4
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v4
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v4
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
@@ -57,7 +57,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v6
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
12
CHANGES.rst
12
CHANGES.rst
@@ -1,9 +1,19 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
0.61.4 (2026-02-16)
|
0.61.5 (2026-02-18)
|
||||||
-------------------
|
-------------------
|
||||||
------------------------
|
------------------------
|
||||||
|
- Fix empty repository crash due to None timestamp comparison (#489)
|
||||||
|
[Rodos]
|
||||||
|
|
||||||
|
Empty repositories have None for pushed_at/updated_at, causing a
|
||||||
|
TypeError when compared to the last_update string. Use .get() with
|
||||||
|
truthiness check to skip None timestamps in incremental tracking.
|
||||||
|
|
||||||
|
|
||||||
|
0.61.4 (2026-02-16)
|
||||||
|
-------------------
|
||||||
- Fix HTTP 451 DMCA and 403 TOS handling regression (#487) [Rodos]
|
- Fix HTTP 451 DMCA and 403 TOS handling regression (#487) [Rodos]
|
||||||
|
|
||||||
The DMCA handling added in PR #454 had a bug: make_request_with_retry()
|
The DMCA handling added in PR #454 had a bug: make_request_with_retry()
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "0.61.4"
|
__version__ = "0.61.5"
|
||||||
|
|||||||
@@ -1772,9 +1772,9 @@ def backup_repositories(args, output_directory, repositories):
|
|||||||
|
|
||||||
last_update = "0000-00-00T00:00:00Z"
|
last_update = "0000-00-00T00:00:00Z"
|
||||||
for repository in repositories:
|
for repository in repositories:
|
||||||
if "updated_at" in repository and repository["updated_at"] > last_update:
|
if repository.get("updated_at") and repository["updated_at"] > last_update:
|
||||||
last_update = repository["updated_at"]
|
last_update = repository["updated_at"]
|
||||||
elif "pushed_at" in repository and repository["pushed_at"] > last_update:
|
elif repository.get("pushed_at") and repository["pushed_at"] > last_update:
|
||||||
last_update = repository["pushed_at"]
|
last_update = repository["pushed_at"]
|
||||||
|
|
||||||
if repository.get("is_gist"):
|
if repository.get("is_gist"):
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
# Linting & Formatting
|
# Linting & Formatting
|
||||||
autopep8==2.3.2
|
autopep8==2.3.2
|
||||||
black==26.1.0
|
black==26.3.1
|
||||||
flake8==7.3.0
|
flake8==7.3.0
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
pytest==9.0.2
|
pytest==9.0.3
|
||||||
|
|
||||||
# Release & Publishing
|
# Release & Publishing
|
||||||
twine==6.2.0
|
twine==6.2.0
|
||||||
gitchangelog==3.0.4
|
gitchangelog==3.0.4
|
||||||
setuptools==82.0.0
|
setuptools==82.0.1
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
restructuredtext-lint==2.0.2
|
restructuredtext-lint==2.0.2
|
||||||
|
|||||||
Reference in New Issue
Block a user