Hello community,

here is the log from the commit of package openSUSE-release-tools for 
openSUSE:Factory checked in at 2017-10-20 14:47:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
 and      /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openSUSE-release-tools"

Fri Oct 20 14:47:22 2017 rev:9 rq:535325 version:20171019.be5b3ec

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
    2017-10-19 19:33:18.085606882 +0200
+++ 
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new/openSUSE-release-tools.changes
       2017-10-20 14:47:24.235941149 +0200
@@ -1,0 +2,6 @@
+Thu Oct 19 19:58:00 UTC 2017 - opensuse-releaset...@opensuse.org
+
+- Update to version 20171019.be5b3ec:
+  * devel-project: utilize get_request_list(withfullhistory) param provided by 
osc 0.160.0.
+
+-------------------------------------------------------------------

Old:
----
  openSUSE-release-tools-20171018.44e44a6.obscpio

New:
----
  openSUSE-release-tools-20171019.be5b3ec.obscpio

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

Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.cU3euv/_old  2017-10-20 14:47:27.551786091 +0200
+++ /var/tmp/diff_new_pack.cU3euv/_new  2017-10-20 14:47:27.555785904 +0200
@@ -20,7 +20,7 @@
 %define source_dir osc-plugin-factory
 %define announcer_filename factory-package-news
 Name:           openSUSE-release-tools
-Version:        20171018.44e44a6
+Version:        20171019.be5b3ec
 Release:        0
 Summary:        Tools to aid in staging and release work for openSUSE/SUSE
 License:        GPL-2.0+ and MIT
@@ -225,7 +225,8 @@
 Summary:        OSC plugin for the staging workflow
 Group:          Development/Tools/Other
 BuildArch:      noarch
-Requires:       osc >= 0.159.0
+# devel-project.py needs 0.160.0 for get_request_list(withfullhistory) param.
+Requires:       osc >= 0.160.0
 Requires:       osclib = %{version}
 
 %description -n osc-plugin-staging

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.cU3euv/_old  2017-10-20 14:47:27.599783847 +0200
+++ /var/tmp/diff_new_pack.cU3euv/_new  2017-10-20 14:47:27.603783660 +0200
@@ -1,6 +1,6 @@
 <servicedata>
   <service name="tar_scm">
     <param 
name="url">https://github.com/openSUSE/osc-plugin-factory.git</param>
-    <param 
name="changesrevision">44e44a64f0e266c42e524ee3554f3b45729ac4cc</param>
+    <param 
name="changesrevision">be5b3ec12db757532b0b6f0a45336c06c7634847</param>
   </service>
 </servicedata>

++++++ openSUSE-release-tools-20171018.44e44a6.obscpio -> 
openSUSE-release-tools-20171019.be5b3ec.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openSUSE-release-tools-20171018.44e44a6/devel-project.py 
new/openSUSE-release-tools-20171019.be5b3ec/devel-project.py
--- old/openSUSE-release-tools-20171018.44e44a6/devel-project.py        
2017-10-19 03:59:09.000000000 +0200
+++ new/openSUSE-release-tools-20171019.be5b3ec/devel-project.py        
2017-10-19 21:57:59.000000000 +0200
@@ -23,28 +23,6 @@
 BOT_NAME = 'devel-project'
 REMINDER = 'review reminder'
 
-# Short of either copying the two osc.core list functions to build the search
-# queries and call a different search function this is the only reasonable way
-# to add withhistory to the query. The base search function does not even have 
a
-# method for adding to the query. Alternatively, get_request() can be called 
for
-# each request to load the history, but obviously that is not very desirable.
-# Having the history allows for the age of the request to be determined.
-def search(apiurl, **kwargs):
-    res = {}
-    for urlpath, xpath in kwargs.items():
-        path = [ 'search' ]
-        path += urlpath.split('_')
-        query = {'match': xpath}
-        if urlpath == 'request':
-            query['withhistory'] = 1
-        u = makeurl(apiurl, path, query)
-        f = http_GET(u)
-        res[urlpath] = ET.parse(f).getroot()
-    return res
-
-osc.core._search = osc.core.search
-osc.core.search = search
-
 def staging_api(args):
     Config(args.project)
     return StagingAPI(osc.conf.config['apiurl'], args.project)
@@ -117,7 +95,8 @@
                                     req_state=('new', 'review'),
                                     req_type='submit',
                                     # Seems to work backwards, as it includes 
only.
-                                    exclude_target_projects=[devel_project])
+                                    exclude_target_projects=[devel_project],
+                                    withfullhistory=True)
         for request in requests:
             action = request.actions[0]
             age = request_age(request)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openSUSE-release-tools-20171018.44e44a6/dist/package/openSUSE-release-tools.spec
 
new/openSUSE-release-tools-20171019.be5b3ec/dist/package/openSUSE-release-tools.spec
--- 
old/openSUSE-release-tools-20171018.44e44a6/dist/package/openSUSE-release-tools.spec
        2017-10-19 03:59:09.000000000 +0200
+++ 
new/openSUSE-release-tools-20171019.be5b3ec/dist/package/openSUSE-release-tools.spec
        2017-10-19 21:57:59.000000000 +0200
@@ -225,7 +225,8 @@
 Summary:        OSC plugin for the staging workflow
 Group:          Development/Tools/Other
 BuildArch:      noarch
-Requires:       osc >= 0.159.0
+# devel-project.py needs 0.160.0 for get_request_list(withfullhistory) param.
+Requires:       osc >= 0.160.0
 Requires:       osclib = %{version}
 
 %description -n osc-plugin-staging

++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.cU3euv/_old  2017-10-20 14:47:28.287751675 +0200
+++ /var/tmp/diff_new_pack.cU3euv/_new  2017-10-20 14:47:28.287751675 +0200
@@ -1,5 +1,5 @@
 name: openSUSE-release-tools
-version: 20171018.44e44a6
-mtime: 1508378195
-commit: 44e44a64f0e266c42e524ee3554f3b45729ac4cc
+version: 20171019.be5b3ec
+mtime: 1508442631
+commit: be5b3ec12db757532b0b6f0a45336c06c7634847
 


Reply via email to