Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package orthos2 for openSUSE:Factory checked in at 2021-10-23 23:14:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/orthos2 (Old) and /work/SRC/openSUSE:Factory/.orthos2.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "orthos2" Sat Oct 23 23:14:07 2021 rev:3 rq:927102 version:1.0.141+git.58cc722 Changes: -------- --- /work/SRC/openSUSE:Factory/orthos2/orthos2.changes 2021-10-05 22:34:11.918905479 +0200 +++ /work/SRC/openSUSE:Factory/.orthos2.new.1890/orthos2.changes 2021-10-23 23:14:17.904990542 +0200 @@ -1,0 +2,35 @@ +Sat Oct 16 08:36:47 UTC 2021 - tr...@suse.de + +- Update to version 1.0.141+git.58cc722: + * Add pylint CI workflow + * Create pylint.yml + * Add unique natural keys to be able to dump db table without fixed primary key + * Catch exception in add_machine if hypervisor does not exist + * client: Properly catch Exception on server side + * Add missing import in client + * Tiny fixups + * Enhance documentation + * Move user orthosrc file to ~/.config/orthosrc + * Only show non-administrative machine in free machines list + * Add not fully finished dump_test_db script and README for Django scripts + * Enhance ansible scanning + * Provide ordinary users with "(Re-)Create token" functionality via user preferences + * Do not allow password change in ldap case + +------------------------------------------------------------------- +Fri Oct 15 18:27:52 UTC 2021 - tr...@suse.de + +- Update to version 1.0.141+git.58cc722: + * Add unique natural keys to be able to dump db table without fixed primary key + * Catch exception in add_machine if hypervisor does not exist + * Ask client in add_machine for arch, system and group as ordered lists + * Make orthos2_debug systemd service file hostname independent + * Move user orthosrc file to ~/.config/orthosrc + * Only show non-administrative machine in free machines list + * Add not fully finished dump_test_db script and README for Django scripts + * Enhance ansible scanning + * Add ssh configs to ansible and fix wrong inventory template for multiple hosts + * Provide ordinary users with "(Re-)Create token" functionality via user preferences + * Do not allow password change in ldap case + +------------------------------------------------------------------- Old: ---- orthos2-1.0.90+git.0a104f7.obscpio New: ---- orthos2-1.0.141+git.58cc722.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ orthos2.spec ++++++ --- /var/tmp/diff_new_pack.OBvt0H/_old 2021-10-23 23:14:18.528990847 +0200 +++ /var/tmp/diff_new_pack.OBvt0H/_new 2021-10-23 23:14:18.532990849 +0200 @@ -17,7 +17,7 @@ Name: orthos2 -Version: 1.0.90+git.0a104f7 +Version: 1.0.141+git.58cc722 Release: 0 Summary: Machine administration URL: https://github.com/openSUSE/orthos2 @@ -38,6 +38,7 @@ BuildRequires: nginx BuildRequires: python3-devel BuildRequires: python3-setuptools +Requires(post): sudo %if 0%{?suse_version} BuildRequires: python-rpm-macros %endif @@ -58,10 +59,12 @@ Requires: python3-django-auth-ldap Requires: python3-django-extensions Requires: python3-djangorestframework +Requires: python3-ldap Requires: python3-netaddr Requires: python3-paramiko Requires: python3-psycopg2 Requires: python3-validators + %endif # Needed to install /etc/logrotate.d/orthos2 Requires: logrotate @@ -87,9 +90,11 @@ %package docs Summary: HTML documentation for orthos2 #BuildRequires: python3-django >= 3.2 -BuildRequires: python3-django-extensions +BuildRequires: python3-django-auth-ldap BuildRequires: python3-Sphinx +BuildRequires: python3-django-extensions BuildRequires: python3-djangorestframework +BuildRequires: python3-ldap BuildRequires: python3-netaddr BuildRequires: python3-paramiko BuildRequires: python3-sphinx_rtd_theme @@ -130,6 +135,8 @@ # This should go into setup.py - but copying tons of non *.py files recursively # is cumbersome... cp -r orthos2/frontend/static /%{buildroot}/%{python3_sitelib}/orthos2/frontend +# ToDo: Try to separate the html templates somewhere else +cp -r templates/* %{buildroot}/%{python3_sitelib}/orthos2 ln -sr %{buildroot}%{python3_sitelib}/orthos2 %{buildroot}/usr/lib/orthos2/orthos2 mkdir -p %{buildroot}/usr/share/orthos2/data_migrations mkdir -p %{buildroot}/usr/share/orthos2/taskmanager_migrations @@ -153,6 +160,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 + %preun %service_del_preun orthos2.service orthos2_taskmanager.service orthos2.socket orthos2_debug.service @@ -194,16 +205,10 @@ %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 -%attr(644,orthos,orthos) /usr/lib/orthos2/ansible/ansible.cfg -%attr(644,orthos,orthos) /usr/lib/orthos2/ansible/inventory.template -%attr(644,orthos,orthos) /usr/lib/orthos2/ansible/roles -%attr(644,orthos,orthos) /usr/lib/orthos2/ansible/site.yml - /usr/lib/orthos2/* %attr(755,orthos,orthos) %dir /srv/www/orthos2 %ghost %dir /run/%{name} %ghost %dir /run/%{name}/ansible -%attr(775,orthos,orthos) %dir /usr/lib/orthos2/ansible %attr(755,orthos,orthos) %dir /var/log/orthos2 %attr(775,orthos,orthos) %dir /var/lib/orthos2 %attr(775,orthos,orthos) %dir /var/lib/orthos2/archiv @@ -211,6 +216,12 @@ %attr(775,orthos,orthos) %dir /var/lib/orthos2/database %attr(700,orthos,orthos) %dir /var/lib/orthos2/.ssh +# defattr(fileattr, user, group, dirattr) +# Add whole ansible directory with correct attr for dirs and files +# Always keep this at the end with defattr +%defattr(664, orthos, orthos, 775) +%attr(664,orthos,orthos) /usr/lib/orthos2/ansible + %files docs %dir %{orthos_web_docs} %{orthos_web_docs}/* ++++++ orthos2-1.0.90+git.0a104f7.obscpio -> orthos2-1.0.141+git.58cc722.obscpio ++++++ ++++ 7565 lines of diff (skipped) ++++++ orthos2.obsinfo ++++++ --- /var/tmp/diff_new_pack.OBvt0H/_old 2021-10-23 23:14:18.848991004 +0200 +++ /var/tmp/diff_new_pack.OBvt0H/_new 2021-10-23 23:14:18.848991004 +0200 @@ -1,5 +1,5 @@ name: orthos2 -version: 1.0.90+git.0a104f7 -mtime: 1633370327 -commit: 0a104f712bf4097fcb1426b4c10f1edef100a85e +version: 1.0.141+git.58cc722 +mtime: 1634322196 +commit: 58cc72228c897ec2f2de9e05f111a78b89535a54