mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-05 16:18:02 +01:00
Compare commits
86 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0846e7d8e5 | ||
|
|
503444359d | ||
|
|
04c70ce277 | ||
|
|
e774c70275 | ||
|
|
ba46cb87e8 | ||
|
|
883407f8ca | ||
|
|
aacb252e57 | ||
|
|
2623167110 | ||
|
|
f6ad296730 | ||
|
|
c8eef58d76 | ||
|
|
8eb154a540 | ||
|
|
2e9db92b68 | ||
|
|
09bbcfc7b1 | ||
|
|
4e14f5a2c6 | ||
|
|
b474e1654f | ||
|
|
71d70265cc | ||
|
|
2309b0cb76 | ||
|
|
1e14a4eecd | ||
|
|
56d3fd75bf | ||
|
|
c3e470b34e | ||
|
|
4948178a63 | ||
|
|
88de80c480 | ||
|
|
15eeff7879 | ||
|
|
4bb71db468 | ||
|
|
17af2cbc28 | ||
|
|
e0d66daadb | ||
|
|
1971c97b5d | ||
|
|
b1b3df692d | ||
|
|
8d7311efbf | ||
|
|
8449d6352d | ||
|
|
d8c228c83e | ||
|
|
4a134ae2ec | ||
|
|
5cb7c6ad2e | ||
|
|
75382afeae | ||
|
|
f325daa875 | ||
|
|
2cc34de2a3 | ||
|
|
dea87873f9 | ||
|
|
0288b5f553 | ||
|
|
02a07d3f0d | ||
|
|
24a7b1f885 | ||
|
|
22fa2eb97e | ||
|
|
cb147cf6d0 | ||
|
|
298724acfc | ||
|
|
65d541f577 | ||
|
|
8b08685678 | ||
|
|
b18ba6de28 | ||
|
|
358d1e3d3e | ||
|
|
1cd04281e9 | ||
|
|
6630b2b82e | ||
|
|
391f2ba305 | ||
|
|
1f0bf50381 | ||
|
|
eb44c735eb | ||
|
|
caff40e65b | ||
|
|
bba39fb4c8 | ||
|
|
093db93994 | ||
|
|
d835d47c17 | ||
|
|
2cd9061c46 | ||
|
|
0cc50bc4cb | ||
|
|
436e8df0ac | ||
|
|
9812988a4a | ||
|
|
1eccebcb83 | ||
|
|
122eb56aa1 | ||
|
|
a0fdae3314 | ||
|
|
80fa92664c | ||
|
|
7b69394488 | ||
|
|
d1d3d84d95 | ||
|
|
fff2aa4075 | ||
|
|
8eba46d8a7 | ||
|
|
9dc3458dba | ||
|
|
e9d7692123 | ||
|
|
a1ef61f87c | ||
|
|
6b62973997 | ||
|
|
b25af67898 | ||
|
|
0380fb8e35 | ||
|
|
f62fe5e6c9 | ||
|
|
c97598c914 | ||
|
|
c488b0adf9 | ||
|
|
888815c271 | ||
|
|
66e11aa532 | ||
|
|
d1874c0bd9 | ||
|
|
4c07bd1310 | ||
|
|
fd2d398025 | ||
|
|
53d2ceec10 | ||
|
|
421a7ec62b | ||
|
|
ec43649bcd | ||
|
|
e869844dba |
4
.github/dependabot.yml
vendored
4
.github/dependabot.yml
vendored
@@ -9,3 +9,7 @@ updates:
|
|||||||
python-packages:
|
python-packages:
|
||||||
patterns:
|
patterns:
|
||||||
- "*"
|
- "*"
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
|
|||||||
6
.github/workflows/automatic-release.yml
vendored
6
.github/workflows/automatic-release.yml
vendored
@@ -15,7 +15,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
name: Release
|
name: Release
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -27,9 +27,9 @@ jobs:
|
|||||||
git config --local user.email "action@github.com"
|
git config --local user.email "action@github.com"
|
||||||
git config --local user.name "GitHub Action"
|
git config --local user.name "GitHub Action"
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.12'
|
||||||
- name: Install prerequisites
|
- name: Install prerequisites
|
||||||
run: pip install -r release-requirements.txt
|
run: pip install -r release-requirements.txt
|
||||||
- name: Execute release
|
- name: Execute release
|
||||||
|
|||||||
14
.github/workflows/docker.yml
vendored
14
.github/workflows/docker.yml
vendored
@@ -38,16 +38,18 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
@@ -55,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@v4
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
@@ -66,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@v4
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@@ -14,7 +14,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
name: lint
|
name: lint
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@@ -22,9 +22,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.8"
|
python-version: "3.12"
|
||||||
cache: "pip"
|
cache: "pip"
|
||||||
- run: pip install -r release-requirements.txt && pip install wheel
|
- run: pip install -r release-requirements.txt && pip install wheel
|
||||||
- run: flake8 --ignore=E501,E203,W503
|
- run: flake8 --ignore=E501,E203,W503
|
||||||
|
|||||||
677
CHANGES.rst
677
CHANGES.rst
@@ -1,10 +1,685 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
0.45.0 (2024-01-29)
|
0.46.0 (2024-09-11)
|
||||||
-------------------
|
-------------------
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
|
Fix
|
||||||
|
~~~
|
||||||
|
- Do not double encode auth when retrieving release assets. [Jarl
|
||||||
|
Totland]
|
||||||
|
- Add now missing setuptools. [Jose Diaz-Gonzalez]
|
||||||
|
|
||||||
|
Other
|
||||||
|
~~~~~
|
||||||
|
- Git fetch is required even when using lfs. [Louis Parisot]
|
||||||
|
- Upgrade github workflow ubuntu containers to newest LTS. [Albert Wang]
|
||||||
|
- Chore(deps): bump certifi from 2024.6.2 to 2024.7.4. [dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.6.2 to 2024.7.4.
|
||||||
|
- [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: certifi
|
||||||
|
dependency-type: direct:production
|
||||||
|
...
|
||||||
|
- Chore(deps): bump docker/build-push-action from 5 to 6.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
|
||||||
|
- [Release notes](https://github.com/docker/build-push-action/releases)
|
||||||
|
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: docker/build-push-action
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-major
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group across 1 directory with 3
|
||||||
|
updates. [dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 3 updates in the / directory: [autopep8](https://github.com/hhatto/autopep8), [importlib-metadata](https://github.com/python/importlib_metadata) and [setuptools](https://github.com/pypa/setuptools).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `autopep8` from 2.3.0 to 2.3.1
|
||||||
|
- [Release notes](https://github.com/hhatto/autopep8/releases)
|
||||||
|
- [Commits](https://github.com/hhatto/autopep8/compare/v2.3.0...v2.3.1)
|
||||||
|
|
||||||
|
Updates `importlib-metadata` from 7.2.0 to 7.2.1
|
||||||
|
- [Release notes](https://github.com/python/importlib_metadata/releases)
|
||||||
|
- [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/python/importlib_metadata/compare/v7.2.0...v7.2.1)
|
||||||
|
|
||||||
|
Updates `setuptools` from 70.1.0 to 70.1.1
|
||||||
|
- [Release notes](https://github.com/pypa/setuptools/releases)
|
||||||
|
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/pypa/setuptools/compare/v70.1.0...v70.1.1)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: autopep8
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: importlib-metadata
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: setuptools
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group across 1 directory with 2
|
||||||
|
updates. [dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 2 updates in the / directory: [importlib-metadata](https://github.com/python/importlib_metadata) and [setuptools](https://github.com/pypa/setuptools).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `importlib-metadata` from 7.1.0 to 7.2.0
|
||||||
|
- [Release notes](https://github.com/python/importlib_metadata/releases)
|
||||||
|
- [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/python/importlib_metadata/compare/v7.1.0...v7.2.0)
|
||||||
|
|
||||||
|
Updates `setuptools` from 70.0.0 to 70.1.0
|
||||||
|
- [Release notes](https://github.com/pypa/setuptools/releases)
|
||||||
|
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/pypa/setuptools/compare/v70.0.0...v70.1.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: importlib-metadata
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: setuptools
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 3 updates.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 3 updates: [autopep8](https://github.com/hhatto/autopep8), [flake8](https://github.com/pycqa/flake8) and [pycodestyle](https://github.com/PyCQA/pycodestyle).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `autopep8` from 2.2.0 to 2.3.0
|
||||||
|
- [Release notes](https://github.com/hhatto/autopep8/releases)
|
||||||
|
- [Commits](https://github.com/hhatto/autopep8/compare/v2.2.0...v2.3.0)
|
||||||
|
|
||||||
|
Updates `flake8` from 7.0.0 to 7.1.0
|
||||||
|
- [Commits](https://github.com/pycqa/flake8/compare/7.0.0...7.1.0)
|
||||||
|
|
||||||
|
Updates `pycodestyle` from 2.11.1 to 2.12.0
|
||||||
|
- [Release notes](https://github.com/PyCQA/pycodestyle/releases)
|
||||||
|
- [Changelog](https://github.com/PyCQA/pycodestyle/blob/main/CHANGES.txt)
|
||||||
|
- [Commits](https://github.com/PyCQA/pycodestyle/compare/2.11.1...2.12.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: autopep8
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: flake8
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: pycodestyle
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump urllib3 from 2.2.1 to 2.2.2. [dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2.
|
||||||
|
- [Release notes](https://github.com/urllib3/urllib3/releases)
|
||||||
|
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
|
||||||
|
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: urllib3
|
||||||
|
dependency-type: direct:production
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group across 1 directory with 7
|
||||||
|
updates. [dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 7 updates in the / directory:
|
||||||
|
|
||||||
|
| Package | From | To |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| [autopep8](https://github.com/hhatto/autopep8) | `2.1.1` | `2.2.0` |
|
||||||
|
| [certifi](https://github.com/certifi/python-certifi) | `2024.2.2` | `2024.6.2` |
|
||||||
|
| [more-itertools](https://github.com/more-itertools/more-itertools) | `10.2.0` | `10.3.0` |
|
||||||
|
| [packaging](https://github.com/pypa/packaging) | `24.0` | `24.1` |
|
||||||
|
| [pkginfo](https://code.launchpad.net/~tseaver/pkginfo/trunk) | `1.10.0` | `1.11.1` |
|
||||||
|
| [requests](https://github.com/psf/requests) | `2.32.2` | `2.32.3` |
|
||||||
|
| [zipp](https://github.com/jaraco/zipp) | `3.18.2` | `3.19.2` |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Updates `autopep8` from 2.1.1 to 2.2.0
|
||||||
|
- [Release notes](https://github.com/hhatto/autopep8/releases)
|
||||||
|
- [Commits](https://github.com/hhatto/autopep8/compare/v2.1.1...v2.2.0)
|
||||||
|
|
||||||
|
Updates `certifi` from 2024.2.2 to 2024.6.2
|
||||||
|
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.06.02)
|
||||||
|
|
||||||
|
Updates `more-itertools` from 10.2.0 to 10.3.0
|
||||||
|
- [Release notes](https://github.com/more-itertools/more-itertools/releases)
|
||||||
|
- [Commits](https://github.com/more-itertools/more-itertools/compare/v10.2.0...v10.3.0)
|
||||||
|
|
||||||
|
Updates `packaging` from 24.0 to 24.1
|
||||||
|
- [Release notes](https://github.com/pypa/packaging/releases)
|
||||||
|
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
|
||||||
|
- [Commits](https://github.com/pypa/packaging/compare/24.0...24.1)
|
||||||
|
|
||||||
|
Updates `pkginfo` from 1.10.0 to 1.11.1
|
||||||
|
|
||||||
|
Updates `requests` from 2.32.2 to 2.32.3
|
||||||
|
- [Release notes](https://github.com/psf/requests/releases)
|
||||||
|
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
|
||||||
|
- [Commits](https://github.com/psf/requests/compare/v2.32.2...v2.32.3)
|
||||||
|
|
||||||
|
Updates `zipp` from 3.18.2 to 3.19.2
|
||||||
|
- [Release notes](https://github.com/jaraco/zipp/releases)
|
||||||
|
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/jaraco/zipp/compare/v3.18.2...v3.19.2)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: autopep8
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: certifi
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: more-itertools
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: packaging
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: pkginfo
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: requests
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: zipp
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- --- updated-dependencies: - dependency-name: autopep8 dependency-
|
||||||
|
type: direct:production update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages - dependency-name: black
|
||||||
|
dependency-type: direct:production update-type: version-
|
||||||
|
update:semver-minor dependency-group: python-packages - dependency-
|
||||||
|
name: docutils dependency-type: direct:production update-type:
|
||||||
|
version-update:semver-minor dependency-group: python-packages -
|
||||||
|
dependency-name: keyring dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor dependency-group: python-
|
||||||
|
packages - dependency-name: platformdirs dependency-type:
|
||||||
|
direct:production update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages - dependency-name: pygments
|
||||||
|
dependency-type: direct:production update-type: version-
|
||||||
|
update:semver-minor dependency-group: python-packages - dependency-
|
||||||
|
name: requests dependency-type: direct:production update-type:
|
||||||
|
version-update:semver-minor dependency-group: python-packages -
|
||||||
|
dependency-name: tqdm dependency-type: direct:production update-
|
||||||
|
type: version-update:semver-patch dependency-group: python-packages
|
||||||
|
- dependency-name: twine dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor dependency-group: python-
|
||||||
|
packages - dependency-name: zipp dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-patch dependency-group: python-
|
||||||
|
packages ... [dependabot[bot]]
|
||||||
|
- Chore: update python version in release workflow. [Jose Diaz-Gonzalez]
|
||||||
|
- Chore: update python version used in linting. [Jose Diaz-Gonzalez]
|
||||||
|
- Chore: drop unsupported python versions and add supported ones. [Jose
|
||||||
|
Diaz-Gonzalez]
|
||||||
|
- --- updated-dependencies: - dependency-name: requests dependency-
|
||||||
|
type: direct:production ... [dependabot[bot]]
|
||||||
|
- Chore(deps): bump tqdm from 4.66.2 to 4.66.3. [dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.66.2 to 4.66.3.
|
||||||
|
- [Release notes](https://github.com/tqdm/tqdm/releases)
|
||||||
|
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.2...v4.66.3)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: tqdm
|
||||||
|
dependency-type: direct:production
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
0.45.2 (2024-05-04)
|
||||||
|
-------------------
|
||||||
|
- Chore(deps): bump idna from 3.6 to 3.7. [dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
|
||||||
|
- [Release notes](https://github.com/kjd/idna/releases)
|
||||||
|
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
|
||||||
|
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: idna
|
||||||
|
dependency-type: direct:production
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 1 update.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 1 update: [keyring](https://github.com/jaraco/keyring).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `keyring` from 25.0.0 to 25.1.0
|
||||||
|
- [Release notes](https://github.com/jaraco/keyring/releases)
|
||||||
|
- [Changelog](https://github.com/jaraco/keyring/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/jaraco/keyring/compare/v25.0.0...v25.1.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: keyring
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 1 update.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 1 update: [jaraco-classes](https://github.com/jaraco/jaraco.classes).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `jaraco-classes` from 3.3.1 to 3.4.0
|
||||||
|
- [Release notes](https://github.com/jaraco/jaraco.classes/releases)
|
||||||
|
- [Changelog](https://github.com/jaraco/jaraco.classes/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/jaraco/jaraco.classes/compare/v3.3.1...v3.4.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: jaraco-classes
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 1 update.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 1 update: [keyring](https://github.com/jaraco/keyring).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `keyring` from 24.3.1 to 25.0.0
|
||||||
|
- [Release notes](https://github.com/jaraco/keyring/releases)
|
||||||
|
- [Changelog](https://github.com/jaraco/keyring/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/jaraco/keyring/compare/v24.3.1...v25.0.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: keyring
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-major
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 1 update.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 1 update: [importlib-metadata](https://github.com/python/importlib_metadata).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `importlib-metadata` from 7.0.2 to 7.1.0
|
||||||
|
- [Release notes](https://github.com/python/importlib_metadata/releases)
|
||||||
|
- [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/python/importlib_metadata/compare/v7.0.2...v7.1.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: importlib-metadata
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump actions/setup-python from 4 to 5. [dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
|
||||||
|
- [Release notes](https://github.com/actions/setup-python/releases)
|
||||||
|
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: actions/setup-python
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-major
|
||||||
|
...
|
||||||
|
- Scheduled dependabot for GitHub Actions. [paranerd]
|
||||||
|
- Chore(deps): bump the python-packages group with 2 updates.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 2 updates: [autopep8](https://github.com/hhatto/autopep8) and [black](https://github.com/psf/black).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `autopep8` from 2.0.4 to 2.1.0
|
||||||
|
- [Release notes](https://github.com/hhatto/autopep8/releases)
|
||||||
|
- [Commits](https://github.com/hhatto/autopep8/compare/v2.0.4...v2.1.0)
|
||||||
|
|
||||||
|
Updates `black` from 24.2.0 to 24.3.0
|
||||||
|
- [Release notes](https://github.com/psf/black/releases)
|
||||||
|
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
|
||||||
|
- [Commits](https://github.com/psf/black/compare/24.2.0...24.3.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: autopep8
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: black
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Added Docker info to README. [paranerd]
|
||||||
|
- Disable credential persistance on checkout. [paranerd]
|
||||||
|
- Bumped actions versions to latest. [paranerd]
|
||||||
|
|
||||||
|
|
||||||
|
0.45.1 (2024-03-17)
|
||||||
|
-------------------
|
||||||
|
- Remove trailing whitespaces. [dale-primer-e]
|
||||||
|
|
||||||
|
That are triggering flake.
|
||||||
|
- Fix error with as_app flag. [dale-primer-e]
|
||||||
|
- Fix error downloading assets. [dale-primer-e]
|
||||||
|
|
||||||
|
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.
|
||||||
|
- Chore(deps): bump the python-packages group with 1 update.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 1 update: [zipp](https://github.com/jaraco/zipp).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `zipp` from 3.18.0 to 3.18.1
|
||||||
|
- [Release notes](https://github.com/jaraco/zipp/releases)
|
||||||
|
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/jaraco/zipp/compare/v3.18.0...v3.18.1)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: zipp
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 1 update.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 1 update: [zipp](https://github.com/jaraco/zipp).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `zipp` from 3.17.0 to 3.18.0
|
||||||
|
- [Release notes](https://github.com/jaraco/zipp/releases)
|
||||||
|
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/jaraco/zipp/compare/v3.17.0...v3.18.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: zipp
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 2 updates.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 2 updates: [importlib-metadata](https://github.com/python/importlib_metadata) and [packaging](https://github.com/pypa/packaging).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `importlib-metadata` from 7.0.1 to 7.0.2
|
||||||
|
- [Release notes](https://github.com/python/importlib_metadata/releases)
|
||||||
|
- [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/python/importlib_metadata/compare/v7.0.1...v7.0.2)
|
||||||
|
|
||||||
|
Updates `packaging` from 23.2 to 24.0
|
||||||
|
- [Release notes](https://github.com/pypa/packaging/releases)
|
||||||
|
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
|
||||||
|
- [Commits](https://github.com/pypa/packaging/compare/23.2...24.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: importlib-metadata
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: packaging
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-major
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 2 updates.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 2 updates: [pkginfo](https://code.launchpad.net/~tseaver/pkginfo/trunk) and [rich](https://github.com/Textualize/rich).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `pkginfo` from 1.9.6 to 1.10.0
|
||||||
|
|
||||||
|
Updates `rich` from 13.7.0 to 13.7.1
|
||||||
|
- [Release notes](https://github.com/Textualize/rich/releases)
|
||||||
|
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md)
|
||||||
|
- [Commits](https://github.com/Textualize/rich/compare/v13.7.0...v13.7.1)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: pkginfo
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: rich
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 1 update.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 1 update: [keyring](https://github.com/jaraco/keyring).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `keyring` from 24.3.0 to 24.3.1
|
||||||
|
- [Release notes](https://github.com/jaraco/keyring/releases)
|
||||||
|
- [Changelog](https://github.com/jaraco/keyring/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/jaraco/keyring/compare/v24.3.0...v24.3.1)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: keyring
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 1 update.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 1 update: [readme-renderer](https://github.com/pypa/readme_renderer).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `readme-renderer` from 42.0 to 43.0
|
||||||
|
- [Release notes](https://github.com/pypa/readme_renderer/releases)
|
||||||
|
- [Changelog](https://github.com/pypa/readme_renderer/blob/main/CHANGES.rst)
|
||||||
|
- [Commits](https://github.com/pypa/readme_renderer/compare/42.0...43.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: readme-renderer
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-major
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 1 update.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 1 update: [urllib3](https://github.com/urllib3/urllib3).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `urllib3` from 2.2.0 to 2.2.1
|
||||||
|
- [Release notes](https://github.com/urllib3/urllib3/releases)
|
||||||
|
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
|
||||||
|
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.0...2.2.1)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: urllib3
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 1 update.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 1 update: [black](https://github.com/psf/black).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `black` from 24.1.1 to 24.2.0
|
||||||
|
- [Release notes](https://github.com/psf/black/releases)
|
||||||
|
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
|
||||||
|
- [Commits](https://github.com/psf/black/compare/24.1.1...24.2.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: black
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 2 updates.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 2 updates: [tqdm](https://github.com/tqdm/tqdm) and [twine](https://github.com/pypa/twine).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `tqdm` from 4.66.1 to 4.66.2
|
||||||
|
- [Release notes](https://github.com/tqdm/tqdm/releases)
|
||||||
|
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.1...v4.66.2)
|
||||||
|
|
||||||
|
Updates `twine` from 4.0.2 to 5.0.0
|
||||||
|
- [Release notes](https://github.com/pypa/twine/releases)
|
||||||
|
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
|
||||||
|
- [Commits](https://github.com/pypa/twine/compare/4.0.2...5.0.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: tqdm
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: twine
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-major
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 1 update.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 1 update: [jaraco-classes](https://github.com/jaraco/jaraco.classes).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `jaraco-classes` from 3.3.0 to 3.3.1
|
||||||
|
- [Release notes](https://github.com/jaraco/jaraco.classes/releases)
|
||||||
|
- [Changelog](https://github.com/jaraco/jaraco.classes/blob/main/NEWS.rst)
|
||||||
|
- [Commits](https://github.com/jaraco/jaraco.classes/compare/v3.3.0...v3.3.1)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: jaraco-classes
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 1 update.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 1 update: [certifi](https://github.com/certifi/python-certifi).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `certifi` from 2023.11.17 to 2024.2.2
|
||||||
|
- [Commits](https://github.com/certifi/python-certifi/compare/2023.11.17...2024.02.02)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: certifi
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-major
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 2 updates.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 2 updates: [platformdirs](https://github.com/platformdirs/platformdirs) and [urllib3](https://github.com/urllib3/urllib3).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `platformdirs` from 4.1.0 to 4.2.0
|
||||||
|
- [Release notes](https://github.com/platformdirs/platformdirs/releases)
|
||||||
|
- [Changelog](https://github.com/platformdirs/platformdirs/blob/main/CHANGES.rst)
|
||||||
|
- [Commits](https://github.com/platformdirs/platformdirs/compare/4.1.0...4.2.0)
|
||||||
|
|
||||||
|
Updates `urllib3` from 2.1.0 to 2.2.0
|
||||||
|
- [Release notes](https://github.com/urllib3/urllib3/releases)
|
||||||
|
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
|
||||||
|
- [Commits](https://github.com/urllib3/urllib3/compare/2.1.0...2.2.0)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: platformdirs
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
- dependency-name: urllib3
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-minor
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
- Chore(deps): bump the python-packages group with 1 update.
|
||||||
|
[dependabot[bot]]
|
||||||
|
|
||||||
|
Bumps the python-packages group with 1 update: [black](https://github.com/psf/black).
|
||||||
|
|
||||||
|
|
||||||
|
Updates `black` from 24.1.0 to 24.1.1
|
||||||
|
- [Release notes](https://github.com/psf/black/releases)
|
||||||
|
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
|
||||||
|
- [Commits](https://github.com/psf/black/compare/24.1.0...24.1.1)
|
||||||
|
|
||||||
|
---
|
||||||
|
updated-dependencies:
|
||||||
|
- dependency-name: black
|
||||||
|
dependency-type: direct:production
|
||||||
|
update-type: version-update:semver-patch
|
||||||
|
dependency-group: python-packages
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
0.45.0 (2024-01-29)
|
||||||
|
-------------------
|
||||||
|
|
||||||
Fix
|
Fix
|
||||||
~~~
|
~~~
|
||||||
- Catch 404s for non-existing hooks. Fixes #176. [Moritz Federspiel]
|
- Catch 404s for non-existing hooks. Fixes #176. [Moritz Federspiel]
|
||||||
|
|||||||
@@ -212,6 +212,13 @@ When you use the ``--lfs`` option, you will need to make sure you have Git LFS i
|
|||||||
Instructions on how to do this can be found on https://git-lfs.github.com.
|
Instructions on how to do this can be found on https://git-lfs.github.com.
|
||||||
|
|
||||||
|
|
||||||
|
Run in Docker container
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
To run the tool in a Docker container use the following command:
|
||||||
|
|
||||||
|
sudo docker run --rm -v /path/to/backup:/data --name github-backup ghcr.io/josegonzalez/python-github-backup -o /data $OPTIONS $USER
|
||||||
|
|
||||||
Gotchas / Known-issues
|
Gotchas / Known-issues
|
||||||
======================
|
======================
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "0.45.0"
|
__version__ = "0.46.0"
|
||||||
|
|||||||
@@ -777,14 +777,19 @@ class S3HTTPRedirectHandler(HTTPRedirectHandler):
|
|||||||
return request
|
return request
|
||||||
|
|
||||||
|
|
||||||
def download_file(url, path, auth):
|
def download_file(url, path, auth, as_app=False, fine=False):
|
||||||
# Skip downloading release assets if they already exist on disk so we don't redownload on every sync
|
# Skip downloading release assets if they already exist on disk so we don't redownload on every sync
|
||||||
if os.path.exists(path):
|
if os.path.exists(path):
|
||||||
return
|
return
|
||||||
|
|
||||||
request = Request(url)
|
request = _construct_request(per_page=100,
|
||||||
|
page=1,
|
||||||
|
query_args={},
|
||||||
|
template=url,
|
||||||
|
auth=auth,
|
||||||
|
as_app=as_app,
|
||||||
|
fine=fine)
|
||||||
request.add_header("Accept", "application/octet-stream")
|
request.add_header("Accept", "application/octet-stream")
|
||||||
request.add_header("Authorization", "Basic ".encode("ascii") + auth)
|
|
||||||
opener = build_opener(S3HTTPRedirectHandler)
|
opener = build_opener(S3HTTPRedirectHandler)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@@ -1254,7 +1259,9 @@ def backup_releases(args, repo_cwd, repository, repos_template, include_assets=F
|
|||||||
download_file(
|
download_file(
|
||||||
asset["url"],
|
asset["url"],
|
||||||
os.path.join(release_assets_cwd, asset["name"]),
|
os.path.join(release_assets_cwd, asset["name"]),
|
||||||
get_auth(args),
|
get_auth(args, encode=not args.as_app),
|
||||||
|
as_app=args.as_app,
|
||||||
|
fine=True if args.token_fine is not None else False
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -1311,13 +1318,15 @@ def fetch_repository(
|
|||||||
git_command = ["git", "remote", "set-url", "origin", remote_url]
|
git_command = ["git", "remote", "set-url", "origin", remote_url]
|
||||||
logging_subprocess(git_command, cwd=local_dir)
|
logging_subprocess(git_command, cwd=local_dir)
|
||||||
|
|
||||||
if lfs_clone:
|
git_command = ["git", "fetch", "--all", "--force", "--tags", "--prune"]
|
||||||
git_command = ["git", "lfs", "fetch", "--all", "--prune"]
|
|
||||||
else:
|
|
||||||
git_command = ["git", "fetch", "--all", "--force", "--tags", "--prune"]
|
|
||||||
if no_prune:
|
if no_prune:
|
||||||
git_command.pop()
|
git_command.pop()
|
||||||
logging_subprocess(git_command, cwd=local_dir)
|
logging_subprocess(git_command, cwd=local_dir)
|
||||||
|
if lfs_clone:
|
||||||
|
git_command = ["git", "lfs", "fetch", "--all", "--prune"]
|
||||||
|
if no_prune:
|
||||||
|
git_command.pop()
|
||||||
|
logging_subprocess(git_command, cwd=local_dir)
|
||||||
else:
|
else:
|
||||||
logger.info(
|
logger.info(
|
||||||
"Cloning {0} repository from {1} to {2}".format(
|
"Cloning {0} repository from {1} to {2}".format(
|
||||||
|
|||||||
@@ -1,38 +1,39 @@
|
|||||||
autopep8==2.0.4
|
autopep8==2.3.1
|
||||||
black==24.1.0
|
black==24.4.2
|
||||||
bleach==6.1.0
|
bleach==6.1.0
|
||||||
certifi==2023.11.17
|
certifi==2024.7.4
|
||||||
charset-normalizer==3.3.2
|
charset-normalizer==3.3.2
|
||||||
click==8.1.7
|
click==8.1.7
|
||||||
colorama==0.4.6
|
colorama==0.4.6
|
||||||
docutils==0.20.1
|
docutils==0.21.2
|
||||||
flake8==7.0.0
|
flake8==7.1.0
|
||||||
gitchangelog==3.0.4
|
gitchangelog==3.0.4
|
||||||
idna==3.6
|
idna==3.7
|
||||||
importlib-metadata==7.0.1
|
importlib-metadata==7.2.1
|
||||||
jaraco.classes==3.3.0
|
jaraco.classes==3.4.0
|
||||||
keyring==24.3.0
|
keyring==25.2.1
|
||||||
markdown-it-py==3.0.0
|
markdown-it-py==3.0.0
|
||||||
mccabe==0.7.0
|
mccabe==0.7.0
|
||||||
mdurl==0.1.2
|
mdurl==0.1.2
|
||||||
more-itertools==10.2.0
|
more-itertools==10.3.0
|
||||||
mypy-extensions==1.0.0
|
mypy-extensions==1.0.0
|
||||||
packaging==23.2
|
packaging==24.1
|
||||||
pathspec==0.12.1
|
pathspec==0.12.1
|
||||||
pkginfo==1.9.6
|
pkginfo==1.11.1
|
||||||
platformdirs==4.1.0
|
platformdirs==4.2.2
|
||||||
pycodestyle==2.11.1
|
pycodestyle==2.12.0
|
||||||
pyflakes==3.2.0
|
pyflakes==3.2.0
|
||||||
Pygments==2.17.2
|
Pygments==2.18.0
|
||||||
readme-renderer==42.0
|
readme-renderer==43.0
|
||||||
requests==2.31.0
|
requests==2.32.3
|
||||||
requests-toolbelt==1.0.0
|
requests-toolbelt==1.0.0
|
||||||
restructuredtext-lint==1.4.0
|
restructuredtext-lint==1.4.0
|
||||||
rfc3986==2.0.0
|
rfc3986==2.0.0
|
||||||
rich==13.7.0
|
rich==13.7.1
|
||||||
|
setuptools==70.1.1
|
||||||
six==1.16.0
|
six==1.16.0
|
||||||
tqdm==4.66.1
|
tqdm==4.66.4
|
||||||
twine==4.0.2
|
twine==5.1.0
|
||||||
urllib3==2.1.0
|
urllib3==2.2.2
|
||||||
webencodings==0.5.1
|
webencodings==0.5.1
|
||||||
zipp==3.17.0
|
zipp==3.19.2
|
||||||
|
|||||||
7
setup.py
7
setup.py
@@ -40,10 +40,11 @@ setup(
|
|||||||
"Development Status :: 5 - Production/Stable",
|
"Development Status :: 5 - Production/Stable",
|
||||||
"Topic :: System :: Archiving :: Backup",
|
"Topic :: System :: Archiving :: Backup",
|
||||||
"License :: OSI Approved :: MIT License",
|
"License :: OSI Approved :: MIT License",
|
||||||
"Programming Language :: Python :: 3.5",
|
|
||||||
"Programming Language :: Python :: 3.6",
|
|
||||||
"Programming Language :: Python :: 3.7",
|
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
|
"Programming Language :: Python :: 3.12",
|
||||||
],
|
],
|
||||||
description="backup a github user or organization",
|
description="backup a github user or organization",
|
||||||
long_description=open_file("README.rst").read(),
|
long_description=open_file("README.rst").read(),
|
||||||
|
|||||||
Reference in New Issue
Block a user