Hello community, here is the log from the commit of package yast2-installation for openSUSE:Factory checked in at 2015-02-08 13:02:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old) and /work/SRC/openSUSE:Factory/.yast2-installation.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-installation" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes 2015-02-06 10:54:54.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-installation.new/yast2-installation.changes 2015-02-08 13:02:53.000000000 +0100 @@ -1,0 +2,13 @@ +Fri Feb 6 12:56:53 UTC 2015 - ancor@suse.com + +- The unit tests are now compatible with RSpec 3 (bnc#916364) +- 3.1.131 + +------------------------------------------------------------------- +Wed Feb 4 13:15:43 UTC 2015 - lslezak@suse.cz + +- support custom display number in "display_ip" boot option + (bnc#913888) +- 3.1.130 + +------------------------------------------------------------------- Old: ---- yast2-installation-3.1.129.tar.bz2 New: ---- yast2-installation-3.1.131.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-installation.spec ++++++ --- /var/tmp/diff_new_pack.CYbT8L/_old 2015-02-08 13:02:54.000000000 +0100 +++ /var/tmp/diff_new_pack.CYbT8L/_new 2015-02-08 13:02:54.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-installation -Version: 3.1.129 +Version: 3.1.131 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-installation-3.1.129.tar.bz2 -> yast2-installation-3.1.131.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.129/package/yast2-installation.changes new/yast2-installation-3.1.131/package/yast2-installation.changes --- old/yast2-installation-3.1.129/package/yast2-installation.changes 2015-02-03 11:24:10.000000000 +0100 +++ new/yast2-installation-3.1.131/package/yast2-installation.changes 2015-02-06 14:45:09.000000000 +0100 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Fri Feb 6 12:56:53 UTC 2015 - ancor@suse.com + +- The unit tests are now compatible with RSpec 3 (bnc#916364) +- 3.1.131 + +------------------------------------------------------------------- +Wed Feb 4 13:15:43 UTC 2015 - lslezak@suse.cz + +- support custom display number in "display_ip" boot option + (bnc#913888) +- 3.1.130 + +------------------------------------------------------------------- Tue Feb 3 11:11:49 CET 2015 - schubi@suse.de - AutoYaST: If the system starts in multi-user mode plymouth will diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.129/package/yast2-installation.spec new/yast2-installation-3.1.131/package/yast2-installation.spec --- old/yast2-installation-3.1.129/package/yast2-installation.spec 2015-02-03 11:24:10.000000000 +0100 +++ new/yast2-installation-3.1.131/package/yast2-installation.spec 2015-02-06 14:45:09.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-installation -Version: 3.1.129 +Version: 3.1.131 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.129/startup/YaST2.call new/yast2-installation-3.1.131/startup/YaST2.call --- old/yast2-installation-3.1.129/startup/YaST2.call 2015-02-03 11:24:10.000000000 +0100 +++ new/yast2-installation-3.1.131/startup/YaST2.call 2015-02-06 14:45:09.000000000 +0100 @@ -488,8 +488,16 @@ # 3.1.7) Check for remote display usage if [ ! -z $Display_IP ];then log "\tRemote Display usage -> Medium Qt enabled" - log "\tExporting DISPLAY to host: $Display_IP:0.0" - export DISPLAY="$Display_IP:0.0" + # check if a display is defined, check for ":<display>[.<screen>]" suffix + # Note: IPv6 address needs to be enclosed in square brackets because + # it uses ':' delimiter which can cause ambiguity + SCREEN_REGEX="(^([^:]+|[.*]):[0-9]+(|.[0-9]+)$)" + if [[ $Display_IP =~ $SCREEN_REGEX ]]; then + export DISPLAY="$Display_IP" + else + export DISPLAY="$Display_IP:0.0" + fi + log "\tExporting DISPLAY: $DISPLAY" NEED_XSERVER="" MEDIUM[0]=1 fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.129/test/image_installation_test.rb new/yast2-installation-3.1.131/test/image_installation_test.rb --- old/yast2-installation-3.1.129/test/image_installation_test.rb 2015-02-03 11:24:11.000000000 +0100 +++ new/yast2-installation-3.1.131/test/image_installation_test.rb 2015-02-06 14:45:09.000000000 +0100 @@ -35,8 +35,8 @@ [KDE4_PATTERNS, GNOME_PATTERNS, X11_PATTERNS, BASE_PATTERNS].each do |patterns| Yast::ImageInstallation.FreeInternalVariables() - expect(Yast::ImageInstallation.FindImageSet(patterns)).to be_true - expect(Yast::Installation.image_installation).to be_true + expect(Yast::ImageInstallation.FindImageSet(patterns)).to eq(true) + expect(Yast::Installation.image_installation).to eq(true) expect(Yast::ImageInstallation.selected_images["archs"]).to eq(arch) end end @@ -47,8 +47,8 @@ Yast::Arch.stub(:arch_short).and_return(NON_MATCHING_ARCH) Yast::ImageInstallation.FreeInternalVariables() - expect(Yast::ImageInstallation.FindImageSet(patterns)).to be_true - expect(Yast::Installation.image_installation).to be_false + expect(Yast::ImageInstallation.FindImageSet(patterns)).to eq(true) + expect(Yast::Installation.image_installation).to eq(false) expect(Yast::ImageInstallation.selected_images).to be_empty end end @@ -60,8 +60,8 @@ [NON_MATCHING_PATTERNS_2, NON_MATCHING_PATTERNS_2].each do |patterns| Yast::ImageInstallation.FreeInternalVariables() - expect(Yast::ImageInstallation.FindImageSet(patterns)).to be_true - expect(Yast::Installation.image_installation).to be_false + expect(Yast::ImageInstallation.FindImageSet(patterns)).to eq(true) + expect(Yast::Installation.image_installation).to eq(false) expect(Yast::ImageInstallation.selected_images).to be_empty end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-3.1.129/test/inst_functions_test.rb new/yast2-installation-3.1.131/test/inst_functions_test.rb --- old/yast2-installation-3.1.129/test/inst_functions_test.rb 2015-02-03 11:24:11.000000000 +0100 +++ new/yast2-installation-3.1.131/test/inst_functions_test.rb 2015-02-06 14:45:09.000000000 +0100 @@ -112,42 +112,42 @@ linuxrc_commandline = "trash=install ignore_features=feature1 ignored_features=feature2 ignore_features=feature3" Yast::Linuxrc.stub(:InstallInf).and_return(linuxrc_commandline) - expect(Yast::InstFunctions.feature_ignored?("feature2")).to be_true + expect(Yast::InstFunctions.feature_ignored?("feature2")).to eq(true) end it "should be true if feature is exactly on commandline using up/down case" do linuxrc_commandline = "trash=install ignore_features=fEAture1 igno-RED_features=f-eatuRE_2 ignore_features=feature3" Yast::Linuxrc.stub(:InstallInf).and_return(linuxrc_commandline) - expect(Yast::InstFunctions.feature_ignored?("f-e-a-t-u-r-e-2")).to be_true + expect(Yast::InstFunctions.feature_ignored?("f-e-a-t-u-r-e-2")).to eq(true) end it "should be true if feature is set on commandline with dashes and underscores" do linuxrc_commandline = "trash=install ignore_features=feature1 ignored_features=feature2 ignore_features=feature3" Yast::Linuxrc.stub(:InstallInf).and_return(linuxrc_commandline) - expect(Yast::InstFunctions.feature_ignored?("f-e-a-t-u-r-e_2")).to be_true + expect(Yast::InstFunctions.feature_ignored?("f-e-a-t-u-r-e_2")).to eq(true) end it "should be false if feature is not set on commandline" do linuxrc_commandline = "trash=install ignore_features=feature1 ignored_features=feature2 ignore_features=feature3" Yast::Linuxrc.stub(:InstallInf).and_return(linuxrc_commandline) - expect(Yast::InstFunctions.feature_ignored?("no-such-feature")).to be_false + expect(Yast::InstFunctions.feature_ignored?("no-such-feature")).to eq(false) end it "should be false if feature to check is empty" do linuxrc_commandline = "trash=install ignore_features=feature1 ignored_features=feature2 ignore_features=feature3" Yast::Linuxrc.stub(:InstallInf).and_return(linuxrc_commandline) - expect(Yast::InstFunctions.feature_ignored?("")).to be_false + expect(Yast::InstFunctions.feature_ignored?("")).to eq(false) end it "should be false if feature to check is undefined" do linuxrc_commandline = "trash=install ignore_features=feature1 ignored_features=feature2 ignore_features=feature3" Yast::Linuxrc.stub(:InstallInf).and_return(linuxrc_commandline) - expect(Yast::InstFunctions.feature_ignored?(nil)).to be_false + expect(Yast::InstFunctions.feature_ignored?(nil)).to eq(false) end it "should be true if feature is mentioned as a separate install.inf entry or in Cmdline" do @@ -163,7 +163,7 @@ stub_install_inf(install_inf) ["f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8"].each do |key| - expect(Yast::InstFunctions.feature_ignored?(key)).to be_true, "Key #{key} is not ignored" + expect(Yast::InstFunctions.feature_ignored?(key)).to eq(true), "Key #{key} is not ignored" end end @@ -179,6 +179,6 @@ } stub_install_inf(install_inf) - expect(Yast::InstFunctions.feature_ignored?("f9")).to be_false + expect(Yast::InstFunctions.feature_ignored?("f9")).to eq(false) end end -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org