Hello community,

here is the log from the commit of package cobbler for openSUSE:Factory checked 
in at 2019-05-22 15:39:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cobbler (Old)
 and      /work/SRC/openSUSE:Factory/.cobbler.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cobbler"

Wed May 22 15:39:41 2019 rev:50 rq:704283 version:3.0.0+git20190510.d43461b3

Changes:
--------
--- /work/SRC/openSUSE:Factory/cobbler/cobbler.changes  2019-03-13 
09:13:41.399396273 +0100
+++ /work/SRC/openSUSE:Factory/.cobbler.new.5148/cobbler.changes        
2019-05-22 15:39:44.494483577 +0200
@@ -1,0 +2,216 @@
+Thu May 16 10:44:38 UTC 2019 - [email protected]
+
+- Updated to latest git master branch
+commit d43461b39073ac01a54a3f52be0b133d36cb8061
+Author: Jochen Breuer <[email protected]>
+Date:   Fri May 10 16:41:32 2019 +0200
+  Remove already mainline patches:
+D fix-login-error.patch
+D remove-newline-from-token.diff
+D fixes-distro-none-case.diff
+D return-the-name-of-the-unknown-method.patch
+D call-with-logger-where-possible.patch
+D fix-http-status-code.patch
+D create-system-directory-at-the-correct-place.patch
+D remodeled-distro-detection.diff
+D disable_nsupdate_enabled_by_default.diff
+D power_system_xmlrpc_api.patch
+D renamed-methods-alias.patch
+D changes-return-to-float.diff
+D revert-redhat-management-removal.patch
+D add-docker-integration-testing.diff
+D refactor-unittest-to-pytest.diff
+D renamed-methods-alias-part2.patch
+D changes-detection-to-distro-like-for-suse-distributions.diff
+D rhn-mngmnt-key-field-fix.diff
+
+-------------------------------------------------------------------
+Thu May 16 08:46:16 UTC 2019 - Jochen Breuer <[email protected]>
+
+- Re-enabling build for cobbler-test package.
+
+-------------------------------------------------------------------
+Wed May 15 13:16:42 UTC 2019 - [email protected]
+
+- Integrated fixes that came in from mainline from other products
+  (to calm down obs regression checker):
+  CVE-2011-4953, fate#312397, bsc#660126, bsc#671212, bsc#672471, bsc#682665
+  bsc#687891, bsc#695955, bsc#722443, bsc#722445, bsc#757062, bsc#763610
+  bsc#783671, bsc#790545, bsc#796773, bsc#811025, bsc#812948, bsc#842699
+  bsc#846580, bsc#869371, bsc#884051, bsc#976826, bsc#984998
+
+-------------------------------------------------------------------
+Thu May  9 14:50:34 UTC 2019 - Jochen Breuer <[email protected]>
+
+- Fix for redhat_management_key not being listed as a choice
+  during profile rename (bsc#1134588)
+
+- Added:
+  * rhn-mngmnt-key-field-fix.diff
+
+-------------------------------------------------------------------
+Tue May  7 13:00:33 UTC 2019 - Jochen Breuer <[email protected]>
+
+- Fixes distribution detection in setup.py for SLESo
+
+- Added:
+  * changes-detection-to-distro-like-for-suse-distributions.diff
+
+-------------------------------------------------------------------
+Tue May  7 09:21:09 UTC 2019 - Jochen Breuer <[email protected]>
+
+- Moving to pytest and adding Docker test integration
+
+- Added:
+  * add-docker-integration-testing.diff
+  * refactor-unittest-to-pytest.diff
+
+-------------------------------------------------------------------
+Tue May  7 08:13:34 UTC 2019 - Jochen Breuer <[email protected]>
+
+- Additional compatability changes for old Koan versions.
+
+- Modified:
+  * renamed-methods-alias-part2.patch
+
+-------------------------------------------------------------------
+Tue Apr 30 14:16:17 UTC 2019 - Jochen Breuer <[email protected]>
+
+- Old Koan versions not only need method aliases, but also need
+  compatible responses
+
+- Added:
+  * renamed-methods-alias-part2.patch
+
+-------------------------------------------------------------------
+Tue Apr 23 09:25:21 UTC 2019 - Enno Gotthold <[email protected]>
+
+- Add the redhat_managment_* fields again to enable templating in SUMA.
+
+- Added:
+  * revert-redhat-management-removal.patch  
+
+-------------------------------------------------------------------
+Fri Apr  5 12:14:39 UTC 2019 - Jochen Breuer <[email protected]>
+
+- Changes return of last_modified_time RPC to float
+
+- Added:
+  * changes-return-to-float.diff
+
+-------------------------------------------------------------------
+Thu Apr  4 14:13:02 CEST 2019 - [email protected]
+
+- provide old name aliases for all renamed methods:
+  - get_distro_for_koan     =>  get_distro_as_rendered
+  - get_profile_for_koan    =>  get_profile_as_rendered
+  - get_system_for_koan     =>  get_system_as_rendered
+  - get_repo_for_koan       =>  get_repo_as_rendered
+  - get_image_for_koan      =>  get_image_as_rendered
+  - get_mgmtclass_for_koan  =>  get_mgmtclass_as_rendered
+  - get_package_for_koan    =>  get_package_as_rendered
+  - get_file_for_koan       =>  get_file_as_rendered
+
+- Renamed:
+  get_system_for_koan.patch => renamed-methods-alias.patch
+
+-------------------------------------------------------------------
+Thu Apr  4 10:18:05 CEST 2019 - [email protected]
+
+- provide renamed method "get_system_for_koan" under old name
+  for old clients.
+
+- Added:
+  * get_system_for_koan.patch
+
+-------------------------------------------------------------------
+Thu Mar 28 11:31:36 UTC 2019 - Matei <[email protected]>
+
+- Bring back power_system method in the XML-RPC API
+- Changed lanplus option to lanplus=true in fence_ipmitool.template
+
+- Added:
+  * power_system_xmlrpc_api.patch
+
+- Changed:
+  * fence_ipmitool.template
+
+-------------------------------------------------------------------
+Wed Mar 27 14:33:58 UTC 2019 - Jochen Breuer <[email protected]>
+
+- Disables nsupdate_enabled by default
+
+- Added:
+  * disable_nsupdate_enabled_by_default.diff
+
+-------------------------------------------------------------------
+Wed Mar 27 12:50:12 UTC 2019 - Jochen Breuer <[email protected]>
+
+- Fixes issue in distribution detection with "lower" function call.
+
+- Modified:
+  * remodeled-distro-detection.diff  
+
+-------------------------------------------------------------------
+Tue Mar 26 09:29:03 UTC 2019 - Jochen Breuer <[email protected]>
+
+- Adds imporoved distribution detection. Since now all base products
+  get detected correctly, we no longer need the SUSE Manager patch.
+
+- Added:
+  * remodeled-distro-detection.diff  
+
+-------------------------------------------------------------------
+Sun Mar 24 17:06:54 UTC 2019 - Michael Calmer <[email protected]>
+
+- fix grub directory layout
+- Added:
+  * create-system-directory-at-the-correct-place.patch
+
+-------------------------------------------------------------------
+Sat Mar 23 13:36:07 UTC 2019 - Michael Calmer <[email protected]>
+
+- fix HTTP status code of XMLRPC service
+- Added:
+  * fix-http-status-code.patch
+
+-------------------------------------------------------------------
+Tue Mar 19 17:11:35 UTC 2019 - Michael Calmer <[email protected]>
+
+- touch /etc/genders when it not exists (bsc#1128926)
+- Add patches to fix logging
+
+- Added:
+  * return-the-name-of-the-unknown-method.patch
+  * call-with-logger-where-possible.patch
+
+-------------------------------------------------------------------
+Tue Mar 19 14:25:15 UTC 2019 - Jochen Breuer <[email protected]>
+
+- Switching version schema from 3.0 to 3.0.0
+
+-------------------------------------------------------------------
+Tue Mar 12 16:08:08 UTC 2019 - Jochen Breuer <[email protected]>
+
+- Fixes case where distribution detection returns None (bsc#1130658)
+
+- Added:
++++ 48 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/cobbler/cobbler.changes
++++ and /work/SRC/openSUSE:Factory/.cobbler.new.5148/cobbler.changes

Old:
----
  adds_suse_manager_as_distro.diff
  cobbler-3.0+git20190222.9e502a9d.tar.xz
  fix-login-error.patch

New:
----
  cobbler-3.0.0+git20190510.d43461b3.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cobbler.spec ++++++
--- /var/tmp/diff_new_pack.D6huve/_old  2019-05-22 15:39:45.034482272 +0200
+++ /var/tmp/diff_new_pack.D6huve/_new  2019-05-22 15:39:45.038482263 +0200
@@ -25,13 +25,13 @@
 %define _binaries_in_noarch_packages_terminate_build 0
 %global debug_package %{nil}
 Name:           cobbler
-Version:        3.0+git20190222.9e502a9d
+Version:        3.0.0+git20190510.d43461b3
 Release:        0
 Summary:        Boot server configurator
 License:        GPL-2.0-or-later
 Group:          Productivity/Networking/Boot/Servers
 URL:            https://cobbler.github.io/
-Source0:        cobbler-%{version}.tar.xz
+Source0:        cobbler-3.0.0+git20190510.d43461b3.tar.xz
 # Manually generated AUTHORS file because the git repo is not included in the
 # sources.
 Source1:        AUTHORS
@@ -39,9 +39,7 @@
 Source3:        fence_ipmitool.template
 Patch0:         fix_hardcoded_libpath_for_websession.patch
 Patch1:         fix_shebang.patch
-Patch2:         adds_suse_manager_as_distro.diff
-# Pull Request: https://github.com/cobbler/cobbler/pull/2035
-Patch3:         fix-login-error.patch
+
 BuildRequires:  Cheetah3
 BuildRequires:  apache-rpm-macros
 BuildRequires:  apache2
@@ -51,6 +49,7 @@
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3
 BuildRequires:  python3-base
+BuildRequires:  python3-distro
 BuildRequires:  python3-coverage
 BuildRequires:  python3-future
 BuildRequires:  python3-setuptools
@@ -60,7 +59,6 @@
 Requires:       acl
 Requires:       apache2-mod_wsgi-python3
 Requires:       fence-agents
-Requires:       grub2-x86_64-efi
 Requires:       ipmitool
 Requires:       logrotate
 Requires:       mkisofs
@@ -81,6 +79,7 @@
 Requires(post): grub2
 #Requires(post): grub2-x86_64-efi
 #Requires(post): grub2-powerpc-ieee1275
+Recommends:     grub2-x86_64-efi
 Recommends:     grub2-i386-pc
 Recommends:     grub2-arm64-efi
 Recommends:     grub2-powerpc-ieee1275
@@ -120,11 +119,9 @@
 http://server/cobbler_web to configure the install server.
 
 %prep
-%setup -q
+%setup -q -n cobbler-%{version}
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
-%patch3 -p1
 
 %build
 %python_build
@@ -149,12 +146,19 @@
 ln -s fence_ipmilan %{buildroot}/%{_sbindir}/fence_ipmitool
 install -m 644 %{SOURCE3} 
%{buildroot}%{_sysconfdir}/cobbler/power/fence_ipmitool.template
 
+%if 0%{?suse_version}
+cp -r tests/ $RPM_BUILD_ROOT/usr/share/cobbler/
+%endif
+
 %fdupes %{buildroot}%{_prefix}
 
 %pre
 %service_add_pre cobblerd.service
 
 %post
+if [ ! -e /etc/genders ]; then
+    touch /etc/genders
+fi
 if [ $1 -eq 1 ] ; then
     # Initial installation
         sysconf_addword %{_sysconfdir}/sysconfig/apache2 APACHE_MODULES proxy
@@ -237,6 +241,7 @@
 %{_bindir}/cobbler
 %{_bindir}/cobbler-ext-nodes
 %{_bindir}/cobblerd
+%{_datadir}/
 %{_datadir}/%{name}/bin/mkgrub.sh
 %{_datadir}/cobbler/web
 %{_localstatedir}/log/cobbler
@@ -259,6 +264,8 @@
 
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/bin
+%exclude %dir %{_datadir}/%{name}/tests
+
 %dir /srv/tftpboot/images
 
 %files web
@@ -268,4 +275,22 @@
 %defattr(-,%{apache_user},%{apache_group},-)
 /%{www_path}/www/cobbler_webui_content/
 
+
+%if 0%{?suse_version}
+%package -n cobbler-tests
+
+Summary:        Unit tests for Cobbler
+Group:          Applications/System
+Requires:       cobbler
+
+%description -n cobbler-tests
+
+Unit test files from the Cobbler project
+
+%files -n cobbler-tests
+%defattr(-,root,root,-)
+%exclude %dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/tests
+%endif #suse_version
+
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.D6huve/_old  2019-05-22 15:39:45.090482137 +0200
+++ /var/tmp/diff_new_pack.D6huve/_new  2019-05-22 15:39:45.090482137 +0200
@@ -5,7 +5,7 @@
     <param name="revision">master</param>
     <param name="changesgenerate">disable</param>
     <param name="filename">cobbler</param>
-    <param name="versionformat">3.0+git%cd.%h</param>
+    <param name="versionformat">3.0.0+git%cd.%h</param>
   </service>
   <service mode="disabled" name="recompress">
     <param name="file">*.tar</param>

++++++ fence_ipmitool.template ++++++
--- /var/tmp/diff_new_pack.D6huve/_old  2019-05-22 15:39:45.114482078 +0200
+++ /var/tmp/diff_new_pack.D6huve/_new  2019-05-22 15:39:45.114482078 +0200
@@ -2,4 +2,4 @@
 ipaddr=$power_address
 login=$power_user
 passwd=$power_pass
-lanplus
+lanplus=true

++++++ fix_hardcoded_libpath_for_websession.patch ++++++
--- /var/tmp/diff_new_pack.D6huve/_old  2019-05-22 15:39:45.126482050 +0200
+++ /var/tmp/diff_new_pack.D6huve/_new  2019-05-22 15:39:45.126482050 +0200
@@ -8,11 +8,11 @@
 
 Signed-off-by: Thomas Renninger <[email protected]>
 
-Index: cobbler-3.0/setup.py
+Index: cobbler-3.0.0+git20190510.d43461b3/setup.py
 ===================================================================
---- cobbler-3.0.orig/setup.py  2019-01-15 16:00:16.000000000 +0100
-+++ cobbler-3.0/setup.py       2019-01-15 17:16:05.508474760 +0100
-@@ -363,10 +363,6 @@ class install(_install):
+--- cobbler-3.0.0+git20190510.d43461b3.orig/setup.py   2019-05-10 
16:41:32.000000000 +0200
++++ cobbler-3.0.0+git20190510.d43461b3/setup.py        2019-05-15 
16:14:04.414735035 +0200
+@@ -364,10 +364,6 @@ class install(_install):
          # Run the usual stuff.
          _install.run(self)
  
@@ -23,7 +23,7 @@
          # Hand over some directories to the webserver user
          path = os.path.join(self.install_data, 'share/cobbler/web')
          try:
-@@ -377,9 +373,7 @@ class install(_install):
+@@ -378,9 +374,7 @@ class install(_install):
          if not os.path.abspath(libpath):
              # The next line only works for absolute libpath
              raise Exception("libpath is not absolute.")


Reply via email to