Skip to content

Commit 55a83af

Browse files
authored
Jazzband exit tasks (#561)
1 parent cb4285c commit 55a83af

File tree

9 files changed

+46
-77
lines changed

9 files changed

+46
-77
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,30 @@
11
---
2-
name: Publish PyPI Release (BROKEN)
2+
name: Publish PyPI Release
33

44
on:
55
release:
66
types: [published]
77

88
jobs:
9-
release-package:
9+
publish-pypi:
10+
name: Publish PyPi Package
1011
runs-on: ubuntu-latest
11-
12+
permissions:
13+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
1214
steps:
1315
- uses: actions/checkout@v4
14-
# - name: Set up Python
15-
# uses: actions/setup-python@v5
16-
# with:
17-
# python-version: "3.x"
18-
19-
# - name: Install dependencies
20-
# run: |
21-
# python -m pip install -U pip
22-
# python -m pip install -U -r requirements/build.txt
23-
# python -m pip install -U -r requirements.txt
24-
25-
# - name: Build package
26-
# run: |
27-
# python -m build --sdist --wheel --outdir dist .
28-
# twine check dist/*
29-
30-
# - name: Upload packages to Jazzband
31-
# uses: pypa/gh-action-pypi-publish@release/v1
32-
# with:
33-
# user: jazzband
34-
# password: ${{ secrets.JAZZBAND_RELEASE_KEY }}
35-
# repository-url: https://jazzband.co/projects/django-dbbackup/upload
36-
37-
# This workflopw is disabled due to the following error:
38-
#
39-
# ERROR HTTPError: 500 Internal Server Error from
40-
# https://jazzband.co/projects/django-dbbackup/upload
41-
# INTERNAL SERVER ERROR
42-
43-
# Until we are transfered out of Jazzband, the workaround is releasing manually via personal PyPI accounts.
44-
# The following steps are required to release a new version of the package:
45-
# python -m pip install -U pip && pip install -U -r requirements/build.txt && pip install -U -r requirements.txt
46-
# python -m build --sdist --wheel --outdir dist . && twine check dist/*
47-
# twine upload dist/*
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.x"
20+
- name: Install dependencies
21+
run: |
22+
pip install --upgrade pip
23+
pip install --upgrade -r requirements/build.txt
24+
pip install --upgrade -r requirements.txt
25+
- name: Build package
26+
run: |
27+
python -m build --sdist --wheel --outdir dist .
28+
twine check dist/*
29+
- name: Upload packages to PyPi
30+
uses: pypa/gh-action-pypi-publish@release/v1

README.rst

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
Django Database Backup
22
======================
33

4-
.. image:: https://github.com/jazzband/django-dbbackup/actions/workflows/build.yml/badge.svg
5-
:target: https://github.com/jazzband/django-dbbackup/actions
4+
.. image:: https://github.com/Archmonger/django-dbbackup/actions/workflows/build.yml/badge.svg
5+
:target: https://github.com/Archmonger/django-dbbackup/actions
66

77
.. image:: https://readthedocs.org/projects/django-dbbackup/badge/?version=stable
88
:target: https://django-dbbackup.readthedocs.io/
99
:alt: Documentation Status
1010

11-
.. image:: https://codecov.io/gh/jazzband/django-dbbackup/branch/master/graph/badge.svg?token=zaYmStcsuX
12-
:target: https://codecov.io/gh/jazzband/django-dbbackup
13-
14-
.. image:: https://jazzband.co/static/img/badge.svg
15-
:target: https://jazzband.co/
16-
:alt: Jazzband
11+
.. image:: https://codecov.io/gh/Archmonger/django-dbbackup/branch/master/graph/badge.svg?token=zaYmStcsuX
12+
:target: https://codecov.io/gh/Archmonger/django-dbbackup
1713

1814
This Django application provides management commands to help backup and
1915
restore your project database and media files with various storages such as
@@ -46,21 +42,13 @@ files.
4642
Contributing
4743
============
4844

49-
.. image:: https://jazzband.co/static/img/jazzband.svg
50-
:target: https://jazzband.co/
51-
:alt: Jazzband
52-
53-
This is a `Jazzband <https://jazzband.co>`_ project. By contributing you agree
54-
to abide by the `Contributor Code of Conduct <https://jazzband.co/about/conduct>`_
55-
and follow the `guidelines <https://jazzband.co/about/guidelines>`_.
56-
5745
All contribution are very welcomed, propositions, problems, bugs and
5846
enhancement are tracked with `GitHub issues`_ system and patches are submitted
5947
via `pull requests`_.
6048

6149
We use GitHub Actions as continuous integration tools.
6250

6351
.. _`Read The Docs`: https://django-dbbackup.readthedocs.org/
64-
.. _`GitHub issues`: https://github.com/jazzband/django-dbbackup/issues
65-
.. _`pull requests`: https://github.com/jazzband/django-dbbackup/pulls
66-
.. _Coveralls: https://coveralls.io/github/jazzband/django-dbbackup
52+
.. _`GitHub issues`: https://github.com/Archmonger/django-dbbackup/issues
53+
.. _`pull requests`: https://github.com/Archmonger/django-dbbackup/pulls
54+
.. _Coveralls: https://coveralls.io/github/Archmonger/django-dbbackup

contributing.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

dbbackup/tests/test_connectors/test_postgresql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_create_dump(self, mock_dump_cmd):
3636
self.assertTrue(mock_dump_cmd.called)
3737

3838
def test_create_dump_without_host(self, mock_dump_cmd):
39-
# this is allowed now: https://github.com/jazzband/django-dbbackup/issues/520
39+
# this is allowed now: https://github.com/Archmonger/django-dbbackup/issues/520
4040
self.connector.settings.pop("HOST", None)
4141
self.connector.create_dump()
4242

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Unreleased
55
----------
66

77
* Use environment variable for PostgreSQL password to prevent password leakage in logs/emails
8+
* This repository has been transferred out of Jazzband due to logistical concerns.
89

910
4.3.0 (2025-05-09)
1011
----------

docs/contributing.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ issue if:
1616
- You've got a question
1717
- More generally something seems wrong for you
1818

19-
.. _`GitHub issues`: https://github.com/jazzband/django-dbbackup/issues
19+
.. _`GitHub issues`: https://github.com/Archmonger/django-dbbackup/issues
2020

2121
Make a patch
2222
------------
@@ -36,7 +36,7 @@ of requests we advise you to:
3636
Travis. DBBackup uses a lot of file operations, so breaks between Python
3737
versions are easy.
3838

39-
.. _`GitHub pull requests`: https://github.com/jazzband/django-dbbackup/pulls
39+
.. _`GitHub pull requests`: https://github.com/Archmonger/django-dbbackup/pulls
4040

4141
Test environment
4242
----------------
@@ -124,20 +124,20 @@ Online CI
124124

125125
We use `Travis`_ which tests Dbbackup with a matrix of components' versions: Several versions of Django and several versions of Python including 2, 3 and PyPy.
126126

127-
.. image:: https://api.travis-ci.org/jazzband/django-dbbackup.svg
128-
:target: https://travis-ci.org/jazzband/django-dbbackup
127+
.. image:: https://api.travis-ci.org/Archmonger/django-dbbackup.svg
128+
:target: https://travis-ci.org/Archmonger/django-dbbackup
129129

130130
Code coverage is ensured with `Coveralls`_ and the project has not yet reached a minimum coverage limit.
131131

132-
.. image:: https://coveralls.io/repos/jazzband/django-dbbackup/badge.svg?branch=master&service=github
133-
:target: https://coveralls.io/github/jazzband/django-dbbackup?branch=master
132+
.. image:: https://coveralls.io/repos/Archmonger/django-dbbackup/badge.svg?branch=master&service=github
133+
:target: https://coveralls.io/github/Archmonger/django-dbbackup?branch=master
134134

135135
Code health is checked with `Landscape`_
136136

137-
.. image:: https://landscape.io/github/jazzband/django-dbbackup/master/landscape.svg?style=flat
138-
:target: https://landscape.io/github/jazzband/django-dbbackup/master
137+
.. image:: https://landscape.io/github/Archmonger/django-dbbackup/master/landscape.svg?style=flat
138+
:target: https://landscape.io/github/Archmonger/django-dbbackup/master
139139
:alt: Code Health
140140

141-
.. _Travis: https://travis-ci.org/jazzband/django-dbbackup
142-
.. _Coveralls: https://coveralls.io/github/jazzband/django-dbbackup
143-
.. _Landscape: https://landscape.io/github/jazzband/django-dbbackup/
141+
.. _Travis: https://travis-ci.org/Archmonger/django-dbbackup
142+
.. _Coveralls: https://coveralls.io/github/Archmonger/django-dbbackup
143+
.. _Landscape: https://landscape.io/github/Archmonger/django-dbbackup/

docs/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ Other Resources
4646
* `GitHub pull requests`_
4747
* `Coveralls`_
4848

49-
.. _`GitHub repository`: https://github.com/jazzband/django-dbbackup
49+
.. _`GitHub repository`: https://github.com/Archmonger/django-dbbackup
5050
.. _`PyPI project`: https://pypi.python.org/pypi/django-dbbackup/
5151
.. _`Read The Docs`: https://django-dbbackup.readthedocs.org/
52-
.. _`GitHub issues`: https://github.com/jazzband/django-dbbackup/issues
53-
.. _`GitHub pull requests`: https://github.com/jazzband/django-dbbackup/pulls
54-
.. _`Coveralls`: https://coveralls.io/github/jazzband/django-dbbackup
52+
.. _`GitHub issues`: https://github.com/Archmonger/django-dbbackup/issues
53+
.. _`GitHub pull requests`: https://github.com/Archmonger/django-dbbackup/pulls
54+
.. _`Coveralls`: https://coveralls.io/github/Archmonger/django-dbbackup
5555

5656
Indices and tables
5757
==================

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ that are at least present when using PyPi repositories.
2424

2525
::
2626

27-
pip install -e git+https://github.com/jazzband/django-dbbackup.git#egg=django-dbbackup
27+
pip install -e git+https://github.com/Archmonger/django-dbbackup.git#egg=django-dbbackup
2828

2929

3030
Add it in your project

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def get_test_requirements():
3434
include_package_data=True,
3535
zip_safe=False,
3636
license="BSD",
37-
url="https://github.com/jazzband/django-dbbackup",
37+
url="https://github.com/Archmonger/django-dbbackup",
3838
keywords=[
3939
"django",
4040
"database",

0 commit comments

Comments
 (0)