Hello community,

here is the log from the commit of package openSUSE-release-tools for 
openSUSE:Factory checked in at 2017-12-05 01:30:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
 and      /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openSUSE-release-tools"

Tue Dec  5 01:30:45 2017 rev:27 rq:548150 version:20171204.4661a09

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
    2017-12-04 12:17:14.698697645 +0100
+++ 
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new/openSUSE-release-tools.changes
       2017-12-05 01:30:49.672013022 +0100
@@ -1,0 +2,8 @@
+Mon Dec 04 15:34:47 UTC 2017 - opensuse-releaset...@opensuse.org
+
+- Update to version 20171204.4661a09:
+  * rebuildpacs: Ignore some more multibuild packages
+  * repochecker: filter out self requirement
+  * repochecker: add --force and --limit-group options
+
+-------------------------------------------------------------------

Old:
----
  openSUSE-release-tools-20171204.86cd536.obscpio

New:
----
  openSUSE-release-tools-20171204.4661a09.obscpio

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

Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.Qi9G67/_old  2017-12-05 01:30:50.823971173 +0100
+++ /var/tmp/diff_new_pack.Qi9G67/_new  2017-12-05 01:30:50.827971028 +0100
@@ -20,7 +20,7 @@
 %define source_dir osc-plugin-factory
 %define announcer_filename factory-package-news
 Name:           openSUSE-release-tools
-Version:        20171204.86cd536
+Version:        20171204.4661a09
 Release:        0
 Summary:        Tools to aid in staging and release work for openSUSE/SUSE
 License:        GPL-2.0+ and MIT

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Qi9G67/_old  2017-12-05 01:30:50.891968703 +0100
+++ /var/tmp/diff_new_pack.Qi9G67/_new  2017-12-05 01:30:50.891968703 +0100
@@ -1,6 +1,6 @@
 <servicedata>
   <service name="tar_scm">
     <param 
name="url">https://github.com/openSUSE/osc-plugin-factory.git</param>
-    <param 
name="changesrevision">9f5a0aa079bc02ccc257624a152062a9973178a9</param>
+    <param 
name="changesrevision">4661a09b2f27676c1944bd47e7d19bb99f09058f</param>
   </service>
 </servicedata>

++++++ openSUSE-release-tools-20171204.86cd536.obscpio -> 
openSUSE-release-tools-20171204.4661a09.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openSUSE-release-tools-20171204.86cd536/rebuildpacs.pl 
new/openSUSE-release-tools-20171204.4661a09/rebuildpacs.pl
--- old/openSUSE-release-tools-20171204.86cd536/rebuildpacs.pl  2017-12-04 
09:56:47.000000000 +0100
+++ new/openSUSE-release-tools-20171204.4661a09/rebuildpacs.pl  2017-12-04 
16:28:22.000000000 +0100
@@ -268,7 +268,7 @@
 
     s,^\s*,,;
     # patterns are too spammy and rebuilding doesn't help
-    next if (grep { $_ eq $cproblem } qw(patterns-openSUSE 
installation-images:Kubic));
+    next if (grep { $_ eq $cproblem } qw(patterns-openSUSE 
installation-images:Kubic fftw3:gnu-openmpi-hpc hdf5:mvapich2 hdf5:openmpi 
scalapack:gnu-mvapich2-hpc scalapack:gnu-openmpi-hpc python-numpy:gnu-hpc 
petsc:serial netcdf:serial netcdf:openmpi netcdf:gnu-hpc netcdf:gnu-openmpi-hpc 
netcdf:gnu-mvapich2-hpc));
     $problems{$cproblem}->{$_} = 1;
 
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openSUSE-release-tools-20171204.86cd536/repo_checker.py 
new/openSUSE-release-tools-20171204.4661a09/repo_checker.py
--- old/openSUSE-release-tools-20171204.86cd536/repo_checker.py 2017-12-04 
09:56:47.000000000 +0100
+++ new/openSUSE-release-tools-20171204.4661a09/repo_checker.py 2017-12-04 
16:28:22.000000000 +0100
@@ -39,6 +39,8 @@
 
         # RepoChecker options.
         self.skip_cycle = False
+        self.force = False
+        self.limit_group = None
 
     def project_only(self, project, post_comments=False):
         # self.staging_config needed by target_archs().
@@ -46,7 +48,7 @@
 
         root = ET.fromstringlist(show_results_meta(
             self.apiurl, project, multibuild=True, repository=['standard']))
-        if len(root.xpath('result[@state!="published"]')):
+        if not self.force and len(root.xpath('result[@state!="published"]')):
             self.logger.info('{}/standard not published'.format(project))
             return
 
@@ -119,6 +121,9 @@
                 self.logger.debug('{}: not staged'.format(request.reqid))
                 continue
 
+            if self.limit_group and group != self.limit_group:
+                continue
+
             # Only interested if group has completed building.
             api = self.staging_api(request.actions[0].tgt_project)
             status = api.project_status(group, True)
@@ -136,7 +141,7 @@
                             openQA_only = False
                             break
 
-                if not openQA_only:
+                if not self.force and not openQA_only:
                     self.logger.debug('{}: {} not ready'.format(request.reqid, 
group))
                     continue
 
@@ -165,7 +170,7 @@
                 if info and self.groups_build[group] == info.get('build'):
                     skip_build.add(group)
 
-            if group in skip_build:
+            if not self.force and group in skip_build:
                 self.logger.debug('{}: {} build 
unchanged'.format(request.reqid, group))
                 continue
 
@@ -451,6 +456,12 @@
         # TODO Ignore tgt_project packages that depend on this that are part of
         # ignore list as and instead look at output from staging for those.
         what_depends_on = depends_on(self.apiurl, action.tgt_project, 
'standard', [action.tgt_package], True)
+
+        # filter out dependency on package itself (happens with eg
+        # java bootstrapping itself with previous build)
+        if action.tgt_package in what_depends_on:
+            what_depends_on.remove(action.tgt_package)
+
         if len(what_depends_on):
             self.logger.warn('{} is still a build requirement of 
{}'.format(action.tgt_package, ', '.join(what_depends_on)))
 
@@ -476,6 +487,8 @@
         parser = ReviewBot.CommandLineInterface.get_optparser(self)
 
         parser.add_option('--skip-cycle', action='store_true', help='skip 
cycle check')
+        parser.add_option('--force', action='store_true', help='force review 
even if project is not ready')
+        parser.add_option('--limit-group', metavar='GROUP', help='only review 
requests in specific group')
 
         return parser
 
@@ -485,6 +498,9 @@
         if self.options.skip_cycle:
             bot.skip_cycle = self.options.skip_cycle
 
+        bot.force = self.options.force
+        bot.limit_group = self.options.limit_group
+
         return bot
 
     @cmdln.option('--post-comments', action='store_true', help='post comments 
to packages with issues')

++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.Qi9G67/_old  2017-12-05 01:30:52.331916391 +0100
+++ /var/tmp/diff_new_pack.Qi9G67/_new  2017-12-05 01:30:52.331916391 +0100
@@ -1,5 +1,5 @@
 name: openSUSE-release-tools
-version: 20171204.86cd536
-mtime: 1512377807
-commit: 86cd536c4f7a9a10d61b2a91ae534fd8160cb763
+version: 20171204.4661a09
+mtime: 1512401302
+commit: 4661a09b2f27676c1944bd47e7d19bb99f09058f
 


Reply via email to