Hello community,

here is the log from the commit of package autoyast2 for openSUSE:Factory 
checked in at 2020-11-29 12:20:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old)
 and      /work/SRC/openSUSE:Factory/.autoyast2.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "autoyast2"

Sun Nov 29 12:20:45 2020 rev:293 rq:851294 version:4.3.63

Changes:
--------
--- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes      2020-10-24 
15:15:17.616089632 +0200
+++ /work/SRC/openSUSE:Factory/.autoyast2.new.5913/autoyast2.changes    
2020-11-29 12:20:52.737544046 +0100
@@ -1,0 +2,7 @@
+Thu Nov 26 08:57:27 UTC 2020 - Stefan Schubert <sch...@suse.de>
+
+- Rules download: The result will be stored in the target file when
+  the download has failed. This file has to be removed (bsc#1178804)
+- 4.3.63
+
+-------------------------------------------------------------------

Old:
----
  autoyast2-4.3.62.tar.bz2

New:
----
  autoyast2-4.3.63.tar.bz2

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

Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.Tf3ThZ/_old  2020-11-29 12:20:53.713545033 +0100
+++ /var/tmp/diff_new_pack.Tf3ThZ/_new  2020-11-29 12:20:53.717545037 +0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.3.62
+Version:        4.3.63
 Release:        0
 Summary:        YaST2 - Automated Installation
 License:        GPL-2.0-only

++++++ autoyast2-4.3.62.tar.bz2 -> autoyast2-4.3.63.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.3.62/.github/workflows/ci.yml 
new/autoyast2-4.3.63/.github/workflows/ci.yml
--- old/autoyast2-4.3.62/.github/workflows/ci.yml       1970-01-01 
01:00:00.000000000 +0100
+++ new/autoyast2-4.3.63/.github/workflows/ci.yml       2020-11-27 
12:16:05.000000000 +0100
@@ -0,0 +1,88 @@
+
+# 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
+      # enable code coverage reporting
+      env:
+        COVERAGE: 1
+
+    # 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: rake check:doc
+
+  # 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
+
+    - name: Check RNC files
+      run: ./check_schema.sh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.3.62/.travis.yml 
new/autoyast2-4.3.63/.travis.yml
--- old/autoyast2-4.3.62/.travis.yml    2020-10-21 10:49:36.000000000 +0200
+++ new/autoyast2-4.3.63/.travis.yml    1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-sudo: required
-language: bash
-services:
-  - docker
-
-before_install:
-  - docker build -t yast-autoyast-image .
-  # list the installed packages (just for easier debugging)
-  - docker run --rm -it yast-autoyast-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 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" 
yast-autoyast-image yast-travis-ruby
-  - docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" 
yast-autoyast-image rake check:doc
-  - docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" 
yast-autoyast-image ./check_schema.sh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.3.62/Dockerfile 
new/autoyast2-4.3.63/Dockerfile
--- old/autoyast2-4.3.62/Dockerfile     2020-10-21 10:49:36.000000000 +0200
+++ new/autoyast2-4.3.63/Dockerfile     1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-FROM registry.opensuse.org/yast/head/containers/yast-ruby:latest
-RUN zypper --gpg-auto-import-keys --non-interactive in --no-recommends \
-  trang \
-  libxml2-tools \
-  libxslt-tools \
-  yast2-installation-control \
-  yast2-update
-COPY . /usr/src/app
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.3.62/README.md 
new/autoyast2-4.3.63/README.md
--- old/autoyast2-4.3.62/README.md      2020-10-21 10:49:36.000000000 +0200
+++ new/autoyast2-4.3.63/README.md      2020-11-27 12:16:05.000000000 +0100
@@ -1,8 +1,10 @@
 YaST - The AutoYaST Framework
 =============================
 
-[![Travis 
Build](https://travis-ci.org/yast/yast-autoinstallation.svg?branch=master)](https://travis-ci.org/yast/yast-autoinstallation)
-[![Jenkins 
Build](http://img.shields.io/jenkins/s/https/ci.opensuse.org/yast-autoinstallation-master.svg)](https://ci.opensuse.org/view/Yast/job/yast-autoinstallation-master/)
+[![Workflow 
Status](https://github.com/yast/yast-autoinstallation/workflows/CI/badge.svg?branch=master)](
+https://github.com/yast/yast-autoinstallation/actions?query=branch%3Amaster)
+[![Jenkins 
Status](https://ci.opensuse.org/buildStatus/icon?job=yast-yast-autoinstallation-master)](
+https://ci.opensuse.org/view/Yast/job/yast-yast-autoinstallation-master/)
 [![Coverage 
Status](https://coveralls.io/repos/github/yast/yast-autoinstallation/badge.svg?branch=master)](https://coveralls.io/github/yast/yast-autoinstallation?branch=master)
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.3.62/package/autoyast2.changes 
new/autoyast2-4.3.63/package/autoyast2.changes
--- old/autoyast2-4.3.62/package/autoyast2.changes      2020-10-21 
10:49:36.000000000 +0200
+++ new/autoyast2-4.3.63/package/autoyast2.changes      2020-11-27 
12:16:05.000000000 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Thu Nov 26 08:57:27 UTC 2020 - Stefan Schubert <sch...@suse.de>
+
+- Rules download: The result will be stored in the target file when
+  the download has failed. This file has to be removed (bsc#1178804)
+- 4.3.63
+
+-------------------------------------------------------------------
 Wed Oct 21 06:09:04 UTC 2020 - Imobach Gonzalez Sosa <igonzalezs...@suse.com>
 
 - AutoYaST warnings timeout applies to the XML validation error
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.3.62/package/autoyast2.spec 
new/autoyast2-4.3.63/package/autoyast2.spec
--- old/autoyast2-4.3.62/package/autoyast2.spec 2020-10-21 10:49:36.000000000 
+0200
+++ new/autoyast2-4.3.63/package/autoyast2.spec 2020-11-27 12:16:05.000000000 
+0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.3.62
+Version:        4.3.63
 Release:        0
 Summary:        YaST2 - Automated Installation
 License:        GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.3.62/src/modules/AutoInstallRules.rb 
new/autoyast2-4.3.63/src/modules/AutoInstallRules.rb
--- old/autoyast2-4.3.62/src/modules/AutoInstallRules.rb        2020-10-21 
10:49:36.000000000 +0200
+++ new/autoyast2-4.3.63/src/modules/AutoInstallRules.rb        2020-11-27 
12:16:05.000000000 +0100
@@ -844,6 +844,9 @@
               "Error while fetching file:  %1",
               Ops.add(Ops.add(directory, "/"), file)
             )
+            # Download has produced an error which is stored in the target
+            # file --> delete it.
+            ::FileUtils.rm(localfile) if ::File.exist?(localfile)
           else
             stop = true if @Behaviour == :one
             valid = Builtins.add(valid, file)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.3.62/src/modules/ProfileLocation.rb 
new/autoyast2-4.3.63/src/modules/ProfileLocation.rb
--- old/autoyast2-4.3.62/src/modules/ProfileLocation.rb 2020-10-21 
10:49:36.000000000 +0200
+++ new/autoyast2-4.3.63/src/modules/ProfileLocation.rb 2020-11-27 
12:16:05.000000000 +0100
@@ -197,6 +197,13 @@
         false
       end
 
+      # Download has produced an error which is stored in the target
+      # file --> delete it.
+      if !ret && ::File.exist?(AutoinstConfig.local_rules_file)
+        log.info("cleanup #{AutoinstConfig.local_rules_file}")
+        ::FileUtils.rm(AutoinstConfig.local_rules_file)
+      end
+
       if ret
         AutoInstallRules.userrules = true
       else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.3.62/test/test_helper.rb 
new/autoyast2-4.3.63/test/test_helper.rb
--- old/autoyast2-4.3.62/test/test_helper.rb    2020-10-21 10:49:36.000000000 
+0200
+++ new/autoyast2-4.3.63/test/test_helper.rb    2020-11-27 12:16:05.000000000 
+0100
@@ -24,12 +24,20 @@
   # track all ruby files under src
   SimpleCov.track_files("#{src_location}/**/*.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

Reply via email to