mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-06 00:28:01 +01:00
Compare commits
55 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 |
4
.github/dependabot.yml
vendored
4
.github/dependabot.yml
vendored
@@ -9,3 +9,7 @@ updates:
|
||||
python-packages:
|
||||
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:
|
||||
release:
|
||||
name: Release
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
@@ -27,9 +27,9 @@ jobs:
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.8'
|
||||
python-version: '3.12'
|
||||
- name: Install prerequisites
|
||||
run: pip install -r release-requirements.txt
|
||||
- name: Execute release
|
||||
|
||||
14
.github/workflows/docker.yml
vendored
14
.github/workflows/docker.yml
vendored
@@ -38,16 +38,18 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
@@ -55,7 +57,7 @@ jobs:
|
||||
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
id: meta
|
||||
uses: docker/metadata-action@v4
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
tags: |
|
||||
@@ -66,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@v4
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
|
||||
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@@ -14,7 +14,7 @@ on:
|
||||
jobs:
|
||||
lint:
|
||||
name: lint
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -22,9 +22,9 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.8"
|
||||
python-version: "3.12"
|
||||
cache: "pip"
|
||||
- run: pip install -r release-requirements.txt && pip install wheel
|
||||
- run: flake8 --ignore=E501,E203,W503
|
||||
|
||||
393
CHANGES.rst
393
CHANGES.rst
@@ -1,9 +1,400 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
0.45.1 (2024-03-17)
|
||||
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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
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
|
||||
======================
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = "0.45.1"
|
||||
__version__ = "0.46.0"
|
||||
|
||||
@@ -1259,7 +1259,7 @@ def backup_releases(args, repo_cwd, repository, repos_template, include_assets=F
|
||||
download_file(
|
||||
asset["url"],
|
||||
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
|
||||
)
|
||||
@@ -1318,13 +1318,15 @@ def fetch_repository(
|
||||
git_command = ["git", "remote", "set-url", "origin", remote_url]
|
||||
logging_subprocess(git_command, cwd=local_dir)
|
||||
|
||||
if lfs_clone:
|
||||
git_command = ["git", "lfs", "fetch", "--all", "--prune"]
|
||||
else:
|
||||
git_command = ["git", "fetch", "--all", "--force", "--tags", "--prune"]
|
||||
git_command = ["git", "fetch", "--all", "--force", "--tags", "--prune"]
|
||||
if no_prune:
|
||||
git_command.pop()
|
||||
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:
|
||||
logger.info(
|
||||
"Cloning {0} repository from {1} to {2}".format(
|
||||
|
||||
@@ -1,38 +1,39 @@
|
||||
autopep8==2.0.4
|
||||
black==24.2.0
|
||||
autopep8==2.3.1
|
||||
black==24.4.2
|
||||
bleach==6.1.0
|
||||
certifi==2024.2.2
|
||||
certifi==2024.7.4
|
||||
charset-normalizer==3.3.2
|
||||
click==8.1.7
|
||||
colorama==0.4.6
|
||||
docutils==0.20.1
|
||||
flake8==7.0.0
|
||||
docutils==0.21.2
|
||||
flake8==7.1.0
|
||||
gitchangelog==3.0.4
|
||||
idna==3.6
|
||||
importlib-metadata==7.0.2
|
||||
jaraco.classes==3.3.1
|
||||
keyring==24.3.1
|
||||
idna==3.7
|
||||
importlib-metadata==7.2.1
|
||||
jaraco.classes==3.4.0
|
||||
keyring==25.2.1
|
||||
markdown-it-py==3.0.0
|
||||
mccabe==0.7.0
|
||||
mdurl==0.1.2
|
||||
more-itertools==10.2.0
|
||||
more-itertools==10.3.0
|
||||
mypy-extensions==1.0.0
|
||||
packaging==24.0
|
||||
packaging==24.1
|
||||
pathspec==0.12.1
|
||||
pkginfo==1.10.0
|
||||
platformdirs==4.2.0
|
||||
pycodestyle==2.11.1
|
||||
pkginfo==1.11.1
|
||||
platformdirs==4.2.2
|
||||
pycodestyle==2.12.0
|
||||
pyflakes==3.2.0
|
||||
Pygments==2.17.2
|
||||
Pygments==2.18.0
|
||||
readme-renderer==43.0
|
||||
requests==2.31.0
|
||||
requests==2.32.3
|
||||
requests-toolbelt==1.0.0
|
||||
restructuredtext-lint==1.4.0
|
||||
rfc3986==2.0.0
|
||||
rich==13.7.1
|
||||
setuptools==70.1.1
|
||||
six==1.16.0
|
||||
tqdm==4.66.2
|
||||
twine==5.0.0
|
||||
urllib3==2.2.1
|
||||
tqdm==4.66.4
|
||||
twine==5.1.0
|
||||
urllib3==2.2.2
|
||||
webencodings==0.5.1
|
||||
zipp==3.18.1
|
||||
zipp==3.19.2
|
||||
|
||||
7
setup.py
7
setup.py
@@ -40,10 +40,11 @@ setup(
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Topic :: System :: Archiving :: Backup",
|
||||
"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.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
],
|
||||
description="backup a github user or organization",
|
||||
long_description=open_file("README.rst").read(),
|
||||
|
||||
Reference in New Issue
Block a user