commit python-django-health-check for openSUSE:Factory
Hello community, here is the log from the commit of package python-django-health-check for openSUSE:Factory checked in at 2020-09-21 17:18:42 Comparing /work/SRC/openSUSE:Factory/python-django-health-check (Old) and /work/SRC/openSUSE:Factory/.python-django-health-check.new.4249 (New) Package is "python-django-health-check" Mon Sep 21 17:18:42 2020 rev:6 rq:835769 version:3.14.0 Changes: --- /work/SRC/openSUSE:Factory/python-django-health-check/python-django-health-check.changes 2020-09-17 15:08:39.728927719 +0200 +++ /work/SRC/openSUSE:Factory/.python-django-health-check.new.4249/python-django-health-check.changes 2020-09-21 17:20:49.599808566 +0200 @@ -1,0 +2,6 @@ +Thu Sep 17 10:41:14 UTC 2020 - John Vandenberg + +- Workaround upstream packaging problem omitting sub-packages + and templates + +--- Other differences: -- ++ python-django-health-check.spec ++ --- /var/tmp/diff_new_pack.ZykinA/_old 2020-09-21 17:20:53.619811669 +0200 +++ /var/tmp/diff_new_pack.ZykinA/_new 2020-09-21 17:20:53.623811672 +0200 @@ -50,6 +50,10 @@ # setuptools-scm fails for GitHub archives sed -i 's/use_scm_version=True/version="%{version}"/' setup.py +# Hot fix: include sub-packages (and a template in %%install) +# https://github.com/KristianOellegaard/django-health-check/issues/268 +sed -i 's/packages = health_check/packages = find:/' setup.cfg + # do not nedlessly pull extra deps sed -i -e '/sphinx/d;/pytest-runner/d;/--cov[-=]/d' setup.cfg @@ -58,9 +62,16 @@ %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%{python_expand rm -r %{buildroot}%{$python_sitelib}/tests/ +mkdir -p %{buildroot}%{$python_sitelib}/health_check/templates/health_check +cp health_check/templates/health_check/index.html %{buildroot}%{$python_sitelib}/health_check/templates/health_check +%fdupes %{buildroot}%{$python_sitelib} +} %check +mkdir /tmp/testenv +mv tests /tmp/testenv +cd /tmp/testenv PYTHONPATH=${PWD} export DJANGO_SETTINGS_MODULE=tests.testapp.settings %pytest
commit python-django-health-check for openSUSE:Factory
Hello community, here is the log from the commit of package python-django-health-check for openSUSE:Factory checked in at 2020-09-17 15:03:07 Comparing /work/SRC/openSUSE:Factory/python-django-health-check (Old) and /work/SRC/openSUSE:Factory/.python-django-health-check.new.4249 (New) Package is "python-django-health-check" Thu Sep 17 15:03:07 2020 rev:5 rq:835131 version:3.14.0 Changes: --- /work/SRC/openSUSE:Factory/python-django-health-check/python-django-health-check.changes 2020-09-03 01:18:29.632566303 +0200 +++ /work/SRC/openSUSE:Factory/.python-django-health-check.new.4249/python-django-health-check.changes 2020-09-17 15:08:39.728927719 +0200 @@ -1,0 +2,10 @@ +Thu Sep 17 08:42:06 UTC 2020 - John Vandenberg + +- Update to v3.14.0 + * Register health check for each cache configuration +- from v3.13.2 + * Add backend checking if all migrations are applied +- from v3.12.2 + * Close all (even non default) db connections after check suite + +--- Old: django-health-check-3.12.1.tar.gz New: django-health-check-3.14.0.tar.gz Other differences: -- ++ python-django-health-check.spec ++ --- /var/tmp/diff_new_pack.YMkB2E/_old 2020-09-17 15:08:40.396928354 +0200 +++ /var/tmp/diff_new_pack.YMkB2E/_new 2020-09-17 15:08:40.400928357 +0200 @@ -19,12 +19,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-django-health-check -Version:3.12.1 +Version:3.14.0 Release:0 -Summary:Run checks on services like databases, queue servers, celery processes, etc +Summary:Run checks on Django and is dependent services License:MIT URL:https://github.com/KristianOellegaard/django-health-check -Source: https://files.pythonhosted.org/packages/source/d/django-health-check/django-health-check-%{version}.tar.gz +Source: https://github.com/KristianOellegaard/django-health-check/archive/%{version}.tar.gz#/django-health-check-%{version}.tar.gz BuildRequires: %{python_module Django >= 1.11} BuildRequires: %{python_module celery} BuildRequires: %{python_module mock} @@ -43,10 +43,15 @@ This project checks for various conditions and provides reports when anomalous behavior is detected. +Services checked include databases, caches, queue servers, celery processes, etc. + %prep %setup -q -n django-health-check-%{version} +# setuptools-scm fails for GitHub archives +sed -i 's/use_scm_version=True/version="%{version}"/' setup.py + # do not nedlessly pull extra deps -sed -i -e '/sphinx/d' -e '/pytest-runner/d' setup.cfg +sed -i -e '/sphinx/d;/pytest-runner/d;/--cov[-=]/d' setup.cfg %build %python_build @@ -56,7 +61,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -PYTHONPATH=. +PYTHONPATH=${PWD} export DJANGO_SETTINGS_MODULE=tests.testapp.settings %pytest ++ django-health-check-3.12.1.tar.gz -> django-health-check-3.14.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-health-check-3.12.1/.editorconfig new/django-health-check-3.14.0/.editorconfig --- old/django-health-check-3.12.1/.editorconfig2020-01-14 16:53:51.0 +0100 +++ new/django-health-check-3.14.0/.editorconfig2020-09-16 08:01:23.0 +0200 @@ -16,7 +16,7 @@ multi_line_output = 5 line_length = 80 combine_as_imports = true -skip = wsgi.py,docs,.tox,env,.eggs +skip = wsgi.py,docs,env,.eggs known_first_party = health_check,tests known_third_party = django,celery,psutil default_section=THIRDPARTY diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-health-check-3.12.1/.github/workflows/ci.yml new/django-health-check-3.14.0/.github/workflows/ci.yml --- old/django-health-check-3.12.1/.github/workflows/ci.yml 1970-01-01 01:00:00.0 +0100 +++ new/django-health-check-3.14.0/.github/workflows/ci.yml 2020-09-16 08:01:23.0 +0200 @@ -0,0 +1,48 @@ +name: CI +on: + - push + - pull_request + +jobs: + + dist: +runs-on: ubuntu-latest +steps: + - uses: actions/setup-python@v2 + - run: python -m pip install --upgrade pip setuptools wheel twine readme-renderer + - uses: actions/checkout@v2 + - run: python setup.py sdist bdist_wheel + - run: python -m twine check dist/* + + docs: +runs-on: ubuntu-latest +steps: + - uses: actions/checkout@v2 + - name: setup Python +uses: actions/setup-python@v2 +with: + python-version: 3.8 + - name: check docs +run: python setup.py build_sphinx + + pytest: +
commit python-django-health-check for openSUSE:Factory
Hello community, here is the log from the commit of package python-django-health-check for openSUSE:Factory checked in at 2020-09-03 01:17:40 Comparing /work/SRC/openSUSE:Factory/python-django-health-check (Old) and /work/SRC/openSUSE:Factory/.python-django-health-check.new.3399 (New) Package is "python-django-health-check" Thu Sep 3 01:17:40 2020 rev:4 rq:831412 version:3.12.1 Changes: --- /work/SRC/openSUSE:Factory/python-django-health-check/python-django-health-check.changes 2020-02-20 14:59:11.446736661 +0100 +++ /work/SRC/openSUSE:Factory/.python-django-health-check.new.3399/python-django-health-check.changes 2020-09-03 01:18:29.632566303 +0200 @@ -1,0 +2,5 @@ +Wed Sep 2 09:18:12 UTC 2020 - Marketa Calabkova + +- Fix test execution + +--- Other differences: -- ++ python-django-health-check.spec ++ --- /var/tmp/diff_new_pack.2SQJNo/_old 2020-09-03 01:18:30.244566528 +0200 +++ /var/tmp/diff_new_pack.2SQJNo/_new 2020-09-03 01:18:30.248566529 +0200 @@ -56,6 +56,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +PYTHONPATH=. export DJANGO_SETTINGS_MODULE=tests.testapp.settings %pytest
commit python-django-health-check for openSUSE:Factory
Hello community, here is the log from the commit of package python-django-health-check for openSUSE:Factory checked in at 2020-02-20 14:59:02 Comparing /work/SRC/openSUSE:Factory/python-django-health-check (Old) and /work/SRC/openSUSE:Factory/.python-django-health-check.new.26092 (New) Package is "python-django-health-check" Thu Feb 20 14:59:02 2020 rev:3 rq:777589 version:3.12.1 Changes: --- /work/SRC/openSUSE:Factory/python-django-health-check/python-django-health-check.changes 2019-11-25 15:23:25.301288778 +0100 +++ /work/SRC/openSUSE:Factory/.python-django-health-check.new.26092/python-django-health-check.changes 2020-02-20 14:59:11.446736661 +0100 @@ -1,0 +2,6 @@ +Thu Feb 20 08:20:25 UTC 2020 - Tomáš Chvátal + +- Update to 3.12.1: + * Add health_check Django command (CLI) (#217, #234) + +--- Old: django-health-check-3.11.1.tar.gz New: django-health-check-3.12.1.tar.gz Other differences: -- ++ python-django-health-check.spec ++ --- /var/tmp/diff_new_pack.3oEDtS/_old 2020-02-20 14:59:12.910739533 +0100 +++ /var/tmp/diff_new_pack.3oEDtS/_new 2020-02-20 14:59:12.934739580 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-django-health-check # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-django-health-check -Version:3.11.1 +Version:3.12.1 Release:0 Summary:Run checks on services like databases, queue servers, celery processes, etc License:MIT ++ django-health-check-3.11.1.tar.gz -> django-health-check-3.12.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-health-check-3.11.1/PKG-INFO new/django-health-check-3.12.1/PKG-INFO --- old/django-health-check-3.11.1/PKG-INFO 2019-10-29 09:05:50.0 +0100 +++ new/django-health-check-3.12.1/PKG-INFO 2020-01-14 16:54:28.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: django-health-check -Version: 3.11.1 +Version: 3.12.1 Summary: Run checks on services like databases, queue servers, celery processes, etc. Home-page: https://github.com/KristianOellegaard/django-health-check Author: Kristian Ollegaard @@ -274,6 +274,26 @@ url(r'^ht/$', views.HealthCheckCustomView.as_view(), name='health_check_custom'), ] +Django command +-- + +You can run the Django command `health_check` to perform your health checks via the command line, +or periodically with a cron, as follow: + +.. code:: + +django-admin health_check + +This should yield the following output: + +.. code:: + +DatabaseHealthCheck ... working +CustomHealthCheck... unavailable: Something went wrong! + +Similar to the http version, a critical error will case the command to quit with the exit code `1`. + + Other resources --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-health-check-3.11.1/README.rst new/django-health-check-3.12.1/README.rst --- old/django-health-check-3.11.1/README.rst 2019-10-29 09:05:17.0 +0100 +++ new/django-health-check-3.12.1/README.rst 2020-01-14 16:53:51.0 +0100 @@ -266,6 +266,26 @@ url(r'^ht/$', views.HealthCheckCustomView.as_view(), name='health_check_custom'), ] +Django command +-- + +You can run the Django command `health_check` to perform your health checks via the command line, +or periodically with a cron, as follow: + +.. code:: + +django-admin health_check + +This should yield the following output: + +.. code:: + +DatabaseHealthCheck ... working +CustomHealthCheck... unavailable: Something went wrong! + +Similar to the http version, a critical error will case the command to quit with the exit code `1`. + + Other resources --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-health-check-3.11.1/django_health_check.egg-info/PKG-INFO new/django-health-check-3.12.1/django_health_check.egg-info/PKG-INFO --- old/django-health-check-3.11.1/django_health_check.egg-info/PKG-INFO 2
commit python-django-health-check for openSUSE:Factory
Hello community, here is the log from the commit of package python-django-health-check for openSUSE:Factory checked in at 2019-11-25 15:23:23 Comparing /work/SRC/openSUSE:Factory/python-django-health-check (Old) and /work/SRC/openSUSE:Factory/.python-django-health-check.new.26869 (New) Package is "python-django-health-check" Mon Nov 25 15:23:23 2019 rev:2 rq:745448 version:3.11.1 Changes: --- /work/SRC/openSUSE:Factory/python-django-health-check/python-django-health-check.changes 2019-10-30 14:43:55.505933913 +0100 +++ /work/SRC/openSUSE:Factory/.python-django-health-check.new.26869/python-django-health-check.changes 2019-11-25 15:23:25.301288778 +0100 @@ -1,0 +2,6 @@ +Tue Nov 5 11:02:52 UTC 2019 - Tomáš Chvátal + +- Update to 3.11.1: + * Resolve #232 -- Change license information to MIT + +--- Old: django-health-check-3.11.0.tar.gz New: django-health-check-3.11.1.tar.gz Other differences: -- ++ python-django-health-check.spec ++ --- /var/tmp/diff_new_pack.hKbD5b/_old 2019-11-25 15:23:25.889288509 +0100 +++ /var/tmp/diff_new_pack.hKbD5b/_new 2019-11-25 15:23:25.893288507 +0100 @@ -1,5 +1,5 @@ # -# spec file for package django-health-check +# spec file for package python-django-health-check # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-django-health-check -Version:3.11.0 +Version:3.11.1 Release:0 Summary:Run checks on services like databases, queue servers, celery processes, etc License:MIT ++ django-health-check-3.11.0.tar.gz -> django-health-check-3.11.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-health-check-3.11.0/LICENSE new/django-health-check-3.11.1/LICENSE --- old/django-health-check-3.11.0/LICENSE 2019-09-06 18:35:27.0 +0200 +++ new/django-health-check-3.11.1/LICENSE 2019-10-29 09:05:17.0 +0100 @@ -1,4 +1,4 @@ -Copyright (C) 2011-2017 Kristian Øllegaard and contributors +Copyright (C) 2011-2019 Kristian Øllegaard and contributors 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: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-health-check-3.11.0/PKG-INFO new/django-health-check-3.11.1/PKG-INFO --- old/django-health-check-3.11.0/PKG-INFO 2019-09-06 18:36:00.0 +0200 +++ new/django-health-check-3.11.1/PKG-INFO 2019-10-29 09:05:50.0 +0100 @@ -1,11 +1,11 @@ Metadata-Version: 1.1 Name: django-health-check -Version: 3.11.0 +Version: 3.11.1 Summary: Run checks on services like databases, queue servers, celery processes, etc. Home-page: https://github.com/KristianOellegaard/django-health-check Author: Kristian Ollegaard Author-email: krist...@oellegaard.com -License: BSD License +License: MIT License Description: === django-health-check === @@ -288,7 +288,7 @@ :target: https://codecov.io/gh/KristianOellegaard/django-health-check .. |health| image:: https://landscape.io/github/KristianOellegaard/django-health-check/master/landscape.svg?style=flat :target: https://landscape.io/github/KristianOellegaard/django-health-check/master -.. |license| image:: https://img.shields.io/badge/license-BSD-blue.svg +.. |license| image:: https://img.shields.io/badge/license-MIT-blue.svg :target: LICENSE .. _Pingdom: https://www.pingdom.com/ @@ -300,7 +300,7 @@ Classifier: Development Status :: 5 - Production/Stable Classifier: Framework :: Django Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: BSD License +Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Software Development :: Quality Assurance diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-health-check-3.11.0/README.rst new/django-health-check-3.11.1/README.rst --- old/django-health-check-3.11.0/README.rst