github-backup 0.61.4__tar.gz → 0.61.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. {github_backup-0.61.4 → github_backup-0.61.5}/CHANGES.rst +11 -1
  2. {github_backup-0.61.4/github_backup.egg-info → github_backup-0.61.5}/PKG-INFO +1 -1
  3. github_backup-0.61.5/github_backup/__init__.py +1 -0
  4. {github_backup-0.61.4 → github_backup-0.61.5}/github_backup/github_backup.py +2 -2
  5. {github_backup-0.61.4 → github_backup-0.61.5/github_backup.egg-info}/PKG-INFO +1 -1
  6. github_backup-0.61.4/github_backup/__init__.py +0 -1
  7. {github_backup-0.61.4 → github_backup-0.61.5}/LICENSE.txt +0 -0
  8. {github_backup-0.61.4 → github_backup-0.61.5}/MANIFEST.in +0 -0
  9. {github_backup-0.61.4 → github_backup-0.61.5}/README +0 -0
  10. {github_backup-0.61.4 → github_backup-0.61.5}/README.rst +0 -0
  11. {github_backup-0.61.4 → github_backup-0.61.5}/github_backup/__main__.py +0 -0
  12. {github_backup-0.61.4 → github_backup-0.61.5}/github_backup/cli.py +0 -0
  13. {github_backup-0.61.4 → github_backup-0.61.5}/github_backup.egg-info/SOURCES.txt +0 -0
  14. {github_backup-0.61.4 → github_backup-0.61.5}/github_backup.egg-info/dependency_links.txt +0 -0
  15. {github_backup-0.61.4 → github_backup-0.61.5}/github_backup.egg-info/entry_points.txt +0 -0
  16. {github_backup-0.61.4 → github_backup-0.61.5}/github_backup.egg-info/top_level.txt +0 -0
  17. {github_backup-0.61.4 → github_backup-0.61.5}/github_backup.egg-info/zip-safe +0 -0
  18. {github_backup-0.61.4 → github_backup-0.61.5}/release-requirements.txt +0 -0
  19. {github_backup-0.61.4 → github_backup-0.61.5}/requirements.txt +0 -0
  20. {github_backup-0.61.4 → github_backup-0.61.5}/setup.cfg +0 -0
  21. {github_backup-0.61.4 → github_backup-0.61.5}/setup.py +0 -0
  22. {github_backup-0.61.4 → github_backup-0.61.5}/tests/test_all_starred.py +0 -0
  23. {github_backup-0.61.4 → github_backup-0.61.5}/tests/test_attachments.py +0 -0
  24. {github_backup-0.61.4 → github_backup-0.61.5}/tests/test_case_sensitivity.py +0 -0
  25. {github_backup-0.61.4 → github_backup-0.61.5}/tests/test_http_451.py +0 -0
  26. {github_backup-0.61.4 → github_backup-0.61.5}/tests/test_json_dump_if_changed.py +0 -0
  27. {github_backup-0.61.4 → github_backup-0.61.5}/tests/test_pagination.py +0 -0
  28. {github_backup-0.61.4 → github_backup-0.61.5}/tests/test_retrieve_data.py +0 -0
  29. {github_backup-0.61.4 → github_backup-0.61.5}/tests/test_skip_assets_on.py +0 -0
  30. {github_backup-0.61.4 → github_backup-0.61.5}/tests/test_starred_skip_size_over.py +0 -0
@@ -1,9 +1,19 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
- 0.61.4 (2026-02-16)
4
+ 0.61.5 (2026-02-18)
5
5
  -------------------
6
6
  ------------------------
7
+ - Fix empty repository crash due to None timestamp comparison (#489)
8
+ [Rodos]
9
+
10
+ Empty repositories have None for pushed_at/updated_at, causing a
11
+ TypeError when compared to the last_update string. Use .get() with
12
+ truthiness check to skip None timestamps in incremental tracking.
13
+
14
+
15
+ 0.61.4 (2026-02-16)
16
+ -------------------
7
17
  - Fix HTTP 451 DMCA and 403 TOS handling regression (#487) [Rodos]
8
18
 
9
19
  The DMCA handling added in PR #454 had a bug: make_request_with_retry()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: github-backup
3
- Version: 0.61.4
3
+ Version: 0.61.5
4
4
  Summary: backup a github user or organization
5
5
  Home-page: http://github.com/josegonzalez/python-github-backup
6
6
  Author: Jose Diaz-Gonzalez
@@ -0,0 +1 @@
1
+ __version__ = "0.61.5"
@@ -1772,9 +1772,9 @@ def backup_repositories(args, output_directory, repositories):
1772
1772
 
1773
1773
  last_update = "0000-00-00T00:00:00Z"
1774
1774
  for repository in repositories:
1775
- if "updated_at" in repository and repository["updated_at"] > last_update:
1775
+ if repository.get("updated_at") and repository["updated_at"] > last_update:
1776
1776
  last_update = repository["updated_at"]
1777
- elif "pushed_at" in repository and repository["pushed_at"] > last_update:
1777
+ elif repository.get("pushed_at") and repository["pushed_at"] > last_update:
1778
1778
  last_update = repository["pushed_at"]
1779
1779
 
1780
1780
  if repository.get("is_gist"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: github-backup
3
- Version: 0.61.4
3
+ Version: 0.61.5
4
4
  Summary: backup a github user or organization
5
5
  Home-page: http://github.com/josegonzalez/python-github-backup
6
6
  Author: Jose Diaz-Gonzalez
@@ -1 +0,0 @@
1
- __version__ = "0.61.4"
File without changes
File without changes
File without changes