Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-packaging_rake_tasks for 
openSUSE:Factory checked in at 2021-04-06 17:28:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-packaging_rake_tasks (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-packaging_rake_tasks.new.2401 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-packaging_rake_tasks"

Tue Apr  6 17:28:43 2021 rev:25 rq:881287 version:1.5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-packaging_rake_tasks/rubygem-packaging_rake_tasks.changes
        2021-03-10 08:47:50.934306431 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-packaging_rake_tasks.new.2401/rubygem-packaging_rake_tasks.changes
      2021-04-06 17:28:47.279056344 +0200
@@ -1,0 +2,9 @@
+Wed Mar 24 12:02:40 UTC 2021 - Ladislav Slez??k <[email protected]>
+
+- Some rake tasks improvements (bsc#1183957):
+  - Added "rake osc:config" task
+  - Allow skipping part of the Git commit check with
+    CHECK_MODIFIED=0 option
+- 1.5.0
+
+-------------------------------------------------------------------

Old:
----
  packaging_rake_tasks-1.4.15.gem

New:
----
  packaging_rake_tasks-1.5.0.gem

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

Other differences:
------------------
++++++ rubygem-packaging_rake_tasks.spec ++++++
--- /var/tmp/diff_new_pack.45VhMm/_old  2021-04-06 17:28:47.687056805 +0200
+++ /var/tmp/diff_new_pack.45VhMm/_new  2021-04-06 17:28:47.687056805 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           rubygem-packaging_rake_tasks
-Version:        1.4.15
+Version:        1.5.0
 Release:        0
 %define mod_name packaging_rake_tasks
 %define mod_full_name %{mod_name}-%{version}

++++++ packaging_rake_tasks-1.4.15.gem -> packaging_rake_tasks-1.5.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/VERSION new/VERSION
--- old/VERSION 2020-12-01 10:20:18.000000000 +0100
+++ new/VERSION 2020-12-01 10:20:18.000000000 +0100
@@ -1 +1 @@
-1.4.15
+1.5.0
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/packaging/configuration.rb 
new/lib/packaging/configuration.rb
--- old/lib/packaging/configuration.rb  2020-12-01 10:20:18.000000000 +0100
+++ new/lib/packaging/configuration.rb  2020-12-01 10:20:18.000000000 +0100
@@ -80,5 +80,18 @@
       return @version = File.read(versions.first).strip unless versions.empty?
       raise "cannot find version" #TODO more heuristic
     end
+
+    # configuration summary
+    # @return [Array<String>] human readable summary
+    def summary
+      [
+        "Package directory: #{package_dir}",
+        "OBS instance:      #{obs_api}",
+        "OBS project:       #{obs_project}",
+        "OBS package name:  #{package_name}",
+        "OBS build target:  #{build_dist}",
+        "OBS submit target: #{obs_sr_project}"
+      ]
+    end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/tasks/check_committed.rake 
new/lib/tasks/check_committed.rake
--- old/lib/tasks/check_committed.rake  2020-12-01 10:20:18.000000000 +0100
+++ new/lib/tasks/check_committed.rake  2020-12-01 10:20:18.000000000 +0100
@@ -16,7 +16,7 @@
 
 
 namespace :check do
-  desc "check if everything is commited to git repository"
+  desc "check if everything is committed to git repository"
   task :committed do
     ignored = `git ls-files -o --exclude-standard .`
 
@@ -26,12 +26,17 @@
       raise "New files missing in git (or add them to to 
.gitignore):\n#{ignored}\n\n"
     end
 
+    if ENV["CHECK_MODIFIED"] == "0" || ENV["CHECK_MODIFIED"] == "false"
+      puts "WARNING: Skipping modified files check!"
+      next
+    end
+
     modified = `git ls-files -m --exclude-standard .`
 
     raise "git ls-files failed." unless $?.exitstatus.zero?
 
     if ! modified.empty?
-      raise "Modified files not commited:\n#{modified}"
+      raise "Modified files not committed:\n#{modified}"
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/tasks/osc.rake new/lib/tasks/osc.rake
--- old/lib/tasks/osc.rake      2020-12-01 10:20:18.000000000 +0100
+++ new/lib/tasks/osc.rake      2020-12-01 10:20:18.000000000 +0100
@@ -227,7 +227,7 @@
     desc "Create submit request from devel project to target project without 
any other packaging or checking"
     task :force do
       # wait for the server service to finish to avoid "service in progress"
-      # error when creating a SR for a freshly commited package
+      # error when creating a SR for a freshly committed package
       puts "Waiting for the server side service..."
       sh "osc", "-A", obs_api, "service", "wait", obs_project, package_name
 
@@ -239,4 +239,9 @@
       end
     end
   end
+
+  desc "Print the current packaging configuration"
+  task :config do
+    puts Packaging::Configuration.instance.summary.join("\n")
+  end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2021-02-26 12:57:06.000000000 +0100
+++ new/metadata        2021-03-25 10:23:50.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: packaging_rake_tasks
 version: !ruby/object:Gem::Version
-  version: 1.4.15
+  version: 1.5.0
 platform: ruby
 authors:
 - Josef Reidinger
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2021-02-26 00:00:00.000000000 Z
+date: 2021-03-25 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rake

Reply via email to