Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package orthos2 for openSUSE:Factory checked in at 2023-03-25 18:55:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/orthos2 (Old) and /work/SRC/openSUSE:Factory/.orthos2.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "orthos2" Sat Mar 25 18:55:37 2023 rev:5 rq:1074202 version:1.2.154+git.40b86d2 Changes: -------- --- /work/SRC/openSUSE:Factory/orthos2/orthos2.changes 2022-04-05 19:56:36.081465683 +0200 +++ /work/SRC/openSUSE:Factory/.orthos2.new.31432/orthos2.changes 2023-03-25 18:55:51.282820227 +0100 @@ -1,0 +2,61 @@ +Tue Mar 21 08:08:08 UTC 2023 - laurin.fael...@suse.com + +- Update to version 1.2.154+git.40b86d2: + * Add cobbler stdout message to logger errors + * Save one call to get_primary_networkinterface() + * Correctly store and show amount of CPU sockets, cores and threads + * Fix debug server systemd script + * Fix django dependency + * Add documentation to serverconfigs + * Remove old scripts and introduce /usr/bin/orthos-admin + * Also enable code checking on pull requests + * Fix pycodingstyle issues + * Split pycodingstyle and pylint jobs + * Fix pylint issues + * Add pycodingstyle to pylint and rename it to Coding Style + * Only exclude own network interfaces if the instance already has an primary key + * Use short hostname in orthos_debug serivce file + * Merge + * [pycodingstyle] Fix all... + * [pycodingstyle] make files pycodingstyle clean + * [pycodingstyle] orthos2/utils/remote.py clean + * [pycodestyle] ./orthos2/data/management/commands/dump_db.py clean + * [pycodestyle] Fix: E301 expected 1 blank line, found 0 + * [pycodestyle] Fix: E302 expected 2 blank lines, found 1 + * [pycodestyle] orthos2/frontend/views.py clean now + * [pycodestyle] max line length 120 + * [pycodestyle] docs/conf.py clean now + * [pycodesytle] E114 indentation is not a multiple of 4 (comment) + * Remove old dump db script + * Use quotes in python version github action and use v2 action + * Rename bashrc.sh to server_init.sh and add nginx to orthos user change + * Add hostname finder utility via script + * Show id in info <machine> command + * Fix up dots in button titles + * Fix E0602: Undefined variable 'InfoCommand' (undefined-variable) + * Only test python 3.10 + * Fix too early touching of data_serverconfig key + * Introduce getException in api/commands/base.py + * Add whole info command path into exception handling + * Add whole info command path into exception handling + * Delete secondary MAC adresses if MAC got changed/modified by user + * Add reworked Django script dump_db + * Check if_valid() before touching cleaned_data or it may not exist + * Properly format settings and settings.py + * Collection of recent fixes + * Add systemd auto-restart hooks to service files of orthos2 and orthos2_taskmanager + * Fix memory multiply by 1024 + * Allow machine name into URL + * Properly implement rpower and platform into query command + * Check for existing previous BMC before comparing its username + * Add python3-django BuildRequires + * Several VM fixes and default value adoptions + * Enhance orthosrc with pre-defined aliases + * Revert orthos2_docs_nginx.conf again + * Add undefined-variable to .pylintrc + * Fix machine bugs + * Get image install directory via ServerConfig key + * Several virtualization fixes + * Fix not existing attribute usage timezone.ZERO in task RegenerateMotd + +------------------------------------------------------------------- Old: ---- orthos2-1.2.77+git.f8950eb.obscpio New: ---- orthos2-1.2.154+git.40b86d2.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ orthos2.spec ++++++ --- /var/tmp/diff_new_pack.0bbWXf/_old 2023-03-25 18:55:51.846823175 +0100 +++ /var/tmp/diff_new_pack.0bbWXf/_new 2023-03-25 18:55:51.850823196 +0100 @@ -1,7 +1,4 @@ -# -# spec file for package orthos2 -# -# Copyright (c) 2022 SUSE LLC +# 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 @@ -13,14 +10,12 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ -# - Name: orthos2 -Version: 1.2.77+git.f8950eb +Version: 1.2.154+git.40b86d2 Release: 0 Summary: Machine administration -URL: https://github.com/openSUSE/orthos2 +Url: https://github.com/openSUSE/orthos2 Group: Productivity/Networking/Boot/Servers %{?systemd_ordering} @@ -36,8 +31,8 @@ BuildRequires: systemd-rpm-macros # For /etc/nginx{,/conf.d} creation BuildRequires: nginx -BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-devel Requires(post): sudo %if 0%{?suse_version} BuildRequires: python-rpm-macros @@ -49,30 +44,30 @@ # restrictions (be careful, there they messed it up and # python_enable_dependency_generator macro is defined, but does not do # anything. This check still also needs to explicitly check for SLE 15 SP2... -%if 0%{?sle_version} <= 150200 +%if 0%{?sle_version} <= 150300 %undefine python_enable_dependency_generator %undefine python_disable_dependency_generator %endif %{?python_enable_dependency_generator} %if ! (%{defined python_enable_dependency_generator} || %{defined python_disable_dependency_generator}) -Requires: python3-django >= 3.2 -Requires: python3-django-auth-ldap +Requires: python3-Django >= 3.2 Requires: python3-django-extensions +Requires: python3-django-auth-ldap Requires: python3-djangorestframework -Requires: python3-ldap Requires: python3-netaddr Requires: python3-paramiko Requires: python3-psycopg2 +Requires: python3-ldap Requires: python3-validators - %endif # Needed to install /etc/logrotate.d/orthos2 +Requires: python3-Django >= 3.2 Requires: logrotate -Requires: /sbin/service -Requires: ansible Requires: nginx +Requires: ansible Requires: uwsgi Requires: uwsgi-python3 +Requires: /sbin/service Provides: orthos2-%{version}-%{release} @@ -89,16 +84,16 @@ %package docs Summary: HTML documentation for orthos2 -#BuildRequires: python3-django >= 3.2 +BuildRequires: python3-django >= 3.2 BuildRequires: python3-django-auth-ldap -BuildRequires: python3-Sphinx BuildRequires: python3-django-extensions +BuildRequires: python3-paramiko BuildRequires: python3-djangorestframework -BuildRequires: python3-ldap +BuildRequires: python3-validators BuildRequires: python3-netaddr -BuildRequires: python3-paramiko +BuildRequires: python3-ldap BuildRequires: python3-sphinx_rtd_theme -BuildRequires: python3-validators +BuildRequires: python3-Sphinx %define orthos_web_docs /srv/www/orthos2/docs @@ -113,6 +108,7 @@ cd docs make html + %install %py3_install @@ -160,9 +156,10 @@ %tmpfiles_create %{_tmpfilesdir}/%{name}.conf %service_add_post orthos2.service orthos2_taskmanager.service orthos2.socket orthos2_debug.service -sudo -i -u orthos /usr/lib/orthos2/manage.py makemigrations -sudo -i -u orthos /usr/lib/orthos2/manage.py migrate -sudo -i -u orthos /usr/lib/orthos2/manage.py collectstatic --noinput +orthos-admin makemigrations +orthos-admin migrate +orthos-admin collectstatic --noinput + %preun %service_del_preun orthos2.service orthos2_taskmanager.service orthos2.socket orthos2_debug.service @@ -170,6 +167,7 @@ %postun %service_del_postun orthos2.service orthos2_taskmanager.service orthos2.socket orthos2_debug.service + %files %{python3_sitelib}/orthos2-* %_unitdir/orthos2_taskmanager.service @@ -188,7 +186,6 @@ %config %{_sysconfdir}/orthos2/orthos2.ini %config %{_sysconfdir}/orthos2/settings %config %{_sysconfdir}/logrotate.d/orthos2 -%config(noreplace) %{_sysconfdir}/nginx/conf.d/orthos2_docs_nginx.conf %config(noreplace) %{_sysconfdir}/nginx/conf.d/orthos2_nginx.conf %dir /usr/lib/orthos2 %dir /usr/lib/orthos2/scripts @@ -199,13 +196,14 @@ # /usr/lib/python3.8/site-packages/orthos2/data -> # /usr/share/orthos2/data/migrations # Like this: -# sudo -u orthos /usr/lib/orthos2/manage.py makemigrations +# orthos-admin makemigrations # has rights to dump migrations into site-packages subdir %attr(755,orthos,orthos) /usr/share/orthos2/data_migrations %attr(755,orthos,orthos) /usr/share/orthos2/taskmanager_migrations %attr(755,orthos,orthos) /usr/share/orthos2/frontend_migrations %attr(755,orthos,orthos) /usr/share/orthos2/api_migrations /usr/lib/orthos2/* +%attr(755,orthos,orthos) %{_bindir}/orthos-admin %attr(755,orthos,orthos) %dir /srv/www/orthos2 %ghost %dir /run/%{name} %ghost %dir /run/%{name}/ansible ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.0bbWXf/_old 2023-03-25 18:55:51.890823406 +0100 +++ /var/tmp/diff_new_pack.0bbWXf/_new 2023-03-25 18:55:51.890823406 +0100 @@ -3,6 +3,6 @@ <param name="url">git://github.com/openSUSE/orthos2.git</param> <param name="changesrevision">f0a52a1538932125ce7b208da99ed73f08955ea0</param></service><service name="tar_scm"> <param name="url">https://github.com/openSUSE/orthos2.git</param> - <param name="changesrevision">c7bc70818e225d6a2bf406b94702918e0ce341de</param></service></servicedata> + <param name="changesrevision">40b86d2e9a98629b5745f842f2f43a80ba41947f</param></service></servicedata> (No newline at EOF) ++++++ orthos2-1.2.77+git.f8950eb.obscpio -> orthos2-1.2.154+git.40b86d2.obscpio ++++++ ++++ 3242 lines of diff (skipped) ++++++ orthos2.obsinfo ++++++ --- /var/tmp/diff_new_pack.0bbWXf/_old 2023-03-25 18:55:52.254825308 +0100 +++ /var/tmp/diff_new_pack.0bbWXf/_new 2023-03-25 18:55:52.254825308 +0100 @@ -1,6 +1,5 @@ name: orthos2 -version: 1.2.77+git.f8950eb -mtime: 1647353154 -commit: f8950eb18ca86d747f875953cb9c50bf89b0a109 - +version: 1.2.154+git.40b86d2 +mtime: 1679328303 +commit: 40b86d2e9a98629b5745f842f2f43a80ba41947f