Hello community, here is the log from the commit of package yast2-storage for openSUSE:Factory checked in at 2014-12-03 22:52:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-storage (Old) and /work/SRC/openSUSE:Factory/.yast2-storage.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-storage" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-storage/yast2-storage.changes 2014-10-15 21:58:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-storage.new/yast2-storage.changes 2014-12-03 22:52:32.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Nov 28 16:14:01 CET 2014 - aschn...@suse.de + +- fixed tmpfs handling in GetDiskPartition (bsc#902385) +- version 3.1.50 + +------------------------------------------------------------------- Old: ---- yast2-storage-3.1.49.tar.bz2 New: ---- yast2-storage-3.1.50.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-storage.spec ++++++ --- /var/tmp/diff_new_pack.IWq1oB/_old 2014-12-03 22:52:35.000000000 +0100 +++ /var/tmp/diff_new_pack.IWq1oB/_new 2014-12-03 22:52:35.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-storage -Version: 3.1.49 +Version: 3.1.50 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-storage-3.1.49.tar.bz2 -> yast2-storage-3.1.50.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.49/.travis.yml new/yast2-storage-3.1.50/.travis.yml --- old/yast2-storage-3.1.49/.travis.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-storage-3.1.50/.travis.yml 2014-12-01 14:43:13.000000000 +0100 @@ -0,0 +1,16 @@ +language: cpp +compiler: + - gcc +before_install: + # disable rvm, use system Ruby + - rvm reset + - wget https://raw.githubusercontent.com/yast/yast-devtools/master/travis-tools/travis_setup.sh + - sh ./travis_setup.sh -p "rake yast2-core-dev yast2 yast2-devtools doxygen yast2-testsuite libstorage5-dev libstorage5-ruby ruby-dbus" -g "rspec:2.14.1 yast-rake gettext" +script: + - rake check:syntax + - rake check:pot + - make -f Makefile.cvs + - make -j 4 + - sudo make install + - make check + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.49/README.md new/yast2-storage-3.1.50/README.md --- old/yast2-storage-3.1.49/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-storage-3.1.50/README.md 2014-12-01 14:43:13.000000000 +0100 @@ -0,0 +1,7 @@ +## YaST - Storage Library + +[![Travis Build](https://travis-ci.org/yast/yast-storage.svg?branch=master)](https://travis-ci.org/yast/yast-storage) +[![Jenkins Build](http://img.shields.io/jenkins/s/https/ci.opensuse.org/yast-storage-master.svg)](https://ci.opensuse.org/view/Yast/job/yast-storage-master/) + +This is a YaST storage library, it uses [`libstorage`](https://github.com/openSUSE/libstorage) backend. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.49/package/yast2-storage.changes new/yast2-storage-3.1.50/package/yast2-storage.changes --- old/yast2-storage-3.1.49/package/yast2-storage.changes 2014-10-14 12:03:13.000000000 +0200 +++ new/yast2-storage-3.1.50/package/yast2-storage.changes 2014-12-01 14:43:13.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Nov 28 16:14:01 CET 2014 - aschn...@suse.de + +- fixed tmpfs handling in GetDiskPartition (bsc#902385) +- version 3.1.50 + +------------------------------------------------------------------- Mon Oct 13 10:00:51 CEST 2014 - aschn...@suse.de - fixed setting disk label on multipath devices (bsc#898525) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.49/package/yast2-storage.spec new/yast2-storage-3.1.50/package/yast2-storage.spec --- old/yast2-storage-3.1.49/package/yast2-storage.spec 2014-10-14 12:03:13.000000000 +0200 +++ new/yast2-storage-3.1.50/package/yast2-storage.spec 2014-12-01 14:43:13.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-storage -Version: 3.1.49 +Version: 3.1.50 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.49/src/modules/Storage.rb new/yast2-storage-3.1.50/src/modules/Storage.rb --- old/yast2-storage-3.1.49/src/modules/Storage.rb 2014-10-14 12:03:13.000000000 +0200 +++ new/yast2-storage-3.1.50/src/modules/Storage.rb 2014-12-01 14:43:14.000000000 +0100 @@ -556,7 +556,13 @@ Builtins.size(ls), ls ) - if Ops.greater_or_equal(Builtins.size(ls), 4) && + + if device == "/dev/tmpfs" + ret = [ { "disk" => "/dev/tmpfs", "nr" => "" } ] + elsif device == "tmpfs" + # TODO multiple mount points issues unfixable + ret = [ { "disk" => "/dev/tmpfs", "nr" => "tmpfs" } ] + elsif Ops.greater_or_equal(Builtins.size(ls), 4) && Ops.get(ls, 1, "") == "disk" && Builtins.contains( ["by-id", "by-path", "by-uuid", "by-label"], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.49/test/Makefile.am new/yast2-storage-3.1.50/test/Makefile.am --- old/yast2-storage-3.1.49/test/Makefile.am 2014-10-14 12:03:13.000000000 +0200 +++ new/yast2-storage-3.1.50/test/Makefile.am 2014-12-01 14:43:14.000000000 +0100 @@ -2,7 +2,9 @@ # Makefile.am for storage/test # -TESTS = storage_utils_configure_snapper_test.rb +TESTS = \ + storage_utils_configure_snapper_test.rb \ + storage_get_disk_partition.rb TEST_EXTENSIONS = .rb RB_LOG_COMPILER = rspec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.49/test/storage_get_disk_partition.rb new/yast2-storage-3.1.50/test/storage_get_disk_partition.rb --- old/yast2-storage-3.1.49/test/storage_get_disk_partition.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-storage-3.1.50/test/storage_get_disk_partition.rb 2014-12-01 14:43:14.000000000 +0100 @@ -0,0 +1,41 @@ +#!/usr/bin/env rspec + +ENV["Y2DIR"] = File.expand_path("../../src", __FILE__) + +require "yast" + +Yast.import "Storage" + + +describe "Storage#GetDiskPartition" do + + + it "call for /dev/tmpfs" do + + data = { + "disk" => "/dev/tmpfs", + "nr" => "" + } + + Yast::Storage.InitLibstorage(true) + + expect(Yast::Storage.GetDiskPartition("/dev/tmpfs")).to eq(data) + + end + + + it "call for tmpfs" do + + data = { + "disk" => "/dev/tmpfs", + "nr" => "tmpfs" + } + + Yast::Storage.InitLibstorage(true) + + expect(Yast::Storage.GetDiskPartition("tmpfs")).to eq(data) + + end + + +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-storage-3.1.49/test/storage_utils_configure_snapper_test.rb new/yast2-storage-3.1.50/test/storage_utils_configure_snapper_test.rb --- old/yast2-storage-3.1.49/test/storage_utils_configure_snapper_test.rb 2014-10-14 12:03:13.000000000 +0200 +++ new/yast2-storage-3.1.50/test/storage_utils_configure_snapper_test.rb 2014-12-01 14:43:14.000000000 +0100 @@ -1,10 +1,11 @@ -#!/usr/bin/rspec +#!/usr/bin/env rspec ENV["Y2DIR"] = File.expand_path("../../src", __FILE__) require "yast" Yast.import "StorageUtils" +Yast.import "Storage" describe "StorageUtils#ConfigureSnapper" do -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org