diff --git a/.github/funding.yml b/.github/funding.yml deleted file mode 100644 index 0d2690c8..00000000 --- a/.github/funding.yml +++ /dev/null @@ -1 +0,0 @@ -github: [jonathan-s, ZuluPro] diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ae1acd65..3a81da8f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Lint and Unit Test +name: Test on: push: @@ -29,3 +29,7 @@ jobs: # Environments are selected using tox-gh-actions configuration in tox.ini. - name: Test with tox run: tox + - name: Upload coverage + uses: codecov/codecov-action@v1 + with: + name: Python ${{ matrix.python-version }} Codecov diff --git a/.gitignore b/.gitignore index 7016e5bb..3e47d3a1 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,8 @@ __pycache__/ .Python .env env/ +.venv +venv/ build/ develop-eggs/ dist/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 00000000..68648e39 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: "v4.1.0" + hooks: + - id: check-merge-conflict diff --git a/README.rst b/README.rst index c3ccf21c..62e5a12b 100644 --- a/README.rst +++ b/README.rst @@ -1,15 +1,19 @@ Django Database Backup ====================== -.. image:: https://github.com/django-dbbackup/django-dbbackup/actions/workflows/build.yml/badge.svg - :target: https://github.com/django-dbbackup/django-dbbackup/actions +.. image:: https://github.com/jazzband/django-dbbackup/actions/workflows/build.yml/badge.svg + :target: https://github.com/jazzband/django-dbbackup/actions .. image:: https://readthedocs.org/projects/django-dbbackup/badge/?version=stable :target: https://django-dbbackup.readthedocs.io/ :alt: Documentation Status -.. image:: https://coveralls.io/repos/django-dbbackup/django-dbbackup/badge.svg?branch=master&service=github - :target: https://coveralls.io/github/django-dbbackup/django-dbbackup?branch=master +.. image:: https://codecov.io/gh/jazzband/django-dbbackup/branch/master/graph/badge.svg?token=zaYmStcsuX + :target: https://codecov.io/gh/jazzband/django-dbbackup + +.. image:: https://jazzband.co/static/img/badge.svg + :target: https://jazzband.co/ + :alt: Jazzband This Django application provides management commands to help backup and restore your project database and media files with various storages such as @@ -47,7 +51,9 @@ dbbackup Backup your database to the specified storage. By default this will backup all databases specified in your settings.py file and will not delete any old backups. You can optionally specify a server name to be included in the backup -filename. :: +filename. + +:: Usage: ./manage.py dbbackup [options] @@ -150,10 +156,9 @@ via `pull requests`_. We use GitHub Actions as continuous integration tools. .. _`Read The Docs`: https://django-dbbackup.readthedocs.org/ -.. _`GitHub issues`: https://github.com/django-dbbackup/django-dbbackup/issues -.. _`pull requests`: https://github.com/django-dbbackup/django-dbbackup/pulls -.. _`GitHub Actions`: https://github.com/django-dbbackup/django-dbbackup/actions -.. _Coveralls: https://coveralls.io/github/django-dbbackup/django-dbbackup +.. _`GitHub issues`: https://github.com/jazzband/django-dbbackup/issues +.. _`pull requests`: https://github.com/jazzband/django-dbbackup/pulls +.. _Coveralls: https://coveralls.io/github/jazzband/django-dbbackup Tests ===== diff --git a/contributing.md b/contributing.md new file mode 100644 index 00000000..10d79191 --- /dev/null +++ b/contributing.md @@ -0,0 +1,3 @@ +[![Jazzband](https://jazzband.co/static/img/jazzband.svg)](https://jazzband.co/) + +This is a [Jazzband](https://jazzband.co/) project. By contributing you agree to abide by the [Contributor Code of Conduct](https://jazzband.co/about/conduct) and follow the [guidelines](https://jazzband.co/about/guidelines). \ No newline at end of file