Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2020-11-29 12:25:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2" Sun Nov 29 12:25:30 2020 rev:499 rq:851314 version:4.3.44 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2020-11-13 18:57:24.582001914 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.5913/yast2.changes 2020-11-29 12:25:40.713835310 +0100 @@ -1,0 +2,20 @@ +Fri Nov 27 12:18:41 UTC 2020 - Ludwig Nussel <lnus...@suse.de> + +- prepare usrmerge: install legacy symlinks via spec file only (boo#1029961) + +------------------------------------------------------------------- +Thu Nov 26 13:35:52 UTC 2020 - Knut Anderssen <kanders...@suse.com> + +- CWM ComboBox: an editable ComboBox will not alter the list of + items when the current value is not part of the list as it uses + the original list which could be already modified (bsc#1177137) +- 4.3.43 + +------------------------------------------------------------------- +Tue Nov 24 22:03:19 UTC 2020 - Knut Anderssen <kanders...@suse.com> + +- CWM ComboBox: reverted the addition of the current_items method + (bsc#1177137) +- 4.3.42 + +------------------------------------------------------------------- Old: ---- yast2-4.3.41.tar.bz2 New: ---- yast2-4.3.44.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2.spec ++++++ --- /var/tmp/diff_new_pack.JAibCO/_old 2020-11-29 12:25:41.449836054 +0100 +++ /var/tmp/diff_new_pack.JAibCO/_new 2020-11-29 12:25:41.453836059 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version: 4.3.41 +Version: 4.3.44 Release: 0 Summary: YaST2 Main Package License: GPL-2.0-only @@ -171,6 +171,12 @@ %yast_install +%if !0%{?usrmerged} +mkdir -p %{buildroot}/sbin +ln -s ../%{_sbindir}/yast %{buildroot}/sbin +ln -s ../%{_sbindir}/yast2 %{buildroot}/sbin +%endif + # symlink the yardoc duplicates, saves over 2MB in installed system # (the RPM package size is decreased just by few kilobytes # because of the compression) @@ -232,7 +238,9 @@ %{_mandir}/*/* %doc %{yast_vardir}/hooks/README.md +%if !0%{?usrmerged} /sbin/yast* +%endif %{_sbindir}/yast* # wizard ++++++ yast2-4.3.41.tar.bz2 -> yast2-4.3.44.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.41/.github/workflows/ci.yml new/yast2-4.3.44/.github/workflows/ci.yml --- old/yast2-4.3.41/.github/workflows/ci.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-4.3.44/.github/workflows/ci.yml 2020-11-27 14:04:56.000000000 +0100 @@ -0,0 +1,89 @@ + +# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions + +name: CI + +on: [push, pull_request] + +jobs: + Tests: + runs-on: ubuntu-latest + container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + + steps: + + - name: Git Checkout + uses: actions/checkout@v1 + + # just for easier debugging... + - name: Inspect Installed Packages + run: rpm -qa | sort + + - name: Unit Tests + run: rake test:unit + env: + # enable code coverage reporting + COVERAGE: 1 + # English messages, UTF-8, "C" locale for numeric formatting tests + LC_ALL: + LANG: en_US.UTF-8 + LC_NUMERIC: C + + # send the coverage report to coveralls.io + - name: Coveralls Report + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + + Rubocop: + runs-on: ubuntu-latest + container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + + steps: + + - name: Git Checkout + uses: actions/checkout@v1 + + - name: Rubocop + run: rake check:rubocop + + Package: + runs-on: ubuntu-latest + container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + + steps: + + - name: Git Checkout + uses: actions/checkout@v1 + + - name: Package Build + run: yast-ci-ruby -o package + + Yardoc: + runs-on: ubuntu-latest + container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + + steps: + + - name: Git Checkout + uses: actions/checkout@v1 + + - name: Yardoc + run: yardoc + + # downloading the Docker image takes some time so bundling several fast + # checks into one job avoids that overhead + Checks: + runs-on: ubuntu-latest + container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + + steps: + + - name: Git Checkout + uses: actions/checkout@v1 + + - name: Perl Syntax + run: yast-ci-ruby -o perl_syntax + + - name: POT Check + run: rake check:pot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.41/.github/workflows/tests.yml new/yast2-4.3.44/.github/workflows/tests.yml --- old/yast2-4.3.41/.github/workflows/tests.yml 2020-11-12 10:36:52.000000000 +0100 +++ new/yast2-4.3.44/.github/workflows/tests.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,73 +0,0 @@ - -# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions - -name: CI - -on: [push, pull_request] - -jobs: - Tests: - runs-on: ubuntu-latest - container: registry.opensuse.org/yast/head/containers/yast-ruby:latest - - steps: - - - name: Git Checkout - uses: actions/checkout@v1 - - - name: Inspect Installed Packages - run: rpm -qa | sort - - - name: Unit Tests - run: rake test:unit - - Rubocop: - runs-on: ubuntu-latest - container: registry.opensuse.org/yast/head/containers/yast-ruby:latest - - steps: - - - name: Git Checkout - uses: actions/checkout@v1 - - - name: Inspect Installed Packages - run: rpm -qa | sort - - - name: Rubocop - run: rake check:rubocop - - Package_and_POT: - runs-on: ubuntu-latest - container: registry.opensuse.org/yast/head/containers/yast-ruby:latest - - steps: - - - name: Git Checkout - uses: actions/checkout@v1 - - - name: Inspect Installed Packages - run: rpm -qa | sort - - - name: Package Build - run: yast-travis-ruby -o package - - - name: POT Check - run: yast-travis-ruby -o pot - - Yardoc_and_Perl: - runs-on: ubuntu-latest - container: registry.opensuse.org/yast/head/containers/yast-ruby:latest - - steps: - - - name: Git Checkout - uses: actions/checkout@v1 - - - name: Inspect Installed Packages - run: rpm -qa | sort - - - name: Yardoc - run: yast-travis-ruby -o yardoc - - - name: Perl Syntax - run: yast-travis-ruby -o perl_syntax diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.41/.travis.yml new/yast2-4.3.44/.travis.yml --- old/yast2-4.3.41/.travis.yml 2020-11-12 10:36:52.000000000 +0100 +++ new/yast2-4.3.44/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -sudo: required -language: ruby -services: - - docker - -before_install: - # uses ./Dockerfile - - docker build -t yast-yast2-image . - # list the installed packages (just for easier debugging) - - docker run --rm -it yast-yast2-image rpm -qa | sort - -script: - # the "yast-travis-ruby" script is included in the base yastdevel/ruby image - # see https://github.com/yast/docker-yast-ruby/blob/master/yast-travis-ruby - - docker run -it -e TRAVIS=1 --privileged -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-yast2-image yast-travis-ruby diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.41/Dockerfile new/yast2-4.3.44/Dockerfile --- old/yast2-4.3.41/Dockerfile 2020-11-12 10:36:52.000000000 +0100 +++ new/yast2-4.3.44/Dockerfile 1970-01-01 01:00:00.000000000 +0100 @@ -1,8 +0,0 @@ -# Use this base image -# - built: https://registry.opensuse.org -# - source: https://github.com/yast/ci-ruby-container -FROM registry.opensuse.org/yast/head/containers/yast-ruby -COPY . /usr/src/app -# English messages, UTF-8, "C" locale for numeric formatting tests -ENV LC_ALL= LANG=en_US.UTF-8 LC_NUMERIC=C - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.41/README.md new/yast2-4.3.44/README.md --- old/yast2-4.3.41/README.md 2020-11-12 10:36:52.000000000 +0100 +++ new/yast2-4.3.44/README.md 2020-11-27 14:04:56.000000000 +0100 @@ -1,10 +1,11 @@ YaST - The Basic Libraries ========================== -[![Travis Build](https://travis-ci.org/yast/yast-yast2.svg?branch=master)](https://travis-ci.org/yast/yast-yast2) -[![CI](https://github.com/yast/yast-yast2/workflows/CI/badge.svg)](https://github.com/yast/yast-yast2/actions?query=workflow%3ACI) +[![Workflow Status](https://github.com/yast/yast-yast2/workflows/CI/badge.svg?branch=master)]( +https://github.com/yast/yast-yast2/actions?query=branch%3Amaster) +[![Jenkins Status](https://ci.opensuse.org/buildStatus/icon?job=yast-yast-yast2-master)]( +https://ci.opensuse.org/view/Yast/job/yast-yast-yast2-master/) [![Coverage Status](https://img.shields.io/coveralls/yast/yast-yast2.svg)](https://coveralls.io/r/yast/yast-yast2?branch=master) -[![Jenkins Build](http://img.shields.io/jenkins/s/https/ci.opensuse.org/yast-yast2-master.svg)](https://ci.opensuse.org/view/Yast/job/yast-yast2-master/) [![Code Climate](https://codeclimate.com/github/yast/yast-yast2/badges/gpa.svg)](https://codeclimate.com/github/yast/yast-yast2) This repository contains basic set of shared libraries and so-called SCR agents diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.41/Rakefile new/yast2-4.3.44/Rakefile --- old/yast2-4.3.41/Rakefile 2020-11-12 10:36:52.000000000 +0100 +++ new/yast2-4.3.44/Rakefile 2020-11-27 14:04:56.000000000 +0100 @@ -13,10 +13,3 @@ conf.install_locations["library/desktop/groups/*.desktop"] = File.join(Packaging::Configuration::DESTDIR, "/usr/share/applications/YaST2/groups/") conf.install_locations["library/general/hooks/README.md"] = File.join(Packaging::Configuration::DESTDIR, "/var/lib/YaST2/hooks/") end - -# define additional creation of legacy symlinks during installation -task :install do - sh "/usr/bin/mkdir -p #{Packaging::Configuration::DESTDIR}/sbin" - sh "/usr/bin/ln -s /usr/sbin/yast2 #{Packaging::Configuration::DESTDIR}/sbin/yast2" - sh "/usr/bin/ln -s /usr/sbin/yast #{Packaging::Configuration::DESTDIR}/sbin/yast" -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.41/library/cwm/src/lib/cwm/common_widgets.rb new/yast2-4.3.44/library/cwm/src/lib/cwm/common_widgets.rb --- old/yast2-4.3.41/library/cwm/src/lib/cwm/common_widgets.rb 2020-11-12 10:36:52.000000000 +0100 +++ new/yast2-4.3.44/library/cwm/src/lib/cwm/common_widgets.rb 2020-11-27 14:04:56.000000000 +0100 @@ -57,13 +57,6 @@ [] end - # List the current items offered in the widget - # - # @return [Array<Array(String,String)>] - def current_items - Yast::UI.QueryWidget(Id(widget_id), :Items) || [] - end - # @return [WidgetHash] def cwm_definition super.merge( @@ -191,26 +184,6 @@ include ValueBasedWidget include ItemsSelection abstract_method :label - - alias_method :orig_value=, :value= - - # Sets the current value - # - # If the given value is not in the list of items but the widget is editable, - # the item is added to the list. - # - # @param val [Object] Value to assign to the widget - def value=(val) - change_items([[val, val]] + current_items) if editable? && !current_items.map(&:first).include?(val) - - self.orig_value = val - end - - private - - def editable? - respond_to?(:opt) && opt.include?(:editable) - end end # Widget representing selection box to select value. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.41/library/cwm/test/common_widgets_test.rb new/yast2-4.3.44/library/cwm/test/common_widgets_test.rb --- old/yast2-4.3.41/library/cwm/test/common_widgets_test.rb 2020-11-12 10:36:52.000000000 +0100 +++ new/yast2-4.3.44/library/cwm/test/common_widgets_test.rb 2020-11-27 14:04:56.000000000 +0100 @@ -110,62 +110,3 @@ end end end - -describe CWM::ComboBox do - class MountPointSelector < CWM::ComboBox - def label - "" - end - - def opt - [:editable] - end - - def items - [["/", "/ (root)"]] - end - end - - class SelectorWithoutOpt < CWM::ComboBox - def label - "" - end - - def items - [["/", "/ (root)"]] - end - end - - describe "#value=" do - describe "when the widget is editable" do - subject { MountPointSelector.new } - - context "and there is no current items" do - it "adds the given value" do - expect(subject).to receive(:change_items).with([["/srv", "/srv"]]) - subject.value = "/srv" - end - end - - context "and there are current items" do - before do - allow(subject).to receive(:current_items).and_return(subject.items) - end - - it "adds the given value to the current list of items" do - expect(subject).to receive(:change_items).with([["/srv", "/srv"], ["/", "/ (root)"]]) - subject.value = "/srv" - end - end - end - - describe "when the widget is not editable" do - subject { SelectorWithoutOpt.new } - - it "does not add the given value to the current list of items" do - expect(subject).to_not receive(:change_items) - subject.value = "/srv" - end - end - end -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.41/package/yast2.changes new/yast2-4.3.44/package/yast2.changes --- old/yast2-4.3.41/package/yast2.changes 2020-11-12 10:36:52.000000000 +0100 +++ new/yast2-4.3.44/package/yast2.changes 2020-11-27 14:04:56.000000000 +0100 @@ -1,4 +1,24 @@ ------------------------------------------------------------------- +Fri Nov 27 12:18:41 UTC 2020 - Ludwig Nussel <lnus...@suse.de> + +- prepare usrmerge: install legacy symlinks via spec file only (boo#1029961) + +------------------------------------------------------------------- +Thu Nov 26 13:35:52 UTC 2020 - Knut Anderssen <kanders...@suse.com> + +- CWM ComboBox: an editable ComboBox will not alter the list of + items when the current value is not part of the list as it uses + the original list which could be already modified (bsc#1177137) +- 4.3.43 + +------------------------------------------------------------------- +Tue Nov 24 22:03:19 UTC 2020 - Knut Anderssen <kanders...@suse.com> + +- CWM ComboBox: reverted the addition of the current_items method + (bsc#1177137) +- 4.3.42 + +------------------------------------------------------------------- Wed Nov 11 22:25:45 UTC 2020 - Josef Reidinger <jreidin...@suse.com> - add methods to decide if hibernation should be proposed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.41/package/yast2.spec new/yast2-4.3.44/package/yast2.spec --- old/yast2-4.3.41/package/yast2.spec 2020-11-12 10:36:52.000000000 +0100 +++ new/yast2-4.3.44/package/yast2.spec 2020-11-27 14:04:56.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version: 4.3.41 +Version: 4.3.44 Release: 0 Summary: YaST2 Main Package License: GPL-2.0-only @@ -171,6 +171,12 @@ %yast_install +%if !0%{?usrmerged} +mkdir -p %{buildroot}/sbin +ln -s ../%{_sbindir}/yast %{buildroot}/sbin +ln -s ../%{_sbindir}/yast2 %{buildroot}/sbin +%endif + # symlink the yardoc duplicates, saves over 2MB in installed system # (the RPM package size is decreased just by few kilobytes # because of the compression) @@ -232,7 +238,9 @@ %{_mandir}/*/* %doc %{yast_vardir}/hooks/README.md +%if !0%{?usrmerged} /sbin/yast* +%endif %{_sbindir}/yast* # wizard diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.41/test/test_helper.rb new/yast2-4.3.44/test/test_helper.rb --- old/yast2-4.3.41/test/test_helper.rb 2020-11-12 10:36:52.000000000 +0100 +++ new/yast2-4.3.44/test/test_helper.rb 2020-11-27 14:04:56.000000000 +0100 @@ -40,12 +40,20 @@ # track all ruby files under src SimpleCov.track_files("#{top_location}/**/src/**/*.rb") - # use coveralls for on-line code coverage reporting at Travis CI - if ENV["TRAVIS"] - require "coveralls" + # additionally use the LCOV format for on-line code coverage reporting at CI + if ENV["CI"] || ENV["COVERAGE_LCOV"] + require "simplecov-lcov" + + SimpleCov::Formatter::LcovFormatter.config do |c| + c.report_with_single_file = true + # this is the default Coveralls GitHub Action location + # https://github.com/marketplace/actions/coveralls-github-action + c.single_report_path = "coverage/lcov.info" + end + SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, - Coveralls::SimpleCov::Formatter + SimpleCov::Formatter::LcovFormatter ] end end _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org