Skip to content
Snippets Groups Projects
Commit c58f2af3 authored by Michael Fladischer's avatar Michael Fladischer
Browse files

Initial release (Closes: #1073003).

parent 580f0727
No related branches found
No related tags found
No related merge requests found
python-django-structlog (8.1.0-1) unstable; urgency=low
* Initial release (Closes: #1073003).
-- Michael Fladischer <fladi@debian.org> Mon, 10 Jun 2024 21:21:14 +0000
Source: python-django-structlog
Section: python
Priority: optional
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders:
Michael Fladischer <fladi@debian.org>,
Build-Depends:
debhelper-compat (= 13),
dh-python,
pybuild-plugin-pyproject,
python3-all,
python3-celery,
python3-django,
python3-setuptools,
python3-sphinx,
python3-sphinx-rtd-theme,
python3-structlog,
Standards-Version: 4.7.0
Homepage: https://github.com/jrobichaud/django-structlog
Vcs-Browser: https://salsa.debian.org/python-team/packages/python-django-structlog
Vcs-Git: https://salsa.debian.org/python-team/packages/python-django-structlog.git
Rules-Requires-Root: no
Package: python3-django-structlog
Architecture: all
Depends:
${misc:Depends},
${python3:Depends},
Suggests:
python-django-structlog-doc,
Description: Structured Logging for Django (Python3 version)
django-structlog is a structured logging integration for Django project using
structlog. Logging will then produce additional cohesive metadata on each logs
that makes it easier to track events or incidents.
.
This package contains the Python 3 version of the library.
Package: python-django-structlog-doc
Section: doc
Architecture: all
Depends:
${misc:Depends},
${sphinxdoc:Depends},
Description: Structured Logging for Django (Documentation)
django-structlog is a structured logging integration for Django project using
structlog. Logging will then produce additional cohesive metadata on each logs
that makes it easier to track events or incidents.
.
This package contains the documentation.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: python-django-structlog
Upstream-Contact: Jules Robichaud-Gagnon <j.robichaudg+pypi@gmail.com>
Source: https://github.com/jrobichaud/django-structlog
Files: *
Copyright: 2020, Jules Robichaud-Gagnon <j.robichaudg+pypi@gmail.com>
License: Expat
Files: debian/*
Copyright: 2024, Michael Fladischer <fladi@debian.org>
License: Expat
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
[DEFAULT]
debian-branch=debian/latest
upstream-branch=upstream/latest
pristine-tar=true
From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Wed, 12 Jun 2024 10:29:10 +0000
Subject: Remove remote badges to prevent privacy issues.
---
README.rst | 59 -----------------------------------------------------------
1 file changed, 59 deletions(-)
diff --git a/README.rst b/README.rst
index dfb425e..d777df0 100644
--- a/README.rst
+++ b/README.rst
@@ -7,65 +7,6 @@ django-structlog
| |django| |python| |license| |black| |ruff|
| |watchers| |stars| |forks|
-.. |build-status| image:: https://github.com/jrobichaud/django-structlog/actions/workflows/main.yml/badge.svg?branch=main
- :target: https://github.com/jrobichaud/django-structlog/actions
- :alt: Build Status
-
-.. |pypi| image:: https://img.shields.io/pypi/v/django-structlog.svg
- :target: https://pypi.org/project/django-structlog/
- :alt: PyPI version
-
-.. |docs| image:: https://readthedocs.org/projects/django-structlog/badge/?version=latest
- :target: https://django-structlog.readthedocs.io/en/latest/?badge=latest
- :alt: Documentation Status
-
-.. |coverage| image:: https://img.shields.io/codecov/c/github/jrobichaud/django-structlog.svg
- :target: https://codecov.io/gh/jrobichaud/django-structlog
- :alt: codecov
-
-.. |python| image:: https://img.shields.io/pypi/pyversions/django-structlog.svg
- :target: https://pypi.org/project/django-structlog/
- :alt: Supported Python versions
-
-.. |license| image:: https://img.shields.io/pypi/l/django-structlog.svg
- :target: https://github.com/jrobichaud/django-structlog/blob/main/LICENSE.rst
- :alt: License
-
-.. |open_issues| image:: https://img.shields.io/github/issues/jrobichaud/django-structlog.svg
- :target: https://github.com/jrobichaud/django-structlog/issues
- :alt: GitHub issues
-
-.. |django| image:: https://img.shields.io/pypi/djversions/django-structlog.svg
- :target: https://pypi.org/project/django-structlog/
- :alt: PyPI - Django Version
-
-.. |pull_requests| image:: https://img.shields.io/github/issues-pr/jrobichaud/django-structlog.svg
- :target: https://github.com/jrobichaud/django-structlog/pulls
- :alt: GitHub pull requests
-
-.. |forks| image:: https://img.shields.io/github/forks/jrobichaud/django-structlog.svg?style=social
- :target: https://github.com/jrobichaud/django-structlog/
- :alt: GitHub forks
-
-.. |stars| image:: https://img.shields.io/github/stars/jrobichaud/django-structlog.svg?style=social
- :target: https://github.com/jrobichaud/django-structlog/
- :alt: GitHub stars
-
-.. |watchers| image:: https://img.shields.io/github/watchers/jrobichaud/django-structlog.svg?style=social
- :target: https://github.com/jrobichaud/django-structlog/
- :alt: GitHub watchers
-
-.. |wheels| image:: https://img.shields.io/pypi/wheel/django-structlog.svg
- :target: https://pypi.org/project/django-structlog/
- :alt: PyPI - Wheel
-
-.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
- :target: https://github.com/python/black
- :alt: Black
-
-.. |ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
- :target: https://github.com/astral-sh/ruff
- :alt: Ruff
django-structlog is a structured logging integration for `Django <https://www.djangoproject.com/>`_ project using `structlog <https://www.structlog.org/>`_
0001-Remove-remote-badges-to-prevent-privacy-issues.patch
Document: python-django-structlog-doc
Title: django-structlog Documentation
Author: Jules Robichaud-Gagnon <j.robichaudg+pypi@gmail.com>
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python-django-structlog-doc/html/index.html
Files: /usr/share/doc/python-django-structlog-doc/html/*.html
README.rst
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYBUILD_NAME=django-structlog
export PYBUILD_DISABLE=test
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
execute_before_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=$(CUDIR) python3 -m sphinx -b html -d $(CURDIR)/docs/.build/.doctrees -N $(CURDIR)/docs $(CURDIR)/debian/python-django-structlog-doc/usr/share/doc/python-django-structlog-doc/html
endif
execute_before_dh_clean:
rm -rf $(CURDIR)/docs/.build
3.0 (quilt)
Tests: upstream
Depends:
python3-all,
python3-django-environ,
python3-django-extensions,
python3-pytest,
python3-pytest-django,
python3-redis,
redis-server,
@,
@builddeps@,
Restrictions: allow-stderr
#!/bin/sh
set -e
cp -r config test_app ${AUTOPKGTEST_TMP}
cd ${AUTOPKGTEST_TMP}
export CELERY_BROKER_URL=redis://localhost:6379
export CELERY_RESULT_BACKEND=redis://localhost:6379
for p in $(py3versions -s); do
$p -m pytest --ds=config.settings.test test_app
done
Bug-Database: https://github.com/jrobichaud/django-structlog/issues
Bug-Submit: https://github.com/jrobichaud/django-structlog/issues/new
Repository: https://github.com/jrobichaud/django-structlog.git
Repository-Browse: https://github.com/jrobichaud/django-structlog
version=4
opts=filenamemangle=s/.*\/([\d\.]+.*)$/python-django-structlog-$1/ \
https://github.com/jrobichaud/django-structlog/tags \
/jrobichaud/django-structlog/archive/refs/tags/([\d\.]+)\.tar\.gz
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment