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
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
uses: docker/setup-qemu-action@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v4
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v4
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -57,7 +57,7 @@ jobs:
|
||||
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
uses: docker/metadata-action@v6
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
tags: |
|
||||
@@ -68,7 +68,7 @@ jobs:
|
||||
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v6
|
||||
uses: docker/build-push-action@v7
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
|
||||
12
CHANGES.rst
12
CHANGES.rst
@@ -1,9 +1,19 @@
|
||||
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]
|
||||
|
||||
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"
|
||||
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"]
|
||||
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"]
|
||||
|
||||
if repository.get("is_gist"):
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
# Linting & Formatting
|
||||
autopep8==2.3.2
|
||||
black==26.1.0
|
||||
black==26.3.1
|
||||
flake8==7.3.0
|
||||
|
||||
# Testing
|
||||
pytest==9.0.2
|
||||
pytest==9.0.3
|
||||
|
||||
# Release & Publishing
|
||||
twine==6.2.0
|
||||
gitchangelog==3.0.4
|
||||
setuptools==82.0.0
|
||||
setuptools==82.0.1
|
||||
|
||||
# Documentation
|
||||
restructuredtext-lint==2.0.2
|
||||
|
||||
Reference in New Issue
Block a user