openSUSE Commits
Threads by month
- ----- 2024 -----
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
July 2019
- 2 participants
- 2045 discussions
Hello community,
here is the log from the commit of package yast2-network for openSUSE:Factory checked in at 2019-07-31 14:26:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-network (Old)
and /work/SRC/openSUSE:Factory/.yast2-network.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-network"
Wed Jul 31 14:26:50 2019 rev:408 rq:719996 version:4.2.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-network/yast2-network.changes 2019-04-28 20:00:05.654911744 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-network.new.4126/yast2-network.changes 2019-07-31 14:26:52.494245841 +0200
@@ -1,0 +2,82 @@
+Tue Jul 30 11:14:04 UTC 2019 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Requires hostname: there are many places where the module calls
+ /bin/hostname (boo#1142595).
+- 4.2.11
+
+-------------------------------------------------------------------
+Fri Jul 19 08:10:14 UTC 2019 - Josef Reidinger <jreidinger(a)suse.com>
+
+- avoid dependency on autoyast2-installation
+- 4.2.10
+
+-------------------------------------------------------------------
+Wed Jul 17 10:30:31 UTC 2019 - Imobach Gonzalez Sosa <igonzalezsosa(a)suse.com>
+
+- Revamp UI internals, adding new widgets, sequences and
+ introducing the concept of interface builder.
+- Add initial bits of the new data model.
+- Fix several bugs that were introduced in version 4.2.2.
+- 4.2.9
+
+-------------------------------------------------------------------
+Wed Jul 3 16:40:45 UTC 2019 - Imobach Gonzalez Sosa <igonzalezsosa(a)suse.com>
+
+- The 'lan' client returns the correct value (bsc#1140199).
+- 4.2.8
+
+-------------------------------------------------------------------
+Wed Jul 3 13:18:05 UTC 2019 - Knut Anderssen <kanderssen(a)suse.com>
+
+- bsc#1137346
+ - CLI: Report an error instead of raising an exception when the
+ device type is not provided and there is no way to infer it
+ from the given options.
+
+-------------------------------------------------------------------
+Fri Jun 14 13:14:05 UTC 2019 - Knut Anderssen <kanderssen(a)suse.com>
+
+- boo#1138297
+ - Improve some mocking in NetworkService.activate_network_service
+ unit test which caused some test to fail randomly.
+- 4.2.7
+
+-------------------------------------------------------------------
+Fri Jun 14 10:39:05 UTC 2019 - Knut Anderssen <kanderssen(a)suse.com>
+
+- boo#1138278
+ - Adapt the AddressDialog to use the new Y2Network::Routing class
+ when checking if there is some default gateway defined.
+- 4.2.6
+
+-------------------------------------------------------------------
+Thu Jun 12 11:55:48 UTC 2019 - Knut Anderssen <kanderssen(a)suse.com>
+
+- bsc#1136929
+ - Use the hwinfo permanent mac address instead of the current mac
+ which could be wrong in case of an enslaved interface.
+- bsc#1137324
+ - Do not create duplicate udev rule attributes when editing an
+ interface name.
+- boo#903889
+ - When proposing a bridge configuration for virtualization, move
+ the routes from the enslaved interface to the new bridge.
+- 4.2.5
+
+-------------------------------------------------------------------
+Fri Jun 7 23:57:54 UTC 2019 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Use new schema of desktop files (boo#1084864)
+- Clean up spec
+- Rename desktop files
+- 4.2.4
+
+-------------------------------------------------------------------
+Mon May 20 14:04:47 UTC 2019 - Michal Filka <mfilka(a)suse.com>
+
+- bnc#1131588
+ - display a confirmation popup when static route is going to be
+ removed when switching a device to dhcp
+- 4.2.3
+
+-------------------------------------------------------------------
Old:
----
yast2-network-4.2.2.tar.bz2
New:
----
yast2-network-4.2.11.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-network.spec ++++++
--- /var/tmp/diff_new_pack.XPf3mv/_old 2019-07-31 14:26:52.958245483 +0200
+++ /var/tmp/diff_new_pack.XPf3mv/_new 2019-07-31 14:26:52.962245480 +0200
@@ -17,60 +17,58 @@
Name: yast2-network
-Version: 4.2.2
+Version: 4.2.11
Release: 0
-BuildArch: noarch
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Summary: YaST2 - Network Configuration
+License: GPL-2.0-only
+Group: System/YaST
Url: https://github.com/yast/yast-network
+
Source0: %{name}-%{version}.tar.bz2
+# testsuite
BuildRequires: update-desktop-files
BuildRequires: yast2-devtools >= 3.1.15
-Requires: yast2-proxy
+BuildRequires: rubygem(%rb_default_ruby_abi:rspec)
#for install task
+BuildRequires: yast2-storage-ng
BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake)
-
# Y2Firewall interface zone mapping methods
BuildRequires: yast2 >= 4.1.53
-Requires: yast2 >= 4.1.53
-
+BuildRequires: yast2-packager >= 4.0.18
# Product control need xml agent
BuildRequires: yast2-xml
-Requires: yast2-xml
+# cfa for parsing hosts
+BuildRequires: rubygem(%rb_default_ruby_abi:cfa) >= 0.6.4
+# lenses are needed to use cfa
+BuildRequires: augeas-lenses
+PreReq: /bin/rm
#netconfig (FaTE #303618)
Requires: sysconfig >= 0.80.0
-BuildRequires: yast2-storage-ng
+Requires: yast2 >= 4.1.53
+Requires: yast2-proxy
Requires: yast2-storage-ng
# Packages::vnc_packages
+Requires: augeas-lenses
Requires: yast2-packager >= 4.0.18
-BuildRequires: yast2-packager >= 4.0.18
-# cfa for parsing hosts
-BuildRequires: rubygem(%rb_default_ruby_abi:cfa) >= 0.6.4
Requires: rubygem(%rb_default_ruby_abi:cfa) >= 0.6.4
-# lenses are needed to use cfa
-BuildRequires: augeas-lenses
-Requires: augeas-lenses
# BusID of all the cards with the same one (bsc#1007172)
+Requires: hostname
Requires: hwinfo >= 21.35
+Requires: yast2-ruby-bindings >= 1.0.0
+Requires: yast2-xml
# testsuite
BuildRequires: rubygem(%rb_default_ruby_abi:rspec)
-PreReq: /bin/rm
-
# carrier detection
Conflicts: yast2-core < 2.10.6
-Requires: yast2-ruby-bindings >= 1.0.0
-
Obsoletes: yast2-network-devel-doc <= 3.1.154
Provides: yast2-network-devel-doc = %{version}
-Summary: YaST2 - Network Configuration
-License: GPL-2.0-only
-Group: System/YaST
+BuildArch: noarch
%build
@@ -78,33 +76,28 @@
This package contains the YaST2 component for network configuration.
%prep
-%setup -n %{name}-%{version}
+%setup -q
%check
-rake test:unit
+%yast_check
%install
-rake install DESTDIR="%{buildroot}"
+%yast_install
+%yast_metainfo
%files
-%defattr(-,root,root)
-%{yast_yncludedir}/network
-%{yast_clientdir}/*.rb
-%{yast_moduledir}/*.rb
-%{yast_desktopdir}/*.desktop
-%{yast_scrconfdir}/*.scr
-%{yast_agentdir}/ag_udev_persistent
-%{yast_schemadir}/autoyast/rnc/networking.rnc
-%{yast_schemadir}/autoyast/rnc/host.rnc
-%{yast_libdir}/network
-%{yast_libdir}/y2network
-%{yast_libdir}/y2remote
-%{yast_libdir}/cfa/
-%{yast_ydatadir}/network
+%{yast_yncludedir}
+%{yast_clientdir}
+%{yast_moduledir}
+%{yast_desktopdir}
+%{yast_scrconfdir}
+%{yast_agentdir}
+%{yast_schemadir}
+%{yast_libdir}
+%{yast_ydatadir}
%{yast_icondir}
-%dir %{yast_docdir}
-%doc %{yast_docdir}/CONTRIBUTING.md
+%{yast_metainfodir}
%license COPYING
-%doc %{yast_docdir}/README.md
+%doc %{yast_docdir}
%changelog
++++++ yast2-network-4.2.2.tar.bz2 -> yast2-network-4.2.11.tar.bz2 ++++++
++++ 20376 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package libstorage-ng for openSUSE:Factory checked in at 2019-07-31 14:26:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old)
and /work/SRC/openSUSE:Factory/.libstorage-ng.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libstorage-ng"
Wed Jul 31 14:26:43 2019 rev:59 rq:719872 version:4.1.143
Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes 2019-06-07 12:18:42.056784073 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.4126/libstorage-ng.changes 2019-07-31 14:26:44.542251984 +0200
@@ -1,0 +2,128 @@
+Tue Jul 30 14:37:53 UTC 2019 - medwin(a)opensuse.org
+
+- Translated using Weblate (Indonesian)
+- 4.1.143
+
+--------------------------------------------------------------------
+Mon Jul 29 12:30:05 UTC 2019 - aschnell(a)suse.com
+
+- merge gh#openSUSE/libstorage-ng#660
+- added functions to query existance of holders
+- 4.1.142
+
+--------------------------------------------------------------------
+Fri Jul 26 08:52:30 UTC 2019 - aschnell(a)suse.com
+
+- merge gh#openSUSE/libstorage-ng#659
+- added parser for 'cryptsetup luksDump'
+- added example
+- added support for LUKS2
+- extended documentation
+- coding style
+- extended integration tests
+- fixed documentation
+- fixed typo
+- relaxed parser for whitespace changes
+- LUKS2 support
+- 4.1.141
+
+--------------------------------------------------------------------
+Wed Jul 10 08:32:24 UTC 2019 - aschnell(a)suse.de
+
+- merge gh#openSUSE/libstorage-ng#658
+- probe zone model for disks
+- added unit test
+- avoid compiler warning
+- coding style
+- 4.1.140
+
+--------------------------------------------------------------------
+Mon Jul 8 09:33:47 UTC 2019 - aschnell(a)suse.de
+
+- merge gh#openSUSE/libstorage-ng#657
+- extended documentation
+- 4.1.139
+
+--------------------------------------------------------------------
+Thu Jul 4 12:29:16 UTC 2019 - aschnell(a)suse.de
+
+- merge gh#openSUSE/libstorage-ng#656
+- improve sorting of pmem devices
+- 4.1.138
+
+--------------------------------------------------------------------
+Wed Jul 3 09:47:53 UTC 2019 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (German)
+- 4.1.137
+
+--------------------------------------------------------------------
+Sun Jun 30 19:54:20 UTC 2019 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Portuguese (Brazil))
+- 4.1.136
+
+--------------------------------------------------------------------
+Sat Jun 29 06:44:09 UTC 2019 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Chinese (China))
+- 4.1.135
+
+--------------------------------------------------------------------
+Thu Jun 27 17:02:08 UTC 2019 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Slovak)
+- 4.1.134
+
+--------------------------------------------------------------------
+Wed Jun 26 08:10:44 UTC 2019 - freek(a)opensuse.org
+
+- Translated using Weblate (Dutch)
+- 4.1.133
+
+--------------------------------------------------------------------
+Tue Jun 25 22:20:04 UTC 2019 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Japanese)
+- 4.1.132
+
+--------------------------------------------------------------------
+Tue Jun 25 19:11:51 UTC 2019 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Czech)
+- 4.1.131
+
+--------------------------------------------------------------------
+Tue Jun 25 14:18:25 UTC 2019 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Catalan)
+- 4.1.130
+
+--------------------------------------------------------------------
+Tue Jun 25 13:27:11 UTC 2019 - aschnell(a)suse.de
+
+- merge gh#openSUSE/libstorage-ng#655
+- allow to customize style of graphviz output
+- use new style api
+- added examples for style api usage
+- coding style
+- added unit test
+- 4.1.129
+
+--------------------------------------------------------------------
+Thu Jun 6 17:20:43 UTC 2019 - aschnell(a)suse.de
+
+- merge gh#openSUSE/libstorage-ng#654
+- updated pot and po files
+- 4.1.128
+
+--------------------------------------------------------------------
+Thu Jun 6 12:45:40 UTC 2019 - aschnell(a)suse.de
+
+- merge gh#openSUSE/libstorage-ng#653
+- improve filesystem related commit action messages
+- added unit test
+- added integration test
+- removed unneeded include statement
+
+--------------------------------------------------------------------
Old:
----
libstorage-ng-4.1.127.tar.xz
New:
----
libstorage-ng-4.1.143.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libstorage-ng.spec ++++++
--- /var/tmp/diff_new_pack.e9aTRv/_old 2019-07-31 14:26:45.038251602 +0200
+++ /var/tmp/diff_new_pack.e9aTRv/_new 2019-07-31 14:26:45.042251598 +0200
@@ -18,7 +18,7 @@
%define libname %{name}1
Name: libstorage-ng
-Version: 4.1.127
+Version: 4.1.143
Release: 0
Summary: Library for storage management
License: GPL-2.0-only
++++++ libstorage-ng-4.1.127.tar.xz -> libstorage-ng-4.1.143.tar.xz ++++++
++++ 86102 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package yast2-storage-ng for openSUSE:Factory checked in at 2019-07-31 14:26:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-storage-ng (Old)
and /work/SRC/openSUSE:Factory/.yast2-storage-ng.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-storage-ng"
Wed Jul 31 14:26:34 2019 rev:53 rq:719857 version:4.2.30
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-storage-ng/yast2-storage-ng.changes 2019-05-22 15:38:05.226597926 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-storage-ng.new.4126/yast2-storage-ng.changes 2019-07-31 14:26:38.046257003 +0200
@@ -1,0 +2,107 @@
+Mon Jul 29 21:52:18 CEST 2019 - aschnell(a)suse.com
+
+- Fixed exception when removing devices from btrfs (bsc#1142669)
+- Sort selected devices in LVM VG and btrfs dialog by name
+- 4.2.30
+
+-------------------------------------------------------------------
+Thu Jul 18 15:11:15 UTC 2019 - Ancor Gonzalez Sosa <ancor(a)suse.com>
+
+- Fixed some errors calculating the initial proposal, before the
+ user has executed the Guided Setup (related to jsc#SLE-7238).
+- 4.2.29
+
+-------------------------------------------------------------------
+Mon Jul 15 13:32:36 UTC 2019 - Stefan Hundhammer <shundhammer(a)suse.com>
+
+- Complain if user attempts to put /boot on a thin LVM or a BCache
+ (bsc#1134130)
+- 4.2.28
+
+-------------------------------------------------------------------
+Fri Jul 12 12:24:36 UTC 2019 - David Diaz <dgonzalez(a)suse.com>
+
+- Guided Setup: added support for the new control file option
+ "allocate_volume_mode". When set to "device", this option allows
+ the user to specify a device per each volume (part of
+ jsc#SLE-7238).
+- 4.2.27
+
+-------------------------------------------------------------------
+Wed Jul 10 11:31:18 UTC 2019 - José Iván López González <jlopez(a)suse.com>
+
+- Add execute permissions to test files (bsc#1141006).
+
+-------------------------------------------------------------------
+Tue Jul 9 14:15:16 UTC 2019 - José Iván López González <jlopez(a)suse.com>
+
+- For Z Systems, the option to enlarge swap for suspend is always
+ disabled by default, independently of its value in the control
+ file (part of jsc#SLE-6926).
+- 4.2.26
+
+-------------------------------------------------------------------
+Tue Jul 9 13:20:26 UTC 2019 - Stefan Hundhammer <shundhammer(a)suse.com>
+
+- AutoYaST: Fixed typo in filesystem type that caused a crash
+ (bsc#1136272)
+- 4.2.25
+
+-------------------------------------------------------------------
+Mon Jul 8 11:52:43 UTC 2019 - José Iván López González <jlopez(a)suse.com>
+
+- AutoYaST: do not delete related partitions if they are not
+ specifically requested (related to bsc#1096760).
+- 4.2.24
+
+-------------------------------------------------------------------
+Fri Jul 5 14:04:00 UTC 2019 - José Iván López González <jlopez(a)suse.com>
+
+- Proposal: add control file option to make configurable to resize
+ and delete partitions (part of jsc#SLE-7238).
+- 4.2.23
+
+-------------------------------------------------------------------
+Mon Jul 1 11:12:13 UTC 2019 - José Iván López González <jlopez(a)suse.com>
+
+- Partitioner: fix importing mount points from a multi-device
+ Btrfs filesystem (bsc#1137997).
+- 4.2.22
+
+-------------------------------------------------------------------
+Mon Jul 1 10:28:48 UTC 2019 - Josef Reidinger <jreidinger(a)suse.com>
+
+- adopt new rubocop to be able to use the latest ruby features
+ (bsc#1139270)
+- 4.2.21
+
+-------------------------------------------------------------------
+Tue Jun 18 10:56:58 UTC 2019 - ancor(a)suse.com
+
+- Proposal: initial support for several separate LVM volume groups
+ (part of jsc#SLE-7238).
+- 4.2.20
+
+-------------------------------------------------------------------
+Mon Jun 10 11:54:40 UTC 2019 - José Iván López González <jlopez(a)suse.com>
+
+- AutoYaST: add support for multi-device Btrfs filesystems.
+- Part of jsc#SLE-3877.
+- 4.2.19
+
+-------------------------------------------------------------------
+Fri May 31 12:40:29 UTC 2019 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Add metainfo (fate#319035)
+- Revamp spec
+- Replace GenericName with Comment
+-4.2.18
+
+-------------------------------------------------------------------
+Fri May 17 14:59:50 UTC 2019 - ancor(a)suse.com
+
+- AutoYaST: do not ask for a reusable filesystem when it's not
+ really needed (bsc#1134330).
+- 4.2.17
+
+-------------------------------------------------------------------
Old:
----
yast2-storage-ng-4.2.16.tar.bz2
New:
----
yast2-storage-ng-4.2.30.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-storage-ng.spec ++++++
--- /var/tmp/diff_new_pack.nkYKVO/_old 2019-07-31 14:26:38.646256540 +0200
+++ /var/tmp/diff_new_pack.nkYKVO/_new 2019-07-31 14:26:38.650256536 +0200
@@ -17,20 +17,21 @@
Name: yast2-storage-ng
-Version: 4.2.16
+Version: 4.2.30
Release: 0
Summary: YaST2 - Storage Configuration
License: GPL-2.0-only OR GPL-3.0-only
Group: System/YaST
-Source: %{name}-%{version}.tar.bz2
Url: https://github.com/yast/yast-storage-ng
+Source: %{name}-%{version}.tar.bz2
+
# Resize multi-device Btrfs
BuildRequires: libstorage-ng-ruby >= 4.1.121
BuildRequires: update-desktop-files
# CWM::Dialog#next_handler (4.1 branch) and improved CWM::Dialog
BuildRequires: yast2 >= 4.1.11
-BuildRequires: yast2-devtools
+BuildRequires: yast2-devtools >= 4.2.2
# for AbortException and handle direct abort
BuildRequires: yast2-ruby-bindings >= 4.0.6
# yast2-xml dependency is added by yast2 but ignored in the
@@ -40,6 +41,11 @@
# communicate with udisks
BuildRequires: rubygem(ruby-dbus)
BuildRequires: rubygem(yast-rake)
+# speed up the tests in SLE15-SP1+ or TW
+%if 0%{?sle_version} >= 150100 || 0%{?suse_version} > 1500
+BuildRequires: rubygem(parallel_tests)
+%endif
+
# findutils for xargs
Requires: findutils
# Resize multi-device Btrfs
@@ -53,11 +59,8 @@
# communicate with udisks
Requires: rubygem(ruby-dbus)
Requires(post): %fillup_prereq
+
Obsoletes: yast2-storage
-# speed up the tests in SLE15-SP1+ or TW
-%if 0%{?sle_version} >= 150100 || 0%{?suse_version} > 1500
-BuildRequires: rubygem(parallel_tests)
-%endif
%description
This package contains the files for YaST2 that handle access to disk
@@ -70,13 +73,11 @@
%check
rake test:unit
-%install
-rake install DESTDIR=%{buildroot}
+%build
-# Remove the license from the /usr/share/doc/packages directory,
-# it is also included in the /usr/share/licenses directory by using
-# the %license tag.
-rm -f %{buildroot}/%{yast_docdir}/COPYING
+%install
+%yast_install
+%yast_metainfo
%post
%ifarch s390 s390x
@@ -86,22 +87,17 @@
%endif
%files
-%{yast_dir}/clients/*.rb
-%{yast_dir}/lib
-%{yast_desktopdir}/*.desktop
-%{yast_fillupdir}/*
-%{yast_ybindir}/*
-
+%{yast_clientdir}
+%{yast_libdir}
+%{yast_desktopdir}
+%{yast_metainfodir}
+%{yast_fillupdir}
+%{yast_ybindir}
# agents-scr
-%{yast_scrconfdir}/*.scr
-
-# icons
+%{yast_scrconfdir}
%{yast_icondir}
-
%license COPYING
%doc README.md
%doc CONTRIBUTING.md
-%build
-
%changelog
++++++ yast2-storage-ng-4.2.16.tar.bz2 -> yast2-storage-ng-4.2.30.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/yast2-storage-ng/yast2-storage-ng-4.2.16.tar.bz2 /work/SRC/openSUSE:Factory/.yast2-storage-ng.new.4126/yast2-storage-ng-4.2.30.tar.bz2 differ: char 11, line 1
1
0
Hello community,
here is the log from the commit of package skelcd-control-Kubic for openSUSE:Factory checked in at 2019-07-31 14:26:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/skelcd-control-Kubic (Old)
and /work/SRC/openSUSE:Factory/.skelcd-control-Kubic.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "skelcd-control-Kubic"
Wed Jul 31 14:26:28 2019 rev:32 rq:719798 version:20190619
Changes:
--------
--- /work/SRC/openSUSE:Factory/skelcd-control-Kubic/skelcd-control-Kubic.changes 2019-06-07 12:19:01.400777925 +0200
+++ /work/SRC/openSUSE:Factory/.skelcd-control-Kubic.new.4126/skelcd-control-Kubic.changes 2019-07-31 14:26:29.674263471 +0200
@@ -1,0 +2,15 @@
+Wed Jun 19 13:55:23 UTC 2019 - Richard Brown <rbrown(a)suse.de>
+
+- Add /boot/writable subvolume [boo#1138725]
+- 20190619
+
+-------------------------------------------------------------------
+Thu Jun 13 14:57:51 UTC 2019 - Richard Brown <rbrown(a)suse.de>
+
+- Add srv as a subvolume [boo#1132436]
+- Select product on installation [boo#1124590]
+- Remove (Alpha) tags from kubic roles [boo#1138180]
+- Fix kubic_admin role description [boo#1135973]
+- 20190613
+
+-------------------------------------------------------------------
Old:
----
skelcd-control-Kubic-20190603.tar.bz2
New:
----
skelcd-control-Kubic-20190619.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ skelcd-control-Kubic.spec ++++++
--- /var/tmp/diff_new_pack.YaWK6o/_old 2019-07-31 14:26:30.242263032 +0200
+++ /var/tmp/diff_new_pack.YaWK6o/_new 2019-07-31 14:26:30.246263029 +0200
@@ -121,7 +121,7 @@
Url: https://github.com/yast/skelcd-control-Kubic
AutoReqProv: off
-Version: 20190603
+Version: 20190619
Release: 0
Summary: The Kubic control file needed for installation
License: MIT
++++++ skelcd-control-Kubic-20190603.tar.bz2 -> skelcd-control-Kubic-20190619.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/skelcd-control-Kubic-20190603/control/control.Kubic.xml new/skelcd-control-Kubic-20190619/control/control.Kubic.xml
--- old/skelcd-control-Kubic-20190603/control/control.Kubic.xml 2019-06-03 15:01:05.000000000 +0200
+++ new/skelcd-control-Kubic-20190619/control/control.Kubic.xml 2019-07-30 11:42:44.000000000 +0200
@@ -125,6 +125,9 @@
<!-- Try to install as few packages as possible: only required ones, no
documentation and no multiversion (FATE#321764) -->
<minimalistic_libzypp_config config:type="boolean">true</minimalistic_libzypp_config>
+
+ <!-- boo#1124590 - Ensure correct product is selected -->
+ <select_product>openSUSE-MicroOS</select_product>
</software>
<partitioning>
@@ -176,6 +179,12 @@
<subvolume>
<path>opt</path>
</subvolume>
+ <subvolume>
+ <path>srv</path>
+ </subvolume>
+ <subvolume>
+ <path>boot/writable</path>
+ </subvolume>
<!-- architecture specific subvolumes -->
@@ -336,6 +345,12 @@
<subvolume>
<path>opt</path>
</subvolume>
+ <subvolume>
+ <path>srv</path>
+ </subvolume>
+ <subvolume>
+ <path>boot/writable</path>
+ </subvolume>
<!-- architecture specific subvolumes -->
@@ -475,10 +490,10 @@
</container_host_role_description>
<kubic_admin_role>
<!-- TRANSLATORS: a label for a system role -->
- <label>Kubic Admin Node (Alpha)</label>
+ <label>Kubic Admin Node</label>
</kubic_admin_role>
<kubic_admin_role_description>
- <label>• MicroOS with kubicd kubernetes deployment tool
+ <label>• First MicroOS-based kubernetes Master Node
• Uses CRI-O Container Runtime by default
• Each kubic cluster requires at least one Admin Node
• Create cluster with `kubicctl init`
@@ -486,7 +501,7 @@
</kubic_admin_role_description>
<kubic_worker_role>
<!-- TRANSLATORS: a label for a system role -->
- <label>Kubic Worker Node (Alpha)</label>
+ <label>Kubic Worker Node</label>
</kubic_worker_role>
<kubic_worker_role_description>
<label>• MicroOS-based kubernetes Worker Nodes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/skelcd-control-Kubic-20190603/package/skelcd-control-Kubic.changes new/skelcd-control-Kubic-20190619/package/skelcd-control-Kubic.changes
--- old/skelcd-control-Kubic-20190603/package/skelcd-control-Kubic.changes 2019-06-03 15:01:05.000000000 +0200
+++ new/skelcd-control-Kubic-20190619/package/skelcd-control-Kubic.changes 2019-07-30 11:42:44.000000000 +0200
@@ -1,4 +1,19 @@
-------------------------------------------------------------------
+Wed Jun 19 13:55:23 UTC 2019 - Richard Brown <rbrown(a)suse.de>
+
+- Add /boot/writable subvolume [boo#1138725]
+- 20190619
+
+-------------------------------------------------------------------
+Thu Jun 13 14:57:51 UTC 2019 - Richard Brown <rbrown(a)suse.de>
+
+- Add srv as a subvolume [boo#1132436]
+- Select product on installation [boo#1124590]
+- Remove (Alpha) tags from kubic roles [boo#1138180]
+- Fix kubic_admin role description [boo#1135973]
+- 20190613
+
+-------------------------------------------------------------------
Mon Jun 03 12:43:53 UTC 2019 - Richard Brown <rbrown(a)suse.de>
- Fix kubic_admin role service name [boo#1135980]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/skelcd-control-Kubic-20190603/package/skelcd-control-Kubic.spec new/skelcd-control-Kubic-20190619/package/skelcd-control-Kubic.spec
--- old/skelcd-control-Kubic-20190603/package/skelcd-control-Kubic.spec 2019-06-03 15:01:05.000000000 +0200
+++ new/skelcd-control-Kubic-20190619/package/skelcd-control-Kubic.spec 2019-07-30 11:42:44.000000000 +0200
@@ -121,7 +121,7 @@
Url: https://github.com/yast/skelcd-control-Kubic
AutoReqProv: off
-Version: 20190603
+Version: 20190619
Release: 0
Summary: The Kubic control file needed for installation
License: MIT
1
0
Hello community,
here is the log from the commit of package installation-images for openSUSE:Factory checked in at 2019-07-31 14:26:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/installation-images (Old)
and /work/SRC/openSUSE:Factory/.installation-images.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "installation-images"
Wed Jul 31 14:26:16 2019 rev:73 rq:719570 version:14.431
Changes:
--------
--- /work/SRC/openSUSE:Factory/installation-images/installation-images.changes 2019-05-22 10:52:04.191302368 +0200
+++ /work/SRC/openSUSE:Factory/.installation-images.new.4126/installation-images.changes 2019-07-31 14:26:19.118271626 +0200
@@ -1,0 +2,50 @@
+Thu Jul 18 14:16:03 UTC 2019 - wfeldt(a)opensuse.org
+
+- merge gh#openSUSE/installation-images#326
+- merge branch master
+- data/root/etc/xorg.conf.template: disable acceleration for
+ modeset driver
+- xorg.conf.template: disable acceleration for modeset driver
+- 14.431
+
+--------------------------------------------------------------------
+Thu Jul 18 12:43:21 UTC 2019 - wfeldt(a)opensuse.org
+
+- merge gh#openSUSE/installation-images#325
+- allow explicit setting of product name
+- 14.430
+
+-------------------------------------------------------------------
+Thu Jul 11 10:22:14 UTC 2019 - Steffen Winterfeldt <snwint(a)suse.com>
+
+- add 'Conflicts: rescue-server' to skelcd-installer-*
+
+--------------------------------------------------------------------
+Thu Jul 11 10:11:11 UTC 2019 - wfeldt(a)opensuse.org
+
+- merge gh#openSUSE/installation-images#322
+- aarch64: fix kernel and initrd location in grub config
+ (bsc#1141038)
+- 14.429
+
+-------------------------------------------------------------------
+Fri Jul 5 10:33:30 UTC 2019 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Complete the tftpboot subpackage rename for the Kubic flavor:
+ also rename the directory inside tftpboot-installation, matching
+ the package name.
+
+--------------------------------------------------------------------
+Fri Jul 5 08:22:04 UTC 2019 - wfeldt(a)opensuse.org
+
+- merge gh#openSUSE/installation-images#320
+- remove SuSEfirewall2 dependency that was introduced in bnc#887406
+- 14.428
+
+-------------------------------------------------------------------
+Wed May 29 13:42:33 UTC 2019 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Rename the tftpboot subpackage for Kubic to be kubic relevant,
+ not using the generic MicroOS name.
+
+--------------------------------------------------------------------
Old:
----
installation-images-14.427.tar.xz
New:
----
installation-images-14.431.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ installation-images.spec ++++++
--- /var/tmp/diff_new_pack.DjBOfX/_old 2019-07-31 14:26:19.666271203 +0200
+++ /var/tmp/diff_new_pack.DjBOfX/_new 2019-07-31 14:26:19.666271203 +0200
@@ -117,6 +117,10 @@
%endif
%endif
+# === set product string (based on required packages) ===
+
+%global product_name %(bash %_sourcedir/product_name)
+
# === define each theme ===
%if "%{?theme}" == ""
@@ -146,6 +150,10 @@
%define config_bootmenu_no_upgrade 1
BuildRequires: openSUSE-MicroOS-release
BuildRequires: adobe-sourcesanspro-fonts
+
+# Kubic is based on MicroOS but we don't want this to show
+# note: keep this in sync with the Kubic settings in etc/config
+%global product_name openSUSE-Kubic
%endif
%if "%theme" == "MicroOS"
@@ -216,9 +224,9 @@
BuildRequires: caasp-release
%endif
-# === set product string (based on required packages) ===
+# === product name with architecture appended ===
-%global product_name %(bash %_sourcedir/product_name)-%{_target_cpu}
+%global product_name_arch %product_name-%{_target_cpu}
# === branding specific packages ===
@@ -255,7 +263,6 @@
BuildRequires: Mesa
BuildRequires: Mesa-libEGL1
BuildRequires: Mesa-libGL1
-BuildRequires: SuSEfirewall2
BuildRequires: aaa_base
BuildRequires: aaa_base-extras
BuildRequires: adaptec-firmware
@@ -322,6 +329,7 @@
BuildRequires: ipa-gothic-fonts
BuildRequires: iproute2
BuildRequires: iputils
+BuildRequires: iptables
BuildRequires: iscsiuio
BuildRequires: jfsutils
BuildRequires: joe
@@ -591,7 +599,7 @@
Summary: Installation Image Files for %theme
License: GPL-2.0+
Group: Metapackages
-Version: 14.427
+Version: 14.431
Release: 0
Provides: installation-images = %version-%release
Conflicts: otherproviders(installation-images)
@@ -620,13 +628,13 @@
up a UML or XEN environment.
-%package -n tftpboot-installation-%{product_name}
+%package -n tftpboot-installation-%{product_name_arch}
AutoReqProv: off
Summary: tftp installation tree
Group: System/Management
BuildArch: noarch
-%description -n tftpboot-installation-%{product_name}
+%description -n tftpboot-installation-%{product_name_arch}
This package contains the kernel, initrd and installation images
to install SUSE CaaS Platform with PXE boot/tftpboot on x86-64.
@@ -634,6 +642,7 @@
%package -n skelcd-installer-%{theme}
Provides: skelcd-installer = %version-%release
Conflicts: otherproviders(skelcd-installer)
+Conflicts: rescue-server
AutoReqProv: off
Summary: installer and related files needed on dvd1
Group: Metapackages
@@ -646,6 +655,7 @@
%package -n skelcd-installer-net-%{theme}
Provides: skelcd-installer = %version-%release
Conflicts: otherproviders(skelcd-installer)
+Conflicts: rescue-server
AutoReqProv: off
Summary: installer and related files needed on network medium
Group: Metapackages
@@ -674,7 +684,7 @@
rm -f /usr/lib/build/checks/04-check-filelist
%build
-echo building product "'%product_name'"
+echo building product "'%product_name_arch'"
unset MALLOC_CHECK_
BUILD_DISTRIBUTION_NAME="%distribution"
export BUILD_DISTRIBUTION_NAME
@@ -781,7 +791,7 @@
%files -n install-initrd-%{theme} -f install-initrd.files
-%files -n tftpboot-installation-%{product_name}
+%files -n tftpboot-installation-%{product_name_arch}
%defattr(-,root,root)
%dir %attr(0755,tftp,tftp) /usr/share/tftpboot-installation
/usr/share/tftpboot-installation
++++++ installation-images-14.427.tar.xz -> installation-images-14.431.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/installation-images-14.427/VERSION new/installation-images-14.431/VERSION
--- old/installation-images-14.427/VERSION 2019-05-21 15:50:52.000000000 +0200
+++ new/installation-images-14.431/VERSION 2019-07-18 16:16:03.000000000 +0200
@@ -1 +1 @@
-14.427
+14.431
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/installation-images-14.427/changelog new/installation-images-14.431/changelog
--- old/installation-images-14.427/changelog 2019-05-21 15:50:52.000000000 +0200
+++ new/installation-images-14.431/changelog 2019-07-18 16:16:03.000000000 +0200
@@ -1,3 +1,23 @@
+2019-07-18: 14.431
+ - merge gh#openSUSE/installation-images#326
+ - merge branch master
+ - data/root/etc/xorg.conf.template: disable acceleration for
+ modeset driver
+ - xorg.conf.template: disable acceleration for modeset driver
+
+2019-07-18: 14.430
+ - merge gh#openSUSE/installation-images#325
+ - allow explicit setting of product name
+
+2019-07-11: 14.429
+ - merge gh#openSUSE/installation-images#322
+ - aarch64: fix kernel and initrd location in grub config
+ (bsc#1141038)
+
+2019-07-05: 14.428
+ - merge gh#openSUSE/installation-images#320
+ - remove SuSEfirewall2 dependency that was introduced in bnc#887406
+
2019-05-21: 14.427
- merge gh#openSUSE/installation-images#314
- set root password for rescue system explicitly (bsc#1134524)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/installation-images-14.427/data/boot/grub-aarch64.cfg new/installation-images-14.431/data/boot/grub-aarch64.cfg
--- old/installation-images-14.427/data/boot/grub-aarch64.cfg 2019-05-21 15:50:52.000000000 +0200
+++ new/installation-images-14.431/data/boot/grub-aarch64.cfg 2019-07-18 16:16:03.000000000 +0200
@@ -68,9 +68,9 @@
menuentry 'Boot Linux System' --class opensuse --class gnu-linux --class gnu {
set gfxpayload=keep
echo 'Loading kernel ...'
- linux /boot/aarch64/loader/linux splash=silent systemboot=1
+ linux /boot/aarch64/linux splash=silent systemboot=1
echo 'Loading initial ramdisk ...'
- initrd /boot/aarch64/loader/initrd
+ initrd /boot/aarch64/initrd
}
menuentry 'Check Installation Media' --class opensuse --class gnu-linux --class gnu {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/installation-images-14.427/data/root/etc/xorg.conf.template new/installation-images-14.431/data/root/etc/xorg.conf.template
--- old/installation-images-14.427/data/root/etc/xorg.conf.template 2019-05-21 15:50:52.000000000 +0200
+++ new/installation-images-14.431/data/root/etc/xorg.conf.template 2019-07-18 16:16:03.000000000 +0200
@@ -24,6 +24,7 @@
Identifier "modesetting"
Driver "modesetting"
Option "PreferCloneMode" "true"
+ Option "AccelMethod" "none"
EndSection
Section "Screen"
Identifier "modesetting"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/installation-images-14.427/data/root/root.file_list new/installation-images-14.431/data/root/root.file_list
--- old/installation-images-14.427/data/root/root.file_list 2019-05-21 15:50:52.000000000 +0200
+++ new/installation-images-14.431/data/root/root.file_list 2019-07-18 16:16:03.000000000 +0200
@@ -306,12 +306,6 @@
# hack to make 'repair' option work
# p repair.diff
-# bnc#887406 SuSEfirewall2 configuration needed for AutoYast export
-# both in installation proposal and at the end of installation
-SuSEfirewall2:
- d /etc/sysconfig/SuSEfirewall2.d/services/
- /etc/sysconfig/SuSEfirewall2
-
if arch eq 'ppc' || arch eq 'ppc64'
pdisk:
/sbin/pdisk
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/installation-images-14.427/etc/config new/installation-images-14.431/etc/config
--- old/installation-images-14.427/etc/config 2019-05-21 15:50:52.000000000 +0200
+++ new/installation-images-14.431/etc/config 2019-07-18 16:16:03.000000000 +0200
@@ -142,6 +142,7 @@
grub2 = openSUSE
plymouth = openSUSE
systemd = MicroOS
+product_name = openSUSE-Kubic
[Theme MicroOS]
image = 350
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/installation-images-14.427/lib/ReadConfig.pm new/installation-images-14.431/lib/ReadConfig.pm
--- old/installation-images-14.427/lib/ReadConfig.pm 2019-05-21 15:50:52.000000000 +0200
+++ new/installation-images-14.431/lib/ReadConfig.pm 2019-07-18 16:16:03.000000000 +0200
@@ -1329,7 +1329,7 @@
$ConfigData{product_name} = $ConfigData{os}{product_mini} || "openSUSE";
($ConfigData{product_name_nospaces} = $ConfigData{product_name}) =~ s/\s+/-/g;
- ($ConfigData{product_short} = $ConfigData{os}{product_short} || "SUSE") =~ s/\s+/-/g;
+ ($ConfigData{product_short} = $ConfigData{product_name_theme} || $ConfigData{os}{product_short} || "SUSE") =~ s/\s+/-/g;
$ConfigData{update_dir} = $ConfigData{os}{update};
$ConfigData{load_image} = $load_image;
1
0
Hello community,
here is the log from the commit of package yast2-auth-client for openSUSE:Factory checked in at 2019-07-31 14:26:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-auth-client (Old)
and /work/SRC/openSUSE:Factory/.yast2-auth-client.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-auth-client"
Wed Jul 31 14:26:09 2019 rev:35 rq:719536 version:4.2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-auth-client/yast2-auth-client.changes 2019-02-28 21:49:00.601381443 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-auth-client.new.4126/yast2-auth-client.changes 2019-07-31 14:26:11.466277537 +0200
@@ -1,0 +2,17 @@
+Thu Jun 20 09:29:49 UTC 2019 - Samuel Cabrero <scabrero(a)suse.de>
+
+- Fix an issue importing legacy XML based autoyast configuration;
+ (bsc#1137380);
+- Require network to be configured before importing autoyast
+ configuration; (bsc#1136139);
+- 4.2.1
+
+-------------------------------------------------------------------
+Fri May 31 12:25:50 UTC 2019 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Add metainfo (fate#319035)
+- Revamp spec
+- Replace GenericName with Comment
+- 4.2.0
+
+-------------------------------------------------------------------
Old:
----
yast2-auth-client-4.1.1.tar.bz2
New:
----
yast2-auth-client-4.2.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-auth-client.spec ++++++
--- /var/tmp/diff_new_pack.FfCdcl/_old 2019-07-31 14:26:12.502276738 +0200
+++ /var/tmp/diff_new_pack.FfCdcl/_new 2019-07-31 14:26:12.502276738 +0200
@@ -17,57 +17,58 @@
Name: yast2-auth-client
-Version: 4.1.1
+Version: 4.2.1
Release: 0
Url: https://github.com/yast/yast-auth-client
Summary: YaST2 - Centralised System Authentication Configuration
License: GPL-2.0-only
Group: System/YaST
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
-BuildArch: noarch
-Requires: net-tools
-Requires: yast2
-Requires: yast2 >= 2.21.22
-Requires: yast2-pam >= 2.20.0
-Requires: yast2-ruby-bindings >= 1.0.0
BuildRequires: doxygen
BuildRequires: perl-XML-Writer
BuildRequires: update-desktop-files
BuildRequires: yast2
BuildRequires: yast2
-BuildRequires: yast2-devtools >= 3.0.6
+BuildRequires: yast2-devtools >= 4.2.2
BuildRequires: yast2-network
BuildRequires: yast2-pam
BuildRequires: yast2-testsuite
BuildRequires: rubygem(yast-rake)
PreReq: %fillup_prereq
+Requires: net-tools
+Requires: yast2
+Requires: yast2 >= 2.21.22
+Requires: yast2-pam >= 2.20.0
+Requires: yast2-ruby-bindings >= 1.0.0
+
Obsoletes: yast2-kerberos-client
Obsoletes: yast2-ldap-client
+BuildArch: noarch
+
%description
With this YaST2 module you may configure centralised system authentication, on a single or multipe network domains.
%prep
-%setup -n %{name}-%{version}
+%setup -q
%build
%install
-rake install DESTDIR="%{buildroot}"
+%yast_install
+%yast_metainfo
%files
-%defattr(-,root,root)
%doc %{yast_docdir}
-%{yast_libdir}/
-%{yast_desktopdir}/
-%{yast_clientdir}/
-%{yast_libdir}/
-%{yast_scrconfdir}/
-%{yast_schemadir}/
+%{yast_libdir}
+%{yast_desktopdir}
+%{yast_metainfodir}
+%{yast_clientdir}
+%{yast_scrconfdir}
+%{yast_schemadir}
%{yast_icondir}
%license COPYING
++++++ yast2-auth-client-4.1.1.tar.bz2 -> yast2-auth-client-4.2.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-4.1.1/Dockerfile new/yast2-auth-client-4.2.1/Dockerfile
--- old/yast2-auth-client-4.1.1/Dockerfile 2019-02-28 18:57:28.000000000 +0100
+++ new/yast2-auth-client-4.2.1/Dockerfile 2019-07-29 11:12:00.000000000 +0200
@@ -1,3 +1,3 @@
-FROM yastdevel/ruby
+FROM registry.opensuse.org/yast/head/containers/yast-ruby:latest
COPY . /usr/src/app
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-4.1.1/package/yast2-auth-client.changes new/yast2-auth-client-4.2.1/package/yast2-auth-client.changes
--- old/yast2-auth-client-4.1.1/package/yast2-auth-client.changes 2019-02-28 18:57:28.000000000 +0100
+++ new/yast2-auth-client-4.2.1/package/yast2-auth-client.changes 2019-07-29 11:12:00.000000000 +0200
@@ -1,4 +1,21 @@
-------------------------------------------------------------------
+Thu Jun 20 09:29:49 UTC 2019 - Samuel Cabrero <scabrero(a)suse.de>
+
+- Fix an issue importing legacy XML based autoyast configuration;
+ (bsc#1137380);
+- Require network to be configured before importing autoyast
+ configuration; (bsc#1136139);
+- 4.2.1
+
+-------------------------------------------------------------------
+Fri May 31 12:25:50 UTC 2019 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Add metainfo (fate#319035)
+- Revamp spec
+- Replace GenericName with Comment
+- 4.2.0
+
+-------------------------------------------------------------------
Fri Feb 15 17:47:05 UTC 2019 - David Mulder <dmulder(a)suse.com>
- yast auth-client and krb5.conf wrong domain_realm entry; (bsc#1122026)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-4.1.1/package/yast2-auth-client.spec new/yast2-auth-client-4.2.1/package/yast2-auth-client.spec
--- old/yast2-auth-client-4.1.1/package/yast2-auth-client.spec 2019-02-28 18:57:28.000000000 +0100
+++ new/yast2-auth-client-4.2.1/package/yast2-auth-client.spec 2019-07-29 11:12:00.000000000 +0200
@@ -12,62 +12,63 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: yast2-auth-client
-Version: 4.1.1
+Version: 4.2.1
Release: 0
Url: https://github.com/yast/yast-auth-client
Summary: YaST2 - Centralised System Authentication Configuration
License: GPL-2.0-only
Group: System/YaST
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
-BuildArch: noarch
-Requires: net-tools
-Requires: yast2
-Requires: yast2 >= 2.21.22
-Requires: yast2-pam >= 2.20.0
-Requires: yast2-ruby-bindings >= 1.0.0
BuildRequires: doxygen
BuildRequires: perl-XML-Writer
BuildRequires: update-desktop-files
BuildRequires: yast2
BuildRequires: yast2
-BuildRequires: yast2-devtools >= 3.0.6
+BuildRequires: yast2-devtools >= 4.2.2
BuildRequires: yast2-network
BuildRequires: yast2-pam
BuildRequires: yast2-testsuite
BuildRequires: rubygem(yast-rake)
PreReq: %fillup_prereq
+Requires: net-tools
+Requires: yast2
+Requires: yast2 >= 2.21.22
+Requires: yast2-pam >= 2.20.0
+Requires: yast2-ruby-bindings >= 1.0.0
+
Obsoletes: yast2-kerberos-client
Obsoletes: yast2-ldap-client
+BuildArch: noarch
+
%description
With this YaST2 module you may configure centralised system authentication, on a single or multipe network domains.
%prep
-%setup -n %{name}-%{version}
+%setup -q
%build
%install
-rake install DESTDIR="%{buildroot}"
+%yast_install
+%yast_metainfo
%files
-%defattr(-,root,root)
%doc %{yast_docdir}
-%{yast_libdir}/
-%{yast_desktopdir}/
-%{yast_clientdir}/
-%{yast_libdir}/
-%{yast_scrconfdir}/
-%{yast_schemadir}/
+%{yast_libdir}
+%{yast_desktopdir}
+%{yast_metainfodir}
+%{yast_clientdir}
+%{yast_scrconfdir}
+%{yast_schemadir}
%{yast_icondir}
%license COPYING
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-4.1.1/src/desktop/auth-client.desktop new/yast2-auth-client-4.2.1/src/desktop/auth-client.desktop
--- old/yast2-auth-client-4.1.1/src/desktop/auth-client.desktop 2019-02-28 18:57:28.000000000 +0100
+++ new/yast2-auth-client-4.2.1/src/desktop/auth-client.desktop 1970-01-01 01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
-[Desktop Entry]
-Type=Application
-Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Net_advanced;
-
-X-KDE-ModuleType=Library
-X-KDE-HasReadOnlyMode=true
-X-SuSE-YaST-Call=auth-client
-
-X-SuSE-YaST-Group=Net_advanced
-X-SuSE-YaST-RootOnly=true
-X-SuSE-YaST-AutoInst=all
-X-SuSE-YaST-AutoInstResource=auth-client
-X-SuSE-YaST-AutoInstClonable=true
-X-SuSE-YaST-AutoInstSchema=auth-client.rnc
-X-SuSE-YaST-Keywords=authentication,sssd,pam,ldap,kerberos,krb,krb5,windows,microsoft,ad,activedirectory
-
-Icon=yast-auth-client
-Exec=xdg-su -c "/sbin/yast2 auth-client"
-
-Name=User Logon Management
-GenericName=User Logon Management
-StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-4.1.1/src/desktop/ldapkrb.desktop new/yast2-auth-client-4.2.1/src/desktop/ldapkrb.desktop
--- old/yast2-auth-client-4.1.1/src/desktop/ldapkrb.desktop 2019-02-28 18:57:28.000000000 +0100
+++ new/yast2-auth-client-4.2.1/src/desktop/ldapkrb.desktop 1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-[Desktop Entry]
-Type=Application
-Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Net_advanced;
-
-X-KDE-ModuleType=Library
-X-KDE-HasReadOnlyMode=true
-X-SuSE-YaST-Call=ldapkrb
-
-X-SuSE-YaST-Group=Net_advanced
-X-SuSE-YaST-RootOnly=true
-X-SuSE-YaST-AutoInst=all
-X-SuSE-YaST-AutoInstResource=auth-client
-X-SuSE-YaST-AutoInstClonable=true
-X-SuSE-YaST-Keywords=authentication,sssd,pam,ldap,kerberos,krb,krb5,windows,microsoft,ad,activedirectory
-
-Icon=yast-ldap-kerberos
-Exec=xdg-su -c "/sbin/yast2 ldapkrb"
-
-Name=LDAP and Kerberos Client
-GenericName=LDAP And Kerberos Client
-StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-4.1.1/src/desktop/org.opensuse.yast.AuthClient.desktop new/yast2-auth-client-4.2.1/src/desktop/org.opensuse.yast.AuthClient.desktop
--- old/yast2-auth-client-4.1.1/src/desktop/org.opensuse.yast.AuthClient.desktop 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-auth-client-4.2.1/src/desktop/org.opensuse.yast.AuthClient.desktop 2019-07-29 11:12:00.000000000 +0200
@@ -0,0 +1,24 @@
+[Desktop Entry]
+Type=Application
+Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Net_advanced;
+
+X-KDE-ModuleType=Library
+X-KDE-HasReadOnlyMode=true
+X-SuSE-YaST-Call=auth-client
+
+X-SuSE-YaST-Group=Net_advanced
+X-SuSE-YaST-RootOnly=true
+X-SuSE-YaST-AutoInst=all
+X-SuSE-YaST-AutoInstResource=auth-client
+X-SuSE-YaST-AutoInstClonable=true
+X-SuSE-YaST-AutoInstRequires=lan
+X-SuSE-YaST-AutoInstSchema=auth-client.rnc
+X-SuSE-YaST-Keywords=authentication,sssd,pam,ldap,kerberos,krb,krb5,windows,microsoft,ad,activedirectory
+
+Icon=yast-auth-client
+Exec=xdg-su -c "/sbin/yast2 auth-client"
+
+Name=YaST User Logon
+GenericName=User Logon
+Comment=User Logon Management
+StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-4.1.1/src/desktop/org.opensuse.yast.LDAPKrb.desktop new/yast2-auth-client-4.2.1/src/desktop/org.opensuse.yast.LDAPKrb.desktop
--- old/yast2-auth-client-4.1.1/src/desktop/org.opensuse.yast.LDAPKrb.desktop 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-auth-client-4.2.1/src/desktop/org.opensuse.yast.LDAPKrb.desktop 2019-07-29 11:12:00.000000000 +0200
@@ -0,0 +1,22 @@
+[Desktop Entry]
+Type=Application
+Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Net_advanced;
+
+X-KDE-ModuleType=Library
+X-KDE-HasReadOnlyMode=true
+X-SuSE-YaST-Call=ldapkrb
+
+X-SuSE-YaST-Group=Net_advanced
+X-SuSE-YaST-RootOnly=true
+X-SuSE-YaST-AutoInst=all
+X-SuSE-YaST-AutoInstResource=auth-client
+X-SuSE-YaST-AutoInstClonable=true
+X-SuSE-YaST-Keywords=authentication,sssd,pam,ldap,kerberos,krb,krb5,windows,microsoft,ad,activedirectory
+
+Icon=yast-ldap-kerberos
+Exec=xdg-su -c "/sbin/yast2 ldapkrb"
+
+Name=YaST LDAP and Kerberos
+GenericName=LDAP and Kerberos
+Comment=Configure LDAP And Kerberos
+StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-auth-client-4.1.1/src/lib/authui/autoclient.rb new/yast2-auth-client-4.2.1/src/lib/authui/autoclient.rb
--- old/yast2-auth-client-4.1.1/src/lib/authui/autoclient.rb 2019-02-28 18:57:28.000000000 +0100
+++ new/yast2-auth-client-4.2.1/src/lib/authui/autoclient.rb 2019-07-29 11:12:00.000000000 +0200
@@ -42,22 +42,44 @@
def import(exported)
if exported.has_key?('sssd')
# Import legacy XML configuration from SLE 12 SP0 or SP1
- sssd = exported['sssd']
+ sssd = exported
if sssd.has_key?('listentry')
sssd = sssd['listentry']
end
- enabled = sssd.fetch('sssd', nil)
+
+ sssd_enabled = sssd.fetch('sssd', nil)
+ if sssd_enabled == 'yes' || sssd_enabled == 'true'
+ sssd_enabled = true
+ elsif sssd_enabled == 'no' || sssd_enabled == 'false'
+ sssd_enabled = false
+ end
+
+ mkhomedir_enabled = sssd.fetch('mkhomedir', nil)
+ if mkhomedir_enabled == 'yes' || mkhomedir_enabled == 'true'
+ mkhomedir_enabled = true
+ elsif mkhomedir_enabled == 'no' || mkhomedir_enabled == 'false'
+ mkhomedir_enabled = false
+ end
+
daemon = sssd.fetch('sssd_conf', {}).fetch('sssd', nil)
- domain = sssd.fetch('sssd_conf', {}).fetch('auth_domains', {}).fetch('domain', {})
+ auth_domain = sssd.fetch('sssd_conf', {}).fetch('auth_domains', {})
+
+ if auth_domain.is_a?(Array)
+ domain = auth_domain[0]
+ else
+ domain = auth_domain.fetch('domain', {})
+ end
+
domain_name = domain.fetch('domain_name', nil)
- if enabled != 'yes' || daemon.nil? || domain_name.nil?
+ if !sssd_enabled || daemon.nil? || domain_name.nil?
log.info('legacy configuration is empty or disabled')
return true
end
AuthConfInst.clear
AuthConfInst.sssd_lint_conf # make a basic config structure
- AuthConfInst.sssd_enabled = true
+ AuthConfInst.sssd_enabled = sssd_enabled
AuthConfInst.sssd_pam = true
+ AuthConfInst.mkhomedir_pam = mkhomedir_enabled
AuthConfInst.sssd_nss = ['passwd', 'group']
AuthConfInst.sssd_conf['sssd'] = daemon
domain.delete('domain_name')
1
0
Hello community,
here is the log from the commit of package yast2-trans for openSUSE:Factory checked in at 2019-07-31 14:26:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-trans (Old)
and /work/SRC/openSUSE:Factory/.yast2-trans.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-trans"
Wed Jul 31 14:26:01 2019 rev:161 rq:719468 version:84.87.20190728.7ac20322a3
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-trans/yast2-trans.changes 2019-05-21 10:21:23.467611725 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-trans.new.4126/yast2-trans.changes 2019-07-31 14:26:03.958283338 +0200
@@ -1,0 +2,462 @@
+Mon Jul 29 05:14:38 UTC 2019 - git(a)opensuse.org
+
+- Update to version 84.87.20190728.7ac20322a3:
+ * Translated using Weblate (German)
+ * Translated using Weblate (Slovak)
+ * Translated using Weblate (Galician)
+ * Translated using Weblate (Galician)
+ * Translated using Weblate (Albanian)
+ * New POT for text domain 'installation'.
+ * Translated using Weblate (Dutch)
+ * Translated using Weblate (Czech)
+ * Translated using Weblate (Catalan)
+ * Translated using Weblate (Japanese)
+ * New POT for text domain 'packager'.
+ * New POT for text domain 'bootloader'.
+ * New POT for text domain 'base'.
+ * New POT for text domain 'add-on'.
+ * Translated using Weblate (Japanese)
+ * Translated using Weblate (German)
+ * Translated using Weblate (German)
+ * New POT for text domain 'country'.
+ * Translated using Weblate (German)
+ * Translated using Weblate (German)
+ * Translated using Weblate (German)
+ * New POT for text domain 's390'.
+ * New POT for text domain 'rdp'.
+ * New POT for text domain 'firstboot'.
+ * New POT for text domain 'country'.
+
+-------------------------------------------------------------------
+Mon Jul 22 05:12:39 UTC 2019 - git(a)opensuse.org
+
+- Update to version 84.87.20190720.bd88aefd92:
+ * Translated using Weblate (Albanian)
+ * Translated using Weblate (Chinese (China))
+ * New POT for text domain 'ftp-server'.
+ * Translated using Weblate (Slovak)
+ * Translated using Weblate (Portuguese (Brazil))
+ * Translated using Weblate (Portuguese (Brazil))
+ * Translated using Weblate (Chinese (China))
+ * Translated using Weblate (Chinese (China))
+ * Translated using Weblate (Dutch)
+ * Translated using Weblate (Chinese (China))
+ * Translated using Weblate (Japanese)
+ * Translated using Weblate (Dutch)
+ * Translated using Weblate (Czech)
+ * Translated using Weblate (Czech)
+ * Translated using Weblate (Catalan)
+ * Translated using Weblate (Catalan)
+ * New POT for text domain 'network'.
+ * Translated using Weblate (Albanian)
+ * Translated using Weblate (Albanian)
+ * Translated using Weblate (Dutch)
+ * Translated using Weblate (Slovak)
+ * Translated using Weblate (Slovak)
+ * Translated using Weblate (Slovak)
+ * Translated using Weblate (German)
+ * Translated using Weblate (Catalan)
+ * Translated using Weblate (Japanese)
+ * New POT for text domain 's390'.
+ * New POT for text domain 'relocation-server'.
+ * New POT for text domain 'packager'.
+ * Translated using Weblate (Russian)
+ * Translated using Weblate (Russian)
+ * Translated using Weblate (Russian)
+ * Translated using Weblate (Russian)
+ * Translated using Weblate (Russian)
+ * Translated using Weblate (Russian)
+ * Translated using Weblate (Russian)
+ * Translated using Weblate (Russian)
+ * Translated using Weblate (Russian)
+ * Translated using Weblate (Russian)
+ * Translated using Weblate (Russian)
+ * Translated using Weblate (Russian)
+ * Translated using Weblate (German)
+ * Translated using Weblate (German)
+ * Translated using Weblate (Portuguese (Brazil))
+ * Translated using Weblate (Portuguese (Brazil))
+ * Translated using Weblate (Japanese)
+ * Translated using Weblate (Japanese)
+ * Translated using Weblate (Dutch)
+ * Translated using Weblate (Dutch)
+ * Translated using Weblate (Czech)
+ * Translated using Weblate (Czech)
+ * Translated using Weblate (Catalan)
+ * Translated using Weblate (Catalan)
+ * New POT for text domain 'storage'.
+ * New POT for text domain 'packager'.
+ * New POT for text domain 'control'.
+ * Translated using Weblate (German)
+ * Translated using Weblate (Catalan)
+ * Translated using Weblate (Catalan)
+ * Translated using Weblate (Albanian)
+
+-------------------------------------------------------------------
+Mon Jul 15 05:12:43 UTC 2019 - git(a)opensuse.org
+
+- Update to version 84.87.20190715.aaa42d40f1:
+ * New POT for text domain 'users.xgettext'.
+ * New POT for text domain 'update.xgettext'.
+ * New POT for text domain 'samba-server.xgettext'.
+ * New POT for text domain 'samba-client.xgettext'.
+ * New POT for text domain 'http-server.xgettext'.
+ * New POT for text domain 'geo-cluster.xgettext'.
+ * New POT for text domain 'firstboot.xgettext'.
+ * New POT for text domain 'dns-server.xgettext'.
+ * New POT for text domain 'dhcp-server.xgettext'.
+ * New POT for text domain 'country.xgettext'.
+ * New POT for text domain 'control'.
+ * New POT for text domain 'base.xgettext'.
+ * Translated using Weblate (Albanian)
+ * Translated using Weblate (Slovak)
+ * Translated using Weblate (Dutch)
+ * Translated using Weblate (Czech)
+ * Translated using Weblate (Slovak)
+ * Translated using Weblate (Albanian)
+ * Translated using Weblate (Japanese)
+ * Translated using Weblate (Albanian)
+ * Translated using Weblate (Japanese)
+ * New POT for text domain 'storage'.
+ * New POT for text domain 'proxy'.
+ * Translated using Weblate (Czech)
+ * Translated using Weblate (Slovak)
+ * Translated using Weblate (German)
+ * Translated using Weblate (Portuguese (Brazil))
+ * Translated using Weblate (Dutch)
+ * Translated using Weblate (Japanese)
+ * New POT for text domain 'users'.
+ * New POT for text domain 'add-on'.
+ * Translated using Weblate (German)
+ * New POT for text domain 'storage'.
+ * Translated using Weblate (Slovak)
+ * Translated using Weblate (Slovak)
+ * Translated using Weblate (Turkish)
+ * Translated using Weblate (Turkish)
+ * Translated using Weblate (Turkish)
+ * Translated using Weblate (Turkish)
+ * Translated using Weblate (Portuguese (Brazil))
+ * Translated using Weblate (Japanese)
+ * Translated using Weblate (Danish)
+ * Translated using Weblate (Czech)
+ * Translated using Weblate (Catalan)
+ * New POT for text domain 'authserver'.
+ * Translated using Weblate (Portuguese (Brazil))
+
+-------------------------------------------------------------------
+Mon Jul 08 05:12:48 UTC 2019 - git(a)opensuse.org
+
+- Update to version 84.87.20190706.6c581b1f89:
+ * Translated using Weblate (Slovak)
+ * Translated using Weblate (Dutch)
+ * Translated using Weblate (Czech)
+ * Translated using Weblate (Catalan)
+ * Translated using Weblate (Japanese)
+ * New POT for text domain 'storage'.
+ * New POT for text domain 'ntp-client'.
+ * Translated using Weblate (Slovak)
+ * Translated using Weblate (Portuguese (Brazil))
+ * Translated using Weblate (German)
+ * Translated using Weblate (German)
+ * Translated using Weblate (Dutch)
+ * Translated using Weblate (Czech)
+ * Translated using Weblate (Catalan)
+ * Translated using Weblate (Japanese)
+ * New POT for text domain 'network'.
+ * Translated using Weblate (Spanish)
+ * Translated using Weblate (Chinese (China))
+ * New POT for text domain 'registration'.
+ * New POT for text domain 'packager'.
+ * New POT for text domain 'ncurses'.
+ * New POT for text domain 'add-on'.
+ * New POT for text domain 'storage'.
+ * New POT for text domain 'dns-server'.
+ * New POT for text domain 'base'.
+ * Translated using Weblate (Finnish)
+ * Translated using Weblate (Finnish)
+
+-------------------------------------------------------------------
+Mon Jul 01 05:12:55 UTC 2019 - git(a)opensuse.org
+
+- Update to version 84.87.20190629.deb7aedc2b:
+ * Translated using Weblate (French)
+ * Translated using Weblate (French)
+ * Translated using Weblate (French)
+ * Translated using Weblate (Chinese (China))
+ * Translated using Weblate (Chinese (China))
+ * Translated using Weblate (Chinese (China))
+ * Translated using Weblate (Danish)
+ * Translated using Weblate (Danish)
+ * Translated using Weblate (Danish)
+ * Translated using Weblate (Danish)
+ * Translated using Weblate (Danish)
+ * Translated using Weblate (Danish)
+ * Translated using Weblate (Danish)
+ * New POT for text domain 'firewall-services'.
+ * New POT for text domain 'firewall'.
+ * New POT for text domain 'bootloader'.
++++ 265 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/yast2-trans/yast2-trans.changes
++++ and /work/SRC/openSUSE:Factory/.yast2-trans.new.4126/yast2-trans.changes
Old:
----
yast2-trans-84.87.20190511.bc4a9329cc.tar.xz
New:
----
yast2-trans-84.87.20190728.7ac20322a3.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-trans.spec ++++++
--- /var/tmp/diff_new_pack.6RIOhZ/_old 2019-07-31 14:26:04.902282609 +0200
+++ /var/tmp/diff_new_pack.6RIOhZ/_new 2019-07-31 14:26:04.906282605 +0200
@@ -12,12 +12,12 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: yast2-trans
-Version: 84.87.20190511.bc4a9329cc
+Version: 84.87.20190728.7ac20322a3
Release: 0
Summary: YaST2 - Translation Container Package
License: GPL-2.0-or-later
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.6RIOhZ/_old 2019-07-31 14:26:04.966282559 +0200
+++ /var/tmp/diff_new_pack.6RIOhZ/_new 2019-07-31 14:26:04.966282559 +0200
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/yast/yast-translations.git</param>
- <param name="changesrevision">bc4a9329ccd9e9d6f1bb86b63df4bd981d227985</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">7ac20322a37a3d592a86155c0099c76f36298594</param></service></servicedata>
\ No newline at end of file
++++++ yast2-trans-84.87.20190511.bc4a9329cc.tar.xz -> yast2-trans-84.87.20190728.7ac20322a3.tar.xz ++++++
/work/SRC/openSUSE:Factory/yast2-trans/yast2-trans-84.87.20190511.bc4a9329cc.tar.xz /work/SRC/openSUSE:Factory/.yast2-trans.new.4126/yast2-trans-84.87.20190728.7ac20322a3.tar.xz differ: char 25, line 1
1
0
Hello community,
here is the log from the commit of package yast2-packager for openSUSE:Factory checked in at 2019-07-31 14:25:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-packager (Old)
and /work/SRC/openSUSE:Factory/.yast2-packager.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-packager"
Wed Jul 31 14:25:55 2019 rev:376 rq:718898 version:4.2.22
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes 2019-05-22 15:37:56.366600484 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-packager.new.4126/yast2-packager.changes 2019-07-31 14:25:56.598289024 +0200
@@ -1,0 +2,107 @@
+Fri Jul 26 11:28:16 UTC 2019 - Ladislav Slezák <lslezak(a)suse.cz>
+
+- Fixed product selection for single repositories: do not scan
+ the products when there is only one repository, the scan is not
+ needed (related to bsc#1141414)
+- 4.2.22
+
+-------------------------------------------------------------------
+Thu Jul 25 16:31:05 UTC 2019 - David Diaz <dgonzalez(a)suse.com>
+
+- Set the proper release version for newly added repos always, not
+ only during upgrade (bsc#1132748).
+- 4.2.21
+
+-------------------------------------------------------------------
+Wed Jul 24 14:21:07 UTC 2019 - David Diaz <dgonzalez(a)suse.com>
+
+- Add method to get the dependencies of a product (bsc#1142535).
+- 4.2.20
+
+-------------------------------------------------------------------
+Tue Jul 23 10:25:51 UTC 2019 - José Iván López González <jlopez(a)suse.com>
+
+- Add method to get the summary of a product (bsc#1142414).
+- 4.2.19
+
+-------------------------------------------------------------------
+Mon Jul 15 14:02:57 UTC 2019 - Ladislav Slezák <lslezak(a)suse.cz>
+
+- Fixed the unit test for the previous change to work also on
+ other architectures than x86_64 (related to bsc#1141414)
+- 4.2.18
+
+-------------------------------------------------------------------
+Thu Jul 11 07:17:45 UTC 2019 - Ladislav Slezák <lslezak(a)suse.cz>
+
+- Improved product selection for multi-repositories media
+ (bsc#1141414):
+ - Display more product details
+ - Handle the product dependencies
+- 4.2.17
+
+-------------------------------------------------------------------
+Thu Jun 20 14:11:46 UTC 2019 - David Diaz <dgonzalez(a)suse.com>
+
+- Better handling of license agreement dialog, allowing to
+ distinguish when the user is declining a license or aborting
+ the installation (bsc#1114018)
+- 4.2.16
+
+-------------------------------------------------------------------
+Mon Jun 17 17:15:29 CEST 2019 - schubi(a)suse.de
+
+- Package installation: Rebuild slide show dialog and enable
+ realease notes tab (bsc#1136708).
+- 4.2.15
+
+-------------------------------------------------------------------
+Thu Jun 13 17:15:37 CEST 2019 - David Diaz <dgonzalez(a)suse.com>
+
+- Allow to select the license language when running in textmode
+ (bsc#1135901)
+- 4.2.14
+
+-------------------------------------------------------------------
+Mon Jun 3 15:59:56 UTC 2019 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Replace icondir with an url schema (boo#1125594)
+- 4.2.13
+
+-------------------------------------------------------------------
+Mon Jun 3 15:59:55 UTC 2019 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Add metainfo (fate#319035)
+- 4.2.12
+
+-------------------------------------------------------------------
+Mon Jun 3 09:29:43 UTC 2019 - Ladislav Slezák <lslezak(a)suse.cz>
+
+- Fixed the unit tests for Y2packager::Resolvables to pass also on
+ the other archs than x86_64 (related to bsc#1132650, bsc#1136051)
+- 4.2.11
+
+-------------------------------------------------------------------
+Thu May 30 12:59:43 UTC 2019 - Ladislav Slezák <lslezak(a)suse.cz>
+
+- Define the openSUSE => SLES product migration to properly display
+ the migration summary text (bsc#1136325)
+- 4.2.10
+
+-------------------------------------------------------------------
+Tue May 28 07:12:10 UTC 2019 - Ladislav Slezák <lslezak(a)suse.cz>
+
+- With the previous fix 1GB RAM is enough for using the online
+ repositories, decrease the required memory limit (remove the
+ workaround for bsc#1132650)
+- 4.2.9
+
+-------------------------------------------------------------------
+Thu May 23 12:03:23 UTC 2019 - Ladislav Slezák <lslezak(a)suse.cz>
+
+- Added new Y2packager::Resolvables class
+- Use it in the installer to decrease the needed memory
+ (bsc#1132650, bsc#1136051)
+- 4.2.8
+
+-------------------------------------------------------------------
Old:
----
yast2-packager-4.2.7.tar.bz2
New:
----
yast2-packager-4.2.22.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.KtLjTE/_old 2019-07-31 14:25:57.074288656 +0200
+++ /var/tmp/diff_new_pack.KtLjTE/_new 2019-07-31 14:25:57.074288656 +0200
@@ -17,78 +17,66 @@
Name: yast2-packager
-Version: 4.2.7
+Version: 4.2.22
Release: 0
+Summary: YaST2 - Package Library
+License: GPL-2.0-or-later
+Group: System/YaST
+Url: https://github.com/yast/yast-packager
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
-Url: https://github.com/yast/yast-packager
BuildRequires: update-desktop-files
-BuildRequires: yast2-devtools >= 3.1.10
+BuildRequires: yast2-devtools >= 4.2.2
BuildRequires: rubygem(%{rb_default_ruby_abi}:cfa) >= 0.5.0
BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec)
BuildRequires: rubygem(%{rb_default_ruby_abi}:yast-rake)
-
# Y2Storage::Device#exists_in_raw_probed
BuildRequires: yast2-storage-ng >= 4.0.141
# break the yast2-packager -> yast2-storage-ng -> yast2-packager build cycle
#!BuildIgnore: yast2-packager
-
-# Y2Packager::will_be_obsoleted_by
-BuildRequires: yast2 >= 4.1.68
-
-# Pkg::PrdLicenseLocales
-BuildRequires: yast2-pkg-bindings >= 4.0.8
-
+# inst_rpmcopy.rb: SlideShow.RebuildDialog(true)
+BuildRequires: yast2 >= 4.2.8
+# Pkg::Resolvables
+BuildRequires: yast2-pkg-bindings >= 4.2.0
# Augeas lenses
BuildRequires: augeas-lenses
+BuildRequires: ruby-solv
# Newly added RPM
Requires: yast2-country-data >= 2.16.3
-
-# Pkg::PrdLicenseLocales
-Requires: yast2-pkg-bindings >= 4.0.8
-
-# Y2Packager::will_be_obsoleted_by
-Requires: yast2 >= 4.1.68
-
+# Pkg::Resolvables
+Requires: yast2-pkg-bindings >= 4.2.0
+# inst_rpmcopy.rb: SlideShow.RebuildDialog(true)
+Requires: yast2 >= 4.2.8
# unzipping license file
Requires: unzip
-
# HTTP, FTP, HTTPS modules (inst_productsources.ycp)
Requires: yast2-transfer
-
# XML module (inst_productsources.ycp)
Requires: yast2-xml
-
# Bugzilla #305503 - storing/checking MD5 of licenses
Requires: /usr/bin/md5sum
-
# .process agent
Requires: yast2-core >= 2.16.35
-
# Y2Storage::Device#exists_in_raw_probed
Requires: yast2-storage-ng >= 4.0.141
-
# Augeas lenses
Requires: augeas-lenses
-
# zypp.conf model and minimal modifications (bsc#1023204)
Requires: rubygem(%{rb_default_ruby_abi}:cfa) >= 0.5.0
+# One of libyui-qt-pkg, libyui-ncurses-pkg, libyui-gtk-pkg
+Requires: libyui_pkg
+Requires: ruby-solv
+Requires: yast2-ruby-bindings >= 1.0.0
# setenv() builtin
Conflicts: yast2-core < 2.15.10
-
# NotEnoughMemory-related functions moved to misc.ycp import-file
Conflicts: yast2-add-on < 2.15.15
-# One of libyui-qt-pkg, libyui-ncurses-pkg, libyui-gtk-pkg
-Requires: libyui_pkg
-
# ensure that 'checkmedia' is on the medium
Recommends: checkmedia
-
# for registering media add-ons on SLE
# (openSUSE does not contain the registration module)
%if 0%{?sles_version}
@@ -99,35 +87,23 @@
Obsoletes: yast2-packager-devel-doc
Obsoletes: yast2-packager-webpin < %version
-Requires: yast2-ruby-bindings >= 1.0.0
-Summary: YaST2 - Package Library
-License: GPL-2.0-or-later
-Group: System/YaST
-
%description
This package contains the libraries and modules for software management.
%prep
-%setup -n %{name}-%{version}
+%setup -q
%check
-rake test:unit
+%yast_check
%build
%install
-rake install DESTDIR="%{buildroot}"
-
-%suse_update_desktop_file yast2-packager
-
-%post
-%desktop_database_post
-
-%postun
-%desktop_database_postun
+%yast_install
+%suse_update_desktop_file org.opensuse.yast.Packager
+%yast_metainfo
%files
-%defattr(-,root,root)
%dir %{yast_yncludedir}/checkmedia
%dir %{yast_yncludedir}/packager
%dir %{yast_libdir}/packager
@@ -137,6 +113,7 @@
%{yast_ybindir}/*
%{yast_yncludedir}/checkmedia/*
%{yast_yncludedir}/packager/*
+%{yast_libdir}/language_tag.rb
%{yast_libdir}/packager/*
%{yast_libdir}/packager/cfa/*
%{yast_libdir}/y2packager/*
@@ -144,6 +121,7 @@
%{yast_moduledir}/*
%{yast_desktopdir}/*.desktop
%{_datadir}/applications/*.desktop
+%{yast_metainfodir}
%{yast_scrconfdir}/*
%{yast_execcompdir}/servers_non_y2/ag_*
%{yast_icondir}
++++++ yast2-packager-4.2.7.tar.bz2 -> yast2-packager-4.2.22.tar.bz2 ++++++
++++ 7513 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package yast2-installation for openSUSE:Factory checked in at 2019-07-31 14:25:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old)
and /work/SRC/openSUSE:Factory/.yast2-installation.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-installation"
Wed Jul 31 14:25:48 2019 rev:426 rq:718843 version:4.2.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes 2019-05-15 12:23:36.746206118 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-installation.new.4126/yast2-installation.changes 2019-07-31 14:25:49.910294190 +0200
@@ -1,0 +2,23 @@
+Thu Jul 25 11:52:07 UTC 2019 - David Diaz <dgonzalez(a)suse.com>
+
+- Avoid to lost the focus in the proposal installation summary when
+ the user makes changes using the available options on it
+ (bsc#1142353).
+- 4.2.7
+
+-------------------------------------------------------------------
+Mon Jun 17 13:37:35 UTC 2019 - José Iván López González <jlopez(a)suse.com>
+
+- Copy multipath config files into the target system.
+- Related to bsc#1133045.
+- 4.2.6
+
+-------------------------------------------------------------------
+Sat Jun 8 01:49:48 UTC 2019 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Use new schema of desktop files (boo#1084864)
+- Clean up spec
+- Rename desktop files
+- 4.2.5
+
+-------------------------------------------------------------------
Old:
----
yast2-installation-4.2.4.tar.bz2
New:
----
yast2-installation-4.2.7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-installation.spec ++++++
--- /var/tmp/diff_new_pack.GKTC3S/_old 2019-07-31 14:25:51.022293332 +0200
+++ /var/tmp/diff_new_pack.GKTC3S/_new 2019-07-31 14:25:51.022293332 +0200
@@ -17,20 +17,14 @@
Name: yast2-installation
-Version: 4.2.4
+Version: 4.2.7
Release: 0
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: %{name}-%{version}.tar.bz2
-
-Url: http://github.com/yast/yast-installation
-# for AbortException and handle direct abort
-Requires: yast2-ruby-bindings >= 4.0.6
-
Summary: YaST2 - Installation Parts
License: GPL-2.0-only
Group: System/YaST
+Url: https://github.com/yast/yast-installation
+Source0: %{name}-%{version}.tar.bz2
Source1: YaST2-Second-Stage.service
Source2: YaST2-Firstboot.service
@@ -42,106 +36,85 @@
BuildRequires: yast2-xml
BuildRequires: rubygem(rspec)
BuildRequires: rubygem(yast-rake)
-
# Yast::Execute.stdout
BuildRequires: yast2 >= 4.1.42
-Requires: yast2 >= 4.1.42
-
# Y2Packager::KnownRepositories
BuildRequires: yast2-packager >= 4.1.27
-
# Y2Storage::Inhibitors including systemd masking
BuildRequires: yast2-storage-ng >= 4.0.194
-Requires: yast2-storage-ng >= 4.0.175
+## y2remote based version
+BuildRequires: yast2-network >= 4.0.13
+# new root password cwm widget
+BuildRequires: yast2-users >= 3.2.8
+# storage-ng based version
+BuildRequires: yast2-country >= 3.3.1
+PreReq: %fillup_prereq
+Requires: yast2-country >= 3.3.1
+Requires: yast2-users >= 3.2.8
+# tar-gzip some system files and untar-ungzip them after the installation (FATE #300421, #120103)
+Requires: coreutils
+Requires: gzip
+Requires: tar
+# Augeas lenses
+Requires: augeas-lenses
+# Only in inst-sys
+# Requires: yast2-add-on
+# Requires: yast2-update
+Requires: yast2-storage-ng >= 4.0.175
# Language::GetLanguageItems and other API
# Language::Set (handles downloading the translation extensions)
Requires: yast2-country-data >= 2.16.11
-
# Pkg::ProvidePackage
Requires: yast2-pkg-bindings >= 3.1.33
-
-# Mouse-related scripts moved to yast2-mouse
-Conflicts: yast2-mouse < 2.18.0
-
# Y2Packager::KnownRepositories
Requires: yast2-packager >= 4.1.27
-
# use in startup scripts
Requires: initviocons
-
# Proxy settings for 2nd stage (bnc#764951)
Requires: yast2-proxy
-
# Systemd default target and services. This version supports
# writing settings in the first installation stage.
-Requires: yast2-services-manager >= 3.2.1
-
-## y2remote based version
-BuildRequires: yast2-network >= 4.0.13
+Requires: yast2 >= 4.1.42
Requires: yast2-network >= 4.0.13
-
-# Augeas lenses
-Requires: augeas-lenses
-
-# Only in inst-sys
-# Requires: yast2-add-on
-# Requires: yast2-update
-
-# new root password cwm widget
-BuildRequires: yast2-users >= 3.2.8
-Requires: yast2-users >= 3.2.8
-# storage-ng based version
-BuildRequires: yast2-country >= 3.3.1
-Requires: yast2-country >= 3.3.1
+Requires: yast2-services-manager >= 3.2.1
+# for AbortException and handle direct abort
+Requires: yast2-ruby-bindings >= 4.0.6
+# for the first/second stage of installation
+# currently not used
+# bugzilla #208307
+#Requires: /usr/bin/jpegtopnm
+#Requires: /usr/bin/pnmtopng
+# BNC 446533, /sbin/lspci called but not installed
+Requires: pciutils
+# Needed call /sbin/ip in vnc.sh/network.sh
+Requires: iproute2
+%if 0%{?suse_version} >= 1210
+%{systemd_requires}
+%endif
# Pkg::SourceProvideSignedFile Pkg::SourceProvideDigestedFile
# pkg-bindings are not directly required
Conflicts: yast2-pkg-bindings < 2.17.25
-
# InstError
Conflicts: yast2 < 2.18.6
-
# storage-ng based version
Conflicts: yast2-bootloader < 3.3.1
-
# Added new function WFM::ClientExists
Conflicts: yast2-core < 2.17.10
-
# Top bar with logo
Conflicts: yast2-ycp-ui-bindings < 3.1.7
-
# Registration#get_updates_list does not handle exceptions
Conflicts: yast2-registration < 3.2.3
+# Mouse-related scripts moved to yast2-mouse
+Conflicts: yast2-mouse < 2.18.0
Obsoletes: yast2-installation-devel-doc
-# tar-gzip some system files and untar-ungzip them after the installation (FATE #300421, #120103)
-Requires: coreutils
-Requires: gzip
-Requires: tar
-
-%if 0%{?suse_version} >= 1210
-%{systemd_requires}
-%endif
-
-# for the first/second stage of installation
-# currently not used
-# bugzilla #208307
-#Requires: /usr/bin/jpegtopnm
-#Requires: /usr/bin/pnmtopng
-
-# BNC 446533, /sbin/lspci called but not installed
-Requires: pciutils
-
-# Needed call /sbin/ip in vnc.sh/network.sh
-Requires: iproute2
-
# install the registration module only in SLE (bsc#1043122)
%if !0%{?is_opensuse}
Recommends: yast2-registration
%endif
-
Recommends: yast2-online-update
Recommends: yast2-firewall
Recommends: release-notes
@@ -149,23 +122,22 @@
Recommends: yast2-update
Recommends: yast2-add-on
-PreReq: %fillup_prereq
-
BuildArch: noarch
%description
System installation code as present on installation media.
%prep
-%setup -n %{name}-%{version}
+%setup -q
%check
-rake test:unit
+%yast_check
%build
%install
-rake install DESTDIR="%{buildroot}"
+%yast_install
+%yast_metainfo
for f in `find %{buildroot}%{_datadir}/autoinstall/modules -name "*.desktop"`; do
%suse_update_desktop_file $f
@@ -213,43 +185,27 @@
%endif #suse_version
%files
-%defattr(-,root,root)
# systemd service files
-%{_unitdir}/YaST2-Second-Stage.service
-%{_unitdir}/YaST2-Firstboot.service
-
-%{yast_clientdir}/*.rb
-%{yast_moduledir}/*.rb
-%{yast_desktopdir}/*.desktop
-/usr/share/autoinstall/modules/*.desktop
-/usr/share/YaST2/schema/autoyast/rnc/deploy_image.rnc
-/usr/share/YaST2/schema/autoyast/rnc/ssh_import.rnc
-%dir /usr/share/autoinstall
-%dir /usr/share/autoinstall/modules
-%dir %{yast_yncludedir}/installation
-%{yast_yncludedir}/installation/*
-%{yast_libdir}/installation
-%{yast_libdir}/transfer
-
+%{_unitdir}
+%{yast_clientdir}
+%{yast_moduledir}
+%{yast_desktopdir}
+%{yast_metainfodir}
+%{_datadir}/autoinstall/
+%{yast_schemadir}
+%{yast_yncludedir}
+%{yast_libdir}
# agents
-%{yast_scrconfdir}/cfg_windowmanager.scr
-%{yast_scrconfdir}/etc_install_inf.scr
-%{yast_scrconfdir}/run_df.scr
+%{yast_scrconfdir}
# fillup
%{_fillupdir}/sysconfig.security-checksig
-
# programs and scripts
%{yast_ystartupdir}/startup
-
# installation hooks
-%dir %{yast_vardir}/hooks
-%dir %{yast_vardir}/hooks/installation
-
-%dir %{yast_docdir}
+%{yast_vardir}
+%doc %{yast_docdir}
%license COPYING
-%doc %{yast_docdir}/README.md
-%doc %{yast_docdir}/CONTRIBUTING.md
%{yast_icondir}
%changelog
++++++ yast2-installation-4.2.4.tar.bz2 -> yast2-installation-4.2.7.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.4/doc/control-file.md new/yast2-installation-4.2.7/doc/control-file.md
--- old/yast2-installation-4.2.4/doc/control-file.md 2019-05-14 14:24:17.000000000 +0200
+++ new/yast2-installation-4.2.7/doc/control-file.md 2019-07-26 13:28:40.000000000 +0200
@@ -32,7 +32,7 @@
For example, it is possible to set the language variable in the
configuration file if the installation language is to be forced for
- some reason, eg. if an IT department wants to force French
+ some reason, e.g. if an IT department wants to force French
installations, say in Quebec, Canada, then the entire dialog can
be skipped. If the IT department is to recommend some settings but
still give the user the choice to change the default settings, the
@@ -66,7 +66,7 @@
- Partitioning
This is to customize disk usage, including minimum and maximum useful size
- of the root filesystem, what filesytem type to use, whether or not to use
+ of the root filesystem, what filesystem type to use, whether or not to use
LVM and encryption, and what subvolumes to create if Btrfs is used on the
root filesystem.
@@ -84,7 +84,7 @@
--------------
The control file is implemented in simple structured XML syntax which so
-far has been used for automated installation . The XML structure used
+far has been used for automated installation. The XML structure used
can be mapped easily to YaST data structures and all data types
available in YaST are supported for easy data access and manipulation.
@@ -189,7 +189,7 @@
- name: The name of the module. All installation clients and
modules have a unified prefix (inst\_) which can be omitted
- here. The name is ofted used as an ID, so it should be unique within the whole
+ here. The name is often used as an ID, so it should be unique within the whole
control file. That is why there is the _execute_ parameter (see below). For
example, if the YaST file for the module is called *inst\_test*, then
the name in the control file is *test*.
@@ -270,7 +270,7 @@
*Hardware* and the initial *Installation* proposal.
If you want for some reason to add or modify a proposal, which is
-discourged because of configuration dependencies, then this would be
+discouraged because of configuration dependencies, then this would be
possible using the control file.
@@ -405,7 +405,7 @@
base-product licenses are stored (license.txt, license.de\_DE.txt,
...).
-- (boolean) *rle\_offer\_rulevel\_4* - defines whether runlevel 4
+- (boolean) *rle\_offer\_runlevel\_4* - defines whether runlevel 4
should be offered in the Runlevel Editor. The default is *false*.
- (boolean) *enable\_kdump* - defines whether kdump is proposed as
@@ -881,7 +881,7 @@
if not specified. Notice that "all" is not a legal value for this element; if a
subvolume is relevant for all architectures, omit *archs*.
-Use an exlamation mark ("!") to exclude the subvolume on an architecture:
+Use an exclamation mark ("!") to exclude the subvolume on an architecture:
```xml
<archs>ppc,!board_powernv</archs>
@@ -1116,7 +1116,7 @@
#### Insert steps to installation sequence
Before each step of base product installation, additional step can be
-inserted (eg. another proposal). For the order of additionally added
+inserted (e.g. another proposal). For the order of additionally added
steps, the same rules as for items of proposal will be applied.
#### Append steps to installation sequence
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.4/package/yast2-installation.changes new/yast2-installation-4.2.7/package/yast2-installation.changes
--- old/yast2-installation-4.2.4/package/yast2-installation.changes 2019-05-14 14:24:17.000000000 +0200
+++ new/yast2-installation-4.2.7/package/yast2-installation.changes 2019-07-26 13:28:40.000000000 +0200
@@ -1,4 +1,27 @@
-------------------------------------------------------------------
+Thu Jul 25 11:52:07 UTC 2019 - David Diaz <dgonzalez(a)suse.com>
+
+- Avoid to lost the focus in the proposal installation summary when
+ the user makes changes using the available options on it
+ (bsc#1142353).
+- 4.2.7
+
+-------------------------------------------------------------------
+Mon Jun 17 13:37:35 UTC 2019 - José Iván López González <jlopez(a)suse.com>
+
+- Copy multipath config files into the target system.
+- Related to bsc#1133045.
+- 4.2.6
+
+-------------------------------------------------------------------
+Sat Jun 8 01:49:48 UTC 2019 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Use new schema of desktop files (boo#1084864)
+- Clean up spec
+- Rename desktop files
+- 4.2.5
+
+-------------------------------------------------------------------
Fri May 10 15:07:17 CEST 2019 - schubi(a)suse.de
- Downloading files: Remounting CD with bind option correctly if
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.4/package/yast2-installation.spec new/yast2-installation-4.2.7/package/yast2-installation.spec
--- old/yast2-installation-4.2.4/package/yast2-installation.spec 2019-05-14 14:24:17.000000000 +0200
+++ new/yast2-installation-4.2.7/package/yast2-installation.spec 2019-07-26 13:28:40.000000000 +0200
@@ -12,26 +12,20 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: yast2-installation
-Version: 4.2.4
+Version: 4.2.7
Release: 0
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: %{name}-%{version}.tar.bz2
-
Group: System/YaST
License: GPL-2.0-only
-Url: http://github.com/yast/yast-installation
-# for AbortException and handle direct abort
-Requires: yast2-ruby-bindings >= 4.0.6
-
Summary: YaST2 - Installation Parts
+Url: https://github.com/yast/yast-installation
-Source1: YaST2-Second-Stage.service
-Source2: YaST2-Firstboot.service
+Source0: %{name}-%{version}.tar.bz2
+Source1: YaST2-Second-Stage.service
+Source2: YaST2-Firstboot.service
BuildRequires: update-desktop-files
BuildRequires: yast2-devtools >= 3.1.10
@@ -41,129 +35,109 @@
BuildRequires: yast2-xml
BuildRequires: rubygem(rspec)
BuildRequires: rubygem(yast-rake)
-
# Yast::Execute.stdout
BuildRequires: yast2 >= 4.1.42
-Requires: yast2 >= 4.1.42
-
# Y2Packager::KnownRepositories
-BuildRequires: yast2-packager >= 4.1.27
-
+BuildRequires: yast2-packager >= 4.1.27
# Y2Storage::Inhibitors including systemd masking
-BuildRequires: yast2-storage-ng >= 4.0.194
-Requires: yast2-storage-ng >= 4.0.175
+BuildRequires: yast2-storage-ng >= 4.0.194
+## y2remote based version
+BuildRequires: yast2-network >= 4.0.13
+# new root password cwm widget
+BuildRequires: yast2-users >= 3.2.8
+# storage-ng based version
+BuildRequires: yast2-country >= 3.3.1
+PreReq: %fillup_prereq
+Requires: yast2-users >= 3.2.8
+Requires: yast2-country >= 3.3.1
+# tar-gzip some system files and untar-ungzip them after the installation (FATE #300421, #120103)
+Requires: tar
+Requires: gzip
+Requires: coreutils
+# Augeas lenses
+Requires: augeas-lenses
+# Only in inst-sys
+# Requires: yast2-add-on
+# Requires: yast2-update
+Requires: yast2-storage-ng >= 4.0.175
# Language::GetLanguageItems and other API
# Language::Set (handles downloading the translation extensions)
-Requires: yast2-country-data >= 2.16.11
-
+Requires: yast2-country-data >= 2.16.11
# Pkg::ProvidePackage
-Requires: yast2-pkg-bindings >= 3.1.33
-
-# Mouse-related scripts moved to yast2-mouse
-Conflicts: yast2-mouse < 2.18.0
-
+Requires: yast2-pkg-bindings >= 3.1.33
# Y2Packager::KnownRepositories
-Requires: yast2-packager >= 4.1.27
-
+Requires: yast2-packager >= 4.1.27
# use in startup scripts
-Requires: initviocons
-
+Requires: initviocons
# Proxy settings for 2nd stage (bnc#764951)
Requires: yast2-proxy
-
# Systemd default target and services. This version supports
# writing settings in the first installation stage.
-Requires: yast2-services-manager >= 3.2.1
-
-## y2remote based version
-BuildRequires: yast2-network >= 4.0.13
-Requires: yast2-network >= 4.0.13
-
-# Augeas lenses
-Requires: augeas-lenses
-
-# Only in inst-sys
-# Requires: yast2-add-on
-# Requires: yast2-update
+Requires: yast2-services-manager >= 3.2.1
+Requires: yast2 >= 4.1.42
+Requires: yast2-network >= 4.0.13
+# for AbortException and handle direct abort
+Requires: yast2-ruby-bindings >= 4.0.6
+# for the first/second stage of installation
+# currently not used
+# bugzilla #208307
+#Requires: /usr/bin/jpegtopnm
+#Requires: /usr/bin/pnmtopng
+# BNC 446533, /sbin/lspci called but not installed
+Requires: pciutils
+# Needed call /sbin/ip in vnc.sh/network.sh
+Requires: iproute2
+%if 0%{?suse_version} >= 1210
+%{systemd_requires}
+%endif
-# new root password cwm widget
-BuildRequires: yast2-users >= 3.2.8
-Requires: yast2-users >= 3.2.8
-# storage-ng based version
-BuildRequires: yast2-country >= 3.3.1
-Requires: yast2-country >= 3.3.1
# Pkg::SourceProvideSignedFile Pkg::SourceProvideDigestedFile
# pkg-bindings are not directly required
-Conflicts: yast2-pkg-bindings < 2.17.25
-
+Conflicts: yast2-pkg-bindings < 2.17.25
# InstError
-Conflicts: yast2 < 2.18.6
-
+Conflicts: yast2 < 2.18.6
# storage-ng based version
-Conflicts: yast2-bootloader < 3.3.1
-
+Conflicts: yast2-bootloader < 3.3.1
# Added new function WFM::ClientExists
-Conflicts: yast2-core < 2.17.10
-
+Conflicts: yast2-core < 2.17.10
# Top bar with logo
-Conflicts: yast2-ycp-ui-bindings < 3.1.7
-
+Conflicts: yast2-ycp-ui-bindings < 3.1.7
# Registration#get_updates_list does not handle exceptions
-Conflicts: yast2-registration < 3.2.3
-
-Obsoletes: yast2-installation-devel-doc
-
-# tar-gzip some system files and untar-ungzip them after the installation (FATE #300421, #120103)
-Requires: tar gzip
-Requires: coreutils
-
-%if 0%{?suse_version} >= 1210
-%{systemd_requires}
-%endif
-
-# for the first/second stage of installation
-# currently not used
-# bugzilla #208307
-#Requires: /usr/bin/jpegtopnm
-#Requires: /usr/bin/pnmtopng
-
-# BNC 446533, /sbin/lspci called but not installed
-Requires: pciutils
+Conflicts: yast2-registration < 3.2.3
+# Mouse-related scripts moved to yast2-mouse
+Conflicts: yast2-mouse < 2.18.0
-# Needed call /sbin/ip in vnc.sh/network.sh
-Requires: iproute2
+Obsoletes: yast2-installation-devel-doc
# install the registration module only in SLE (bsc#1043122)
%if !0%{?is_opensuse}
-Recommends: yast2-registration
+Recommends: yast2-registration
%endif
+Recommends: yast2-online-update
+Recommends: yast2-firewall
+Recommends: release-notes
+Recommends: curl
+Recommends: yast2-update
+Recommends: yast2-add-on
-Recommends: yast2-online-update
-Recommends: yast2-firewall
-Recommends: release-notes
-Recommends: curl
-Recommends: yast2-update
-Recommends: yast2-add-on
-
-PreReq: %fillup_prereq
-
-BuildArch: noarch
+BuildArch: noarch
%description
System installation code as present on installation media.
%prep
-%setup -n %{name}-%{version}
+%setup -q
%check
-rake test:unit
+%yast_check
%build
%install
-rake install DESTDIR="%{buildroot}"
+%yast_install
+%yast_metainfo
for f in `find %{buildroot}%{_datadir}/autoinstall/modules -name "*.desktop"`; do
%suse_update_desktop_file $f
@@ -212,41 +186,27 @@
%endif #suse_version
%files
-%defattr(-,root,root)
# systemd service files
-%{_unitdir}/YaST2-Second-Stage.service
-%{_unitdir}/YaST2-Firstboot.service
-
-%{yast_clientdir}/*.rb
-%{yast_moduledir}/*.rb
-%{yast_desktopdir}/*.desktop
-/usr/share/autoinstall/modules/*.desktop
-/usr/share/YaST2/schema/autoyast/rnc/deploy_image.rnc
-/usr/share/YaST2/schema/autoyast/rnc/ssh_import.rnc
-%dir /usr/share/autoinstall
-%dir /usr/share/autoinstall/modules
-%dir %{yast_yncludedir}/installation
-%{yast_yncludedir}/installation/*
-%{yast_libdir}/installation
-%{yast_libdir}/transfer
-
+%{_unitdir}
+%{yast_clientdir}
+%{yast_moduledir}
+%{yast_desktopdir}
+%{yast_metainfodir}
+%{_datadir}/autoinstall/
+%{yast_schemadir}
+%{yast_yncludedir}
+%{yast_libdir}
# agents
-%{yast_scrconfdir}/cfg_windowmanager.scr
-%{yast_scrconfdir}/etc_install_inf.scr
-%{yast_scrconfdir}/run_df.scr
+%{yast_scrconfdir}
# fillup
%{_fillupdir}/sysconfig.security-checksig
-
# programs and scripts
%{yast_ystartupdir}/startup
-
# installation hooks
-%dir %{yast_vardir}/hooks
-%dir %{yast_vardir}/hooks/installation
-
-%dir %{yast_docdir}
+%{yast_vardir}
+%doc %{yast_docdir}
%license COPYING
-%doc %{yast_docdir}/README.md
-%doc %{yast_docdir}/CONTRIBUTING.md
%{yast_icondir}
+
+%changelog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.4/src/desktop/installation.desktop new/yast2-installation-4.2.7/src/desktop/installation.desktop
--- old/yast2-installation-4.2.4/src/desktop/installation.desktop 2019-05-14 14:24:17.000000000 +0200
+++ new/yast2-installation-4.2.7/src/desktop/installation.desktop 1970-01-01 01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Type=Application
-Hidden=true
-Categories=Settings;System;Documentation;
-
-Icon=yast-installation
-Exec=/bin/true
-
-Name=Installation
-GenericName=System Upgrade
-Comment=Install system to the system
-StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.4/src/desktop/org.opensuse.yast.Installation.desktop new/yast2-installation-4.2.7/src/desktop/org.opensuse.yast.Installation.desktop
--- old/yast2-installation-4.2.4/src/desktop/org.opensuse.yast.Installation.desktop 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-installation-4.2.7/src/desktop/org.opensuse.yast.Installation.desktop 2019-07-26 13:28:40.000000000 +0200
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Type=Application
+Hidden=true
+Categories=Settings;System;Documentation;
+
+Icon=yast-installation
+Exec=/bin/true
+
+Name=YaST Installation
+GenericName=System Upgrade
+Comment=Install system to the system
+StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.4/src/desktop/org.opensuse.yast.ReleaseNotes.desktop new/yast2-installation-4.2.7/src/desktop/org.opensuse.yast.ReleaseNotes.desktop
--- old/yast2-installation-4.2.4/src/desktop/org.opensuse.yast.ReleaseNotes.desktop 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-installation-4.2.7/src/desktop/org.opensuse.yast.ReleaseNotes.desktop 2019-07-26 13:28:40.000000000 +0200
@@ -0,0 +1,16 @@
+[Desktop Entry]
+Type=Application
+Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Support;
+
+X-SuSE-YaST-Call=inst_release_notes
+X-SuSE-YaST-RootOnly=false
+X-SuSE-YaST-Group=Support
+X-SuSE-YaST-Keywords=support,installation,notes,documentation
+
+Icon=yast-release-notes
+Exec=/sbin/yast2 inst_release_notes
+
+Name=YaST Release Notes
+GenericName=Release Notes
+Comment=Show Release Notes
+StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.4/src/desktop/org.opensuse.yast.Upgrade.desktop new/yast2-installation-4.2.7/src/desktop/org.opensuse.yast.Upgrade.desktop
--- old/yast2-installation-4.2.4/src/desktop/org.opensuse.yast.Upgrade.desktop 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-installation-4.2.7/src/desktop/org.opensuse.yast.Upgrade.desktop 2019-07-26 13:28:40.000000000 +0200
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Type=Application
+Hidden=true
+Categories=Settings;System;Documentation;
+
+Icon=yast-upgrade
+Exec=/bin/true
+
+Name=YaST Upgrade
+GenericName=System Upgrade
+Comment=Upgrade system to the newer version
+StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.4/src/desktop/release_notes.desktop new/yast2-installation-4.2.7/src/desktop/release_notes.desktop
--- old/yast2-installation-4.2.4/src/desktop/release_notes.desktop 2019-05-14 14:24:17.000000000 +0200
+++ new/yast2-installation-4.2.7/src/desktop/release_notes.desktop 1970-01-01 01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Type=Application
-Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Support;
-
-X-SuSE-YaST-Call=inst_release_notes
-X-SuSE-YaST-RootOnly=false
-X-SuSE-YaST-Group=Support
-X-SuSE-YaST-Keywords=support,installation,notes,documentation
-
-Icon=yast-release-notes
-Exec=/sbin/yast2 inst_release_notes
-
-Name=Release Notes
-GenericName=Show Release Notes
-StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.4/src/desktop/upgrade.desktop new/yast2-installation-4.2.7/src/desktop/upgrade.desktop
--- old/yast2-installation-4.2.4/src/desktop/upgrade.desktop 2019-05-14 14:24:17.000000000 +0200
+++ new/yast2-installation-4.2.7/src/desktop/upgrade.desktop 1970-01-01 01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Type=Application
-Hidden=true
-Categories=Settings;System;Documentation;
-
-Icon=yast-upgrade
-Exec=/bin/true
-
-Name=Upgrade
-GenericName=System Upgrade
-Comment=Upgrade system to the newer version
-StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.4/src/lib/installation/clients/copy_files_finish.rb new/yast2-installation-4.2.7/src/lib/installation/clients/copy_files_finish.rb
--- old/yast2-installation-4.2.4/src/lib/installation/clients/copy_files_finish.rb 2019-05-14 14:24:17.000000000 +0200
+++ new/yast2-installation-4.2.7/src/lib/installation/clients/copy_files_finish.rb 2019-07-26 13:28:40.000000000 +0200
@@ -1,23 +1,23 @@
# encoding: utf-8
-# ------------------------------------------------------------------------------
-# Copyright (c) 2006-2012 Novell, Inc. All Rights Reserved.
+# Copyright (c) [2006-2019] SUSE LLC
#
+# All Rights Reserved.
#
-# This program is free software; you can redistribute it and/or modify it under
-# the terms of version 2 of the GNU General Public License as published by the
-# Free Software Foundation.
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
#
-# You should have received a copy of the GNU General Public License along with
-# this program; if not, contact Novell, Inc.
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, contact SUSE LLC.
#
-# To contact Novell about this file by physical or electronic mail, you may find
-# current contact information at www.novell.com.
-# ------------------------------------------------------------------------------
+# To contact SUSE LLC about this file by physical or electronic mail, you may
+# find current contact information at www.suse.com.
require "fileutils"
require "installation/ssh_importer"
@@ -251,17 +251,28 @@
)
end
+ # See {https://www.suse.com/support/kb/doc/?id=7001133}
+ MULTIPATH_CONFIG_FILES = [
+ "/etc/multipath.conf",
+ "/etc/multipath/bindings",
+ "/etc/multipath/wwids"
+ ].freeze
+
+ private_constant :MULTIPATH_CONFIG_FILES
+
def copy_multipath
- # Copy multipath stuff (bnc#885628)
# Only in install, as update should keep its old config
return unless Mode.installation
- multipath_config = "/etc/multipath/wwids"
- if File.exist?(multipath_config)
- log.info "Copying multipath blacklist '#{multipath_config}'"
- target_path = File.join(Installation.destdir, multipath_config)
- ::FileUtils.mkdir_p(File.dirname(target_path))
- ::FileUtils.cp(multipath_config, target_path)
+ # Copy multipath stuff (bnc#885628, bsc#1133045)
+ MULTIPATH_CONFIG_FILES.each do |config_file|
+ next unless File.exist?(config_file)
+
+ log.info "Copying multipath config file: '#{config_file}'"
+ target_path = File.join(Installation.destdir, config_file)
+ target_dir = File.dirname(target_path)
+ ::FileUtils.mkdir_p(target_dir) unless File.exist?(target_dir)
+ ::FileUtils.cp(config_file, target_path)
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.4/src/lib/installation/proposal_runner.rb new/yast2-installation-4.2.7/src/lib/installation/proposal_runner.rb
--- old/yast2-installation-4.2.4/src/lib/installation/proposal_runner.rb 2019-05-14 14:24:17.000000000 +0200
+++ new/yast2-installation-4.2.7/src/lib/installation/proposal_runner.rb 2019-07-26 13:28:40.000000000 +0200
@@ -199,6 +199,10 @@
def input_loop
loop do
richtext_normal_cursor(Id(:proposal))
+
+ # Keep focus in the RichText widget (bsc#1142353)
+ Yast::UI.SetFocus(Id(:proposal))
+
# bnc #431567
# Some proposal module can change it while called
assign_next_button
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.2.4/test/copy_files_finish_test.rb new/yast2-installation-4.2.7/test/copy_files_finish_test.rb
--- old/yast2-installation-4.2.4/test/copy_files_finish_test.rb 2019-05-14 14:24:17.000000000 +0200
+++ new/yast2-installation-4.2.7/test/copy_files_finish_test.rb 2019-07-26 13:28:40.000000000 +0200
@@ -1,3 +1,25 @@
+#!/usr/bin/env rspec
+# encoding: utf-8
+
+# Copyright (c) [2018-2019] SUSE LLC
+#
+# All Rights Reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of version 2 of the GNU General Public License as published
+# by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+# more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, contact SUSE LLC.
+#
+# To contact SUSE LLC about this file by physical or electronic mail, you may
+# find current contact information at www.suse.com.
+
require_relative "./test_helper.rb"
require "installation/clients/copy_files_finish"
@@ -94,9 +116,12 @@
allow(Yast::Mode).to receive(:installation).and_return(true)
allow(::FileUtils).to receive(:cp)
allow(::FileUtils).to receive(:mkdir_p)
- allow(::File).to receive(:exist?).with("/etc/multipath/wwids").and_return(true)
+ allow(::File).to receive(:exist?).with(/^\/etc\/multipath/).and_return(true)
+ allow(::File).to receive(:exist?).with(/^\/mnt\/etc\/multipath/).and_return(false)
expect(::FileUtils).to receive(:mkdir_p).with("/mnt/etc/multipath")
+ expect(::FileUtils).to receive(:cp).with("/etc/multipath.conf", "/mnt/etc/multipath.conf")
+ expect(::FileUtils).to receive(:cp).with("/etc/multipath/bindings", "/mnt/etc/multipath/bindings")
expect(::FileUtils).to receive(:cp).with("/etc/multipath/wwids", "/mnt/etc/multipath/wwids")
subject.write
1
0
Hello community,
here is the log from the commit of package yast2-add-on for openSUSE:Factory checked in at 2019-07-31 14:25:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-add-on (Old)
and /work/SRC/openSUSE:Factory/.yast2-add-on.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-add-on"
Wed Jul 31 14:25:41 2019 rev:99 rq:718823 version:4.2.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-add-on/yast2-add-on.changes 2019-05-27 08:35:37.971135355 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-add-on.new.4126/yast2-add-on.changes 2019-07-31 14:25:43.430299197 +0200
@@ -1,0 +2,34 @@
+Fri Jul 26 12:27:45 CEST 2019 - schubi(a)suse.de
+
+- AY: Adapted docu regarding <add_on_others> flag (bsc#1125411).
+- 4.2.4
+
+-------------------------------------------------------------------
+Thu Jul 25 08:40:00 UTC 2019 - Ladislav Slezák <lslezak(a)suse.cz>
+
+- Release the sources to avoid using up all server connections
+ (bsc#1141127)
+- 4.2.3
+
+-------------------------------------------------------------------
+Tue Jul 9 17:42:52 CEST 2019 - schubi(a)suse.de
+
+- AY Export/Import: Support also repositories not containing any
+ product (usually custom or 3rd party repositories) (bsc#1125441).
+- 4.2.2
+
+-------------------------------------------------------------------
+Mon Jul 1 07:40:05 UTC 2019 - David Diaz <dgonzalez(a)suse.com>
+
+- Do not abort when an addon license is refused (bsc#1114018).
+- 4.2.1
+
+-------------------------------------------------------------------
+Fri May 31 12:23:30 UTC 2019 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Add metainfo (fate#319035)
+- Revamp spec
+- Replace GenericName with Comment
+- 4.2.0
+
+-------------------------------------------------------------------
Old:
----
yast2-add-on-4.1.12.tar.bz2
New:
----
yast2-add-on-4.2.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-add-on.spec ++++++
--- /var/tmp/diff_new_pack.AFo8MW/_old 2019-07-31 14:25:44.038298727 +0200
+++ /var/tmp/diff_new_pack.AFo8MW/_new 2019-07-31 14:25:44.042298724 +0200
@@ -17,31 +17,34 @@
Name: yast2-add-on
-Version: 4.1.12
+Version: 4.2.4
Release: 0
Summary: YaST2 - Add-On media installation code
License: GPL-2.0-only
Group: System/YaST
-Url: http://github.com/yast/yast-add-on
+Url: https://github.com/yast/yast-add-on
+
Source0: %{name}-%{version}.tar.bz2
+
BuildRequires: update-desktop-files
BuildRequires: yast2 >= 3.0.1
BuildRequires: yast2-devtools >= 3.1.10
-BuildRequires: yast2-packager
BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec)
BuildRequires: rubygem(%{rb_default_ruby_abi}:yast-rake)
+# Y2packager::Resolvables
+BuildRequires: yast2-packager >= 4.2.11
+
Requires: autoyast2-installation
# ProductProfile
Requires: yast2 >= 3.0.1
Requires: yast2-country
Requires: yast2-installation
-# new AddOnProduct.DoInstall argument
-Requires: yast2-packager >= 4.0.25
+# Packager ProductLicense#HandleLicenseDialogRet allowing "refuse" action
+Requires: yast2-packager >= 4.2.16
Requires: yast2-ruby-bindings >= 1.0.0
Obsoletes: yast2-add-on-devel-doc
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
@@ -51,30 +54,24 @@
%setup -q
%check
-rake test:unit
+%yast_check
%build
%install
-rake install DESTDIR=%{buildroot}
+%yast_install
+%yast_metainfo
%files
-%defattr(-,root,root)
-%dir %{yast_yncludedir}/add-on
-%{yast_yncludedir}/add-on/*
-%dir %{yast_libdir}/add-on
-%dir %{yast_libdir}/add-on/clients
-%{yast_libdir}/add-on/clients/*.rb
-%{yast_clientdir}/add-on.rb
-%{yast_clientdir}/add-on_*.rb
-%{yast_clientdir}/inst_add-on*.rb
-%{yast_clientdir}/vendor.rb
-%{yast_desktopdir}/*.desktop
-%{yast_schemadir}/autoyast/rnc/add-on.rnc
-%{_datadir}/icons/*
-%dir %{yast_docdir}
+%{yast_yncludedir}
+%{yast_libdir}
+%{yast_clientdir}
+%{yast_moduledir}
+%{yast_desktopdir}
+%{yast_metainfodir}
+%{yast_schemadir}
+%{yast_icondir}
+%doc %{yast_docdir}
%license COPYING
-%doc %{yast_docdir}/CONTRIBUTING.md
-%doc %{yast_docdir}/README.md
%changelog
++++++ yast2-add-on-4.1.12.tar.bz2 -> yast2-add-on-4.2.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/package/yast2-add-on.changes new/yast2-add-on-4.2.4/package/yast2-add-on.changes
--- old/yast2-add-on-4.1.12/package/yast2-add-on.changes 2019-05-23 10:24:34.000000000 +0200
+++ new/yast2-add-on-4.2.4/package/yast2-add-on.changes 2019-07-26 12:49:51.000000000 +0200
@@ -1,4 +1,38 @@
-------------------------------------------------------------------
+Fri Jul 26 12:27:45 CEST 2019 - schubi(a)suse.de
+
+- AY: Adapted docu regarding <add_on_others> flag (bsc#1125411).
+- 4.2.4
+
+-------------------------------------------------------------------
+Thu Jul 25 08:40:00 UTC 2019 - Ladislav Slezák <lslezak(a)suse.cz>
+
+- Release the sources to avoid using up all server connections
+ (bsc#1141127)
+- 4.2.3
+
+-------------------------------------------------------------------
+Tue Jul 9 17:42:52 CEST 2019 - schubi(a)suse.de
+
+- AY Export/Import: Support also repositories not containing any
+ product (usually custom or 3rd party repositories) (bsc#1125441).
+- 4.2.2
+
+-------------------------------------------------------------------
+Mon Jul 1 07:40:05 UTC 2019 - David Diaz <dgonzalez(a)suse.com>
+
+- Do not abort when an addon license is refused (bsc#1114018).
+- 4.2.1
+
+-------------------------------------------------------------------
+Fri May 31 12:23:30 UTC 2019 - Stasiek Michalski <hellcp(a)mailbox.org>
+
+- Add metainfo (fate#319035)
+- Revamp spec
+- Replace GenericName with Comment
+- 4.2.0
+
+-------------------------------------------------------------------
Wed May 22 16:20:22 CEST 2019 - schubi(a)suse.de
- Fix: Update repository will be registered while installing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/package/yast2-add-on.spec new/yast2-add-on-4.2.4/package/yast2-add-on.spec
--- old/yast2-add-on-4.1.12/package/yast2-add-on.spec 2019-05-23 10:24:34.000000000 +0200
+++ new/yast2-add-on-4.2.4/package/yast2-add-on.spec 2019-07-26 12:49:51.000000000 +0200
@@ -12,36 +12,39 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: yast2-add-on
-Version: 4.1.12
+Version: 4.2.4
Release: 0
Summary: YaST2 - Add-On media installation code
License: GPL-2.0-only
Group: System/YaST
-Url: http://github.com/yast/yast-add-on
+Url: https://github.com/yast/yast-add-on
+
Source0: %{name}-%{version}.tar.bz2
+
BuildRequires: rubygem(%{rb_default_ruby_abi}:yast-rake)
BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec)
BuildRequires: update-desktop-files
BuildRequires: yast2 >= 3.0.1
BuildRequires: yast2-devtools >= 3.1.10
-BuildRequires: yast2-packager
+# Y2packager::Resolvables
+BuildRequires: yast2-packager >= 4.2.11
+
Requires: autoyast2-installation
# ProductProfile
Requires: yast2 >= 3.0.1
Requires: yast2-country
Requires: yast2-installation
-# new AddOnProduct.DoInstall argument
-Requires: yast2-packager >= 4.0.25
+# Packager ProductLicense#HandleLicenseDialogRet allowing "refuse" action
+Requires: yast2-packager >= 4.2.16
Requires: yast2-ruby-bindings >= 1.0.0
Obsoletes: yast2-add-on-devel-doc
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
@@ -51,30 +54,24 @@
%setup -q
%check
-rake test:unit
+%yast_check
%build
%install
-rake install DESTDIR=%{buildroot}
+%yast_install
+%yast_metainfo
%files
-%defattr(-,root,root)
-%dir %{yast_yncludedir}/add-on
-%{yast_yncludedir}/add-on/*
-%dir %{yast_libdir}/add-on
-%dir %{yast_libdir}/add-on/clients
-%{yast_libdir}/add-on/clients/*.rb
-%{yast_clientdir}/add-on.rb
-%{yast_clientdir}/add-on_*.rb
-%{yast_clientdir}/inst_add-on*.rb
-%{yast_clientdir}/vendor.rb
-%{yast_desktopdir}/*.desktop
-%{yast_schemadir}/autoyast/rnc/add-on.rnc
-%{_datadir}/icons/*
-%dir %{yast_docdir}
+%{yast_yncludedir}
+%{yast_libdir}
+%{yast_clientdir}
+%{yast_moduledir}
+%{yast_desktopdir}
+%{yast_metainfodir}
+%{yast_schemadir}
+%{yast_icondir}
+%doc %{yast_docdir}
%license COPYING
-%doc %{yast_docdir}/CONTRIBUTING.md
-%doc %{yast_docdir}/README.md
%changelog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/src/autoyast-rnc/add-on.rnc new/yast2-add-on-4.2.4/src/autoyast-rnc/add-on.rnc
--- old/yast2-add-on-4.1.12/src/autoyast-rnc/add-on.rnc 2019-05-23 10:24:34.000000000 +0200
+++ new/yast2-add-on-4.2.4/src/autoyast-rnc/add-on.rnc 2019-07-26 12:49:51.000000000 +0200
@@ -3,7 +3,10 @@
namespace config = "http://www.suse.com/1.0/configns"
add-on =
- element add-on { add_on_products* }
+ element add-on {
+ add_on_products* &
+ add_on_others*
+ }
listentry =
element listentry {
media_url & # here it is mandatory
@@ -49,8 +52,25 @@
ask_on_error = element ask_on_error { BOOLEAN }
confirm_license = element confirm_license { BOOLEAN }
priority = element priority { INTEGER }
+#
+# Describes all Add-On products which have to be added
+# while and after the installation.
+#
add_on_products =
element add_on_products {
attribute config:type { text }?,
listentry*
}
+#
+# Describes all Add-Ons which are not Add-On-Products or Base-Products.
+# Usually custom or 3rd party repositories.
+#
+# Add-On products and other user defined repos will be split in order to
+# 1. keep a better overview about the repos
+# 2. ensure backward compatibility
+#
+add_on_others =
+ element add_on_others {
+ attribute config:type { text }?,
+ listentry*
+ }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/src/clients/add-on.rb new/yast2-add-on-4.2.4/src/clients/add-on.rb
--- old/yast2-add-on-4.1.12/src/clients/add-on.rb 2019-05-23 10:24:34.000000000 +0200
+++ new/yast2-add-on-4.2.4/src/clients/add-on.rb 2019-07-26 12:49:51.000000000 +0200
@@ -111,7 +111,7 @@
false
)
- Wizard.SetDesktopTitleAndIcon("add-on")
+ Wizard.SetDesktopTitleAndIcon("org.opensuse.yast.AddOn")
Wizard.DisableBackButton
Wizard.DisableAbortButton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/src/clients/add-on_proposal.rb new/yast2-add-on-4.2.4/src/clients/add-on_proposal.rb
--- old/yast2-add-on-4.1.12/src/clients/add-on_proposal.rb 2019-05-23 10:24:34.000000000 +0200
+++ new/yast2-add-on-4.2.4/src/clients/add-on_proposal.rb 2019-07-26 12:49:51.000000000 +0200
@@ -32,13 +32,13 @@
@items = Builtins.maplist(AddOnProduct.add_on_products) do |product|
data = Pkg.SourceGeneralData(Ops.get_integer(product, "media", -1))
# placeholder for unknown path
- dir = Ops.get_locale(data, "product_dir", _("Unknown"))
+ dir = Ops.get_locale(data, "product_dir", product.fetch( "product_dir", _("Unknown")))
dir = "/" if dir == ""
# summary item, %1 is product name, %2 media URL, %3 directory on media
Builtins.sformat(
"%1 (Media %2, directory %3)",
- Ops.get_string(product, "product", ""),
- Ops.get_locale(data, "url", _("Unknown")),
+ Ops.get_string(product, "product", _("No name defined")),
+ Ops.get_locale(data, "url", product.fetch( "media_url", _("Unknown"))),
dir
)
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/src/clients/vendor.rb new/yast2-add-on-4.2.4/src/clients/vendor.rb
--- old/yast2-add-on-4.1.12/src/clients/vendor.rb 2019-05-23 10:24:34.000000000 +0200
+++ new/yast2-add-on-4.2.4/src/clients/vendor.rb 2019-07-26 12:49:51.000000000 +0200
@@ -55,7 +55,7 @@
@result = nil
Wizard.CreateDialog
- Wizard.SetDesktopTitleAndIcon("vendor")
+ Wizard.SetDesktopTitleAndIcon("org.opensuse.yast.Vendor")
Wizard.HideAbortButton
# VENDOR: main screen heading
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/src/desktop/add-on.desktop new/yast2-add-on-4.2.4/src/desktop/add-on.desktop
--- old/yast2-add-on-4.1.12/src/desktop/add-on.desktop 2019-05-23 10:24:34.000000000 +0200
+++ new/yast2-add-on-4.2.4/src/desktop/add-on.desktop 1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
-[Desktop Entry]
-Type=Application
-Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Software;
-
-X-KDE-ModuleType=Library
-X-KDE-HasReadOnlyMode=true
-X-SuSE-YaST-Call=add-on
-
-X-SuSE-YaST-Group=Software
-X-SuSE-YaST-Argument=
-X-SuSE-YaST-RootOnly=true
-X-SuSE-YaST-AutoInst=configure
-X-SuSE-YaST-Geometry=
-X-SuSE-YaST-SortKey=
-X-SuSE-YaST-AutoInstResource=
-X-SuSE-YaST-AutoInstPath=install
-X-SuSE-YaST-AutoInstSchema=add-on.rnc
-X-SuSE-YaST-AutoInstClonable=true
-X-SuSE-YaST-Keywords=update,packages,repositories,software
-
-Icon=yast-addon
-Exec=xdg-su -c "/sbin/yast2 add-on"
-
-Name=Add-On Products
-GenericName=Install or remove add-on products
-StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/src/desktop/org.opensuse.yast.AddOn.desktop new/yast2-add-on-4.2.4/src/desktop/org.opensuse.yast.AddOn.desktop
--- old/yast2-add-on-4.1.12/src/desktop/org.opensuse.yast.AddOn.desktop 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-add-on-4.2.4/src/desktop/org.opensuse.yast.AddOn.desktop 2019-07-26 12:49:51.000000000 +0200
@@ -0,0 +1,27 @@
+[Desktop Entry]
+Type=Application
+Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Software;
+
+X-KDE-ModuleType=Library
+X-KDE-HasReadOnlyMode=true
+X-SuSE-YaST-Call=add-on
+
+X-SuSE-YaST-Group=Software
+X-SuSE-YaST-Argument=
+X-SuSE-YaST-RootOnly=true
+X-SuSE-YaST-AutoInst=configure
+X-SuSE-YaST-Geometry=
+X-SuSE-YaST-SortKey=
+X-SuSE-YaST-AutoInstResource=
+X-SuSE-YaST-AutoInstPath=install
+X-SuSE-YaST-AutoInstSchema=add-on.rnc
+X-SuSE-YaST-AutoInstClonable=true
+X-SuSE-YaST-Keywords=update,packages,repositories,software
+
+Icon=yast-addon
+Exec=xdg-su -c "/sbin/yast2 add-on"
+
+Name=YaST Add-On Products
+GenericName=Add-On Products
+Comment=Install or remove add-on products
+StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/src/desktop/org.opensuse.yast.Vendor.desktop new/yast2-add-on-4.2.4/src/desktop/org.opensuse.yast.Vendor.desktop
--- old/yast2-add-on-4.1.12/src/desktop/org.opensuse.yast.Vendor.desktop 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-add-on-4.2.4/src/desktop/org.opensuse.yast.Vendor.desktop 2019-07-26 12:49:51.000000000 +0200
@@ -0,0 +1,24 @@
+[Desktop Entry]
+Type=Application
+Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Misc;
+
+X-KDE-ModuleType=Library
+X-KDE-HasReadOnlyMode=true
+X-SuSE-YaST-Call=vendor
+
+X-SuSE-YaST-Group=Misc
+X-SuSE-YaST-Argument=
+X-SuSE-YaST-RootOnly=true
+X-SuSE-YaST-AutoInst=
+X-SuSE-YaST-Geometry=
+X-SuSE-YaST-SortKey=
+X-SuSE-YaST-AutoInstResource=
+X-SuSE-YaST-Keywords=vendor,cd,driver,update,packages,repositories,software
+
+Icon=yast-vendor
+Exec=xdg-su -c "/sbin/yast2 vendor"
+
+Name=YaST Vendor Driver
+GenericName=Vendor Driver
+Comment=Install a driver from a vendor-specific medium
+StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/src/desktop/vendor.desktop new/yast2-add-on-4.2.4/src/desktop/vendor.desktop
--- old/yast2-add-on-4.1.12/src/desktop/vendor.desktop 2019-05-23 10:24:34.000000000 +0200
+++ new/yast2-add-on-4.2.4/src/desktop/vendor.desktop 1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-[Desktop Entry]
-Type=Application
-Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Misc;
-
-X-KDE-ModuleType=Library
-X-KDE-HasReadOnlyMode=true
-X-SuSE-YaST-Call=vendor
-
-X-SuSE-YaST-Group=Misc
-X-SuSE-YaST-Argument=
-X-SuSE-YaST-RootOnly=true
-X-SuSE-YaST-AutoInst=
-X-SuSE-YaST-Geometry=
-X-SuSE-YaST-SortKey=
-X-SuSE-YaST-AutoInstResource=
-X-SuSE-YaST-Keywords=vendor,cd,driver,update,packages,repositories,software
-
-Icon=yast-vendor
-Exec=xdg-su -c "/sbin/yast2 vendor"
-
-Name=Vendor Driver CD
-GenericName=Install a driver from a vendor-specific CD-ROM
-StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/src/include/add-on/add-on-workflow.rb new/yast2-add-on-4.2.4/src/include/add-on/add-on-workflow.rb
--- old/yast2-add-on-4.1.12/src/include/add-on/add-on-workflow.rb 2019-05-23 10:24:34.000000000 +0200
+++ new/yast2-add-on-4.2.4/src/include/add-on/add-on-workflow.rb 2019-07-26 12:49:51.000000000 +0200
@@ -847,7 +847,7 @@
Wizard.HideBackButton if !enable_back
Wizard.HideAbortButton if !enable_abort
- Wizard.SetDesktopIcon("add-on")
+ Wizard.SetDesktopIcon("org.opensuse.yast.AddOn")
# disable delete button if no items listed
# bug #203809
@@ -1027,6 +1027,9 @@
Wizard.SetTitleIcon("yast-addon")
ret2 = RunWizard()
+ break if ret2 == :back
+ return :abort if ret2 == :abort
+
log.info "Subworkflow result: ret2: #{ret2}"
if ret2 == :next
@@ -1052,7 +1055,7 @@
# Release all sources after adding a new one
# because of CD/DVD + url cd://
Pkg.SourceReleaseAll
- elsif ret2 == :abort || ret2 == :cancel
+ elsif ret2 == :cancel
log.info("Aborted, removing add-on repositories: #{(a)added_repos.inspect}")
# remove the repository
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/src/lib/add-on/clients/add-on_auto.rb new/yast2-add-on-4.2.4/src/lib/add-on/clients/add-on_auto.rb
--- old/yast2-add-on-4.1.12/src/lib/add-on/clients/add-on_auto.rb 2019-05-23 10:24:34.000000000 +0200
+++ new/yast2-add-on-4.2.4/src/lib/add-on/clients/add-on_auto.rb 2019-07-26 12:49:51.000000000 +0200
@@ -2,6 +2,7 @@
require "installation/auto_client"
Yast.import "AddOnProduct"
+Yast.import "AddOnOthers"
Yast.import "AutoinstSoftware"
Yast.import "Installation"
Yast.import "Label"
@@ -24,12 +25,15 @@
end
def import(data)
- add_on_products = data.fetch("add_on_products", [])
+ add_ons = data.fetch("add_on_products", [])
+ # Add-on products have the same format as add-ons which have been
+ # added manually by the user. So we can take the same workflow here.
+ add_ons += data.fetch("add_on_others", [])
- valid_add_on_products = add_on_products.reject.with_index(1) do |add_on, index|
+ valid_add_ons = add_ons.reject.with_index(1) do |add_on, index|
next false unless add_on.fetch("media_url", "").empty?
- log.error("Missing <media_url> value in the #{index}. add-on-product definition")
+ log.error("Missing <media_url> value in the #{index}. add-on definition")
# abort import/installation
return false unless skip_add_on_and_continue?(index)
@@ -37,7 +41,7 @@
true
end
- AddOnProduct.Import("add_on_products" => valid_add_on_products)
+ AddOnProduct.Import("add_on_products" => valid_add_ons)
end
# Returns an unordered HTML list summarizing the Add-on products
@@ -114,7 +118,7 @@
end
def export
- AddOnProduct.Export
+ AddOnProduct.Export.merge(AddOnOthers.Export())
end
# Creates sources from add on products
@@ -165,6 +169,9 @@
Pkg.PkgSolve(true)
ReadFromSystem()
+
+ # Reading user defined repos
+ AddOnOthers.Read()
end
private
@@ -189,6 +196,7 @@
loop do
source_id = Pkg.SourceCreate(url, product_dir)
+ Pkg.SourceReleaseAll
log.info("New source ID: #{source_id}")
@@ -203,6 +211,7 @@
else
# bugzilla #260613
AddOnProduct.Integrate(source_id)
+ Pkg.SourceReleaseAll
adjust_source_attributes(add_on, source_id)
install_product(product)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/src/modules/AddOnOthers.rb new/yast2-add-on-4.2.4/src/modules/AddOnOthers.rb
--- old/yast2-add-on-4.1.12/src/modules/AddOnOthers.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-add-on-4.2.4/src/modules/AddOnOthers.rb 2019-07-26 12:49:51.000000000 +0200
@@ -0,0 +1,80 @@
+# encoding: utf-8
+require "yast"
+require "y2packager/resolvable"
+
+# Yast namespace
+module Yast
+ # Describes all Add-Ons which are not Add-On-Products or Base-Products.
+ # Usually custom or 3rd party repositories.
+
+ class AddOnOthersClass < Module
+
+ include Yast::Logger
+
+ # add_on_others = [
+ # {
+ # "media" => 4, # ID of the source
+ # "name" : "openSUSE version XX.Y",
+ # "media_url"=>"dvd:/?devices=/dev/sr1"
+ # ....
+ # },
+ # ...
+ # ]
+ attr_reader :add_on_others
+
+ def main
+ Yast.import "Pkg"
+ textdomain "add-on"
+
+ @add_on_others = []
+ end
+
+ def Read
+ # Removing all repos which have installed based products
+ # and add-on products.
+ installed_product_names = Y2Packager::Resolvable.find(kind: :product, status: :installed).map(&:name)
+ installed_available_products = Y2Packager::Resolvable.find(kind: :product, status: :available).select do |p|
+ installed_product_names.include?(p.name)
+ end
+
+ installed_src_ids = installed_available_products.map(&:source).uniq
+ other_repo_ids = Pkg.SourceGetCurrent(true) - installed_src_ids
+ @add_on_others = other_repo_ids.map{ |id| Pkg.SourceGeneralData(id) }
+ end
+
+ # Returns all enabled user added repos which are not base products or add-on products.
+ #
+ # @return [Hash] User defined repos.
+ #
+ # @example This is an XML file created from exported map:
+ # <add-on>
+ # <add_on_others config:type="list">
+ # <listentry>
+ # <media_url>ftp://server.name/.../</media_url>
+ # <alias>alias name</alias>
+ # <priority config:type="integer">20</priority>
+ # <name>Repository name</name>
+ # <product_dir>/</product_dir>
+ # </listentry>
+ # ...
+ # </add_on_others>
+ # </add-on>
+ def Export
+ others = @add_on_others.map do |p|
+ { "media_url" => p["url"],
+ "alias" => p["alias"],
+ "priority" => p["priority"],
+ "name" => p["name"],
+ "product_dir" => p["product_dir"] }
+ end
+ { "add_on_others" => others }
+ end
+
+ publish function: :Export, type: "map ()"
+ publish function: :Read, type: "map()"
+ end
+
+ AddOnOthers = AddOnOthersClass.new
+ AddOnOthers.main
+end
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/test/addon_others_test.rb new/yast2-add-on-4.2.4/test/addon_others_test.rb
--- old/yast2-add-on-4.1.12/test/addon_others_test.rb 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-add-on-4.2.4/test/addon_others_test.rb 2019-07-26 12:49:51.000000000 +0200
@@ -0,0 +1,96 @@
+#! /usr/bin/env rspec
+
+require_relative "./test_helper"
+Yast.import "AddOnOthers"
+
+describe Yast::AddOnOthers do
+ subject { Yast::AddOnOthers }
+
+ let(:available_products) do
+ [ Y2Packager::Resolvable.new(kind: :product,
+ name: "SLE_RT", status: :available, source: 2 ),
+ Y2Packager::Resolvable.new(kind: :product,
+ name: "SLE_HPC", status: :available, source: 2 ),
+ Y2Packager::Resolvable.new(kind: :product,
+ name: "SLE_SAP", status: :available, source: 2 ),
+ Y2Packager::Resolvable.new(kind: :product,
+ name: "SLE_BCL", status: :available, source: 2 ),
+ Y2Packager::Resolvable.new(kind: :product,
+ name: "SLED", status: :available, source: 2 ),
+ Y2Packager::Resolvable.new(kind: :product,
+ name: "SUSE-Manager-Server", status: :available, source: 2 ),
+ Y2Packager::Resolvable.new(kind: :product,
+ name: "SUSE-Manager-Proxy", status: :available, source: 2 ),
+ Y2Packager::Resolvable.new(kind: :product,
+ name: "sle-module-desktop-applications", status: :available, source: 1 ),
+ Y2Packager::Resolvable.new(kind: :product,
+ name: "sle-module-basesystem", status: :available, source: 0 ),
+ Y2Packager::Resolvable.new(kind: :product,
+ name: "SLES", status: :available, source: 3 ),
+ Y2Packager::Resolvable.new(kind: :product,
+ name: "SLES", status: :available, source: 2 ),
+ Y2Packager::Resolvable.new(kind: :product,
+ name: "SUSE-Manager-Retail-Branch-Server", status: :available, source: 2 )
+ ]
+ end
+
+ let(:installed_products) do
+ [ Y2Packager::Resolvable.new(kind: :product,
+ name: "sle-module-desktop-applications", status: :installed, source: -1 ),
+ Y2Packager::Resolvable.new(kind: :product,
+ name: "sle-module-basesystem", status: :installed, source: -1 ),
+ Y2Packager::Resolvable.new(kind: :product,
+ name: "SLES", status: :installed, source: -1 ),
+ ]
+ end
+
+ let(:repo_hash) do
+ { "alias" => "user defined",
+ "url" => "http://xxx.url",
+ "name" => "user_defined",
+ "priority" => 19,
+ "product_dir" => "/"
+ }
+ end
+
+ before do
+ allow(Y2Packager::Resolvable).to receive(:find).with(kind: :product, status: :available)
+ .and_return(available_products)
+ allow(Y2Packager::Resolvable).to receive(:find).with(kind: :product, status: :installed)
+ .and_return(installed_products)
+ allow(Yast::Pkg).to receive(:SourceGetCurrent).with(true)
+ .and_return([0,1,2,3,4])
+ end
+
+ describe "#Read" do
+
+ context "installed products and add-ons are available" do
+
+ it "returns user defined repo only" do
+ expect(Yast::Pkg).to receive(:SourceGeneralData).with(4)
+ .and_return(repo_hash)
+ expect(Yast::AddOnOthers.Read).to eq([repo_hash])
+ end
+ end
+ end
+
+ describe "#Export" do
+
+ context "installed products and add-ons are available" do
+ let(:ret) do
+ { "media_url" => repo_hash["url"],
+ "alias" => repo_hash["alias"],
+ "priority" => repo_hash["priority"],
+ "name" => repo_hash["name"],
+ "product_dir" => repo_hash["product_dir"] }
+ end
+
+ it "returns an array of user defined repos in AY format" do
+ allow(Yast::Pkg).to receive(:SourceGeneralData).with(4)
+ .and_return(repo_hash)
+ Yast::AddOnOthers.Read()
+ expect(Yast::AddOnOthers.Export).to eq({ "add_on_others" => [ret] })
+ end
+ end
+ end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-add-on-4.1.12/test/y2add_on/clients/add-on_auto_test.rb new/yast2-add-on-4.2.4/test/y2add_on/clients/add-on_auto_test.rb
--- old/yast2-add-on-4.1.12/test/y2add_on/clients/add-on_auto_test.rb 2019-05-23 10:24:34.000000000 +0200
+++ new/yast2-add-on-4.2.4/test/y2add_on/clients/add-on_auto_test.rb 2019-07-26 12:49:51.000000000 +0200
@@ -8,7 +8,9 @@
describe Yast::AddOnAutoClient do
describe "#import" do
let(:params) do
- { "add_on_products" => add_on_products }
+ { "add_on_products" => add_on_products,
+ "add_on_others" => add_on_others
+ }
end
context "when 'add_on_products' param is NOT given" do
@@ -32,8 +34,21 @@
]
end
+ let(:add_on_others) do
+ [
+ {
+ "alias" => "user defined",
+ "media_url" => "http://xxx.url",
+ "name" => "user_defined",
+ "priority" => 19,
+ "product_dir" => "/"
+ }
+ ]
+ end
+
it "imports all add-on products given" do
- expect(Yast::AddOnProduct).to receive(:Import).with(params)
+ expect(Yast::AddOnProduct).to receive(:Import).with(
+ { "add_on_products" => add_on_products + add_on_others})
subject.import(params)
end
@@ -68,6 +83,7 @@
}
]
end
+ let(:add_on_others) { [] }
let(:rejected_package_error) { "Missing <media_url> value in the 2. add-on-product definition" }
let(:missed_media_url_error) { /Missing mandatory <media_url> value at index 2/ }
@@ -205,11 +221,23 @@
end
describe "#export" do
- # FIXME: use a more reallistic configuration data example
- it "returns configuration data" do
- allow(Yast::AddOnProduct).to receive(:Export).and_return("configuration data")
+ let(:add_on_products) do
+ {"add_on_products"=> [
+ { "product_dir"=>"/Module-Desktop-Applications",
+ "product"=>"sle-module-desktop-applications",
+ "media_url"=>"dvd:/?devices=/dev/sr1" },
+ { "product_dir"=>"/Module-Basesystem",
+ "product"=>"sle-module-basesystem",
+ "media_url"=>"dvd:/?devices=/dev/sr1" }
+ ]}
+ end
+ let(:add_on_others) { {"add_on_others"=>[]} }
+
+ it "returns add-on products and other user defined add-ons" do
+ expect(Yast::AddOnProduct).to receive(:Export).and_return(add_on_products)
+ expect(Yast::AddOnOthers).to receive(:Export).and_return(add_on_others)
- expect(subject.export).to eq("configuration data")
+ expect(subject.export).to eq(add_on_products.merge(add_on_others))
end
end
@@ -276,6 +304,7 @@
before do
allow(Yast::AddOnProduct).to receive(:add_on_products).and_return(add_on_products)
allow(Yast::Pkg).to receive(:SourceEditSet)
+ allow(Yast::Pkg).to receive(:SourceReleaseAll)
allow(Yast::Pkg).to receive(:SourceCreate).and_return(1)
allow(Yast::Pkg).to receive(:SourceEditGet).and_return(repos)
allow(Yast::Pkg).to receive(:ExpandedUrl)
@@ -320,6 +349,12 @@
subject.write
end
+
+ it "releases the media accessors" do
+ expect(Yast::Pkg).to receive(:SourceReleaseAll)
+
+ subject.write
+ end
end
end
1
0