Hello community,

here is the log from the commit of package openSUSE-release-tools for 
openSUSE:Factory checked in at 2019-06-06 18:18:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
 and      /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openSUSE-release-tools"

Thu Jun  6 18:18:27 2019 rev:188 rq:707963 version:20190606.e70c7624

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
    2019-06-04 12:12:34.211817260 +0200
+++ 
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.4811/openSUSE-release-tools.changes
  2019-06-06 18:18:30.816665098 +0200
@@ -1,0 +2,6 @@
+Thu Jun 06 05:58:22 UTC 2019 - [email protected]
+
+- Update to version 20190606.e70c7624:
+  * ttm: remove code to update pinned openQA comment
+
+-------------------------------------------------------------------

Old:
----
  openSUSE-release-tools-20190603.8b4ad7de.obscpio

New:
----
  openSUSE-release-tools-20190606.e70c7624.obscpio

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

Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.FmrA23/_old  2019-06-06 18:18:31.704664837 +0200
+++ /var/tmp/diff_new_pack.FmrA23/_new  2019-06-06 18:18:31.704664837 +0200
@@ -20,7 +20,7 @@
 %define source_dir openSUSE-release-tools
 %define announcer_filename factory-package-news
 Name:           openSUSE-release-tools
-Version:        20190603.8b4ad7de
+Version:        20190606.e70c7624
 Release:        0
 Summary:        Tools to aid in staging and release work for openSUSE/SUSE
 License:        GPL-2.0-or-later AND MIT

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.FmrA23/_old  2019-06-06 18:18:31.732664829 +0200
+++ /var/tmp/diff_new_pack.FmrA23/_new  2019-06-06 18:18:31.732664829 +0200
@@ -1,6 +1,6 @@
 <servicedata>
   <service name="tar_scm">
     <param 
name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param>
-    <param 
name="changesrevision">8b4ad7de7099f91905653407253974856d32e704</param>
+    <param 
name="changesrevision">33111b070914a8e1c6845d3302c2dffb6f518c9d</param>
   </service>
 </servicedata>

++++++ openSUSE-release-tools-20190603.8b4ad7de.obscpio -> 
openSUSE-release-tools-20190606.e70c7624.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openSUSE-release-tools-20190603.8b4ad7de/ttm/publisher.py 
new/openSUSE-release-tools-20190606.e70c7624/ttm/publisher.py
--- old/openSUSE-release-tools-20190603.8b4ad7de/ttm/publisher.py       
2019-06-03 19:20:37.000000000 +0200
+++ new/openSUSE-release-tools-20190606.e70c7624/ttm/publisher.py       
2019-06-06 07:57:08.000000000 +0200
@@ -29,7 +29,6 @@
     def setup(self, project):
         super(ToTestPublisher, self).setup(project)
         self.openqa = OpenQA_Client(server=self.project.openqa_server)
-        self.update_pinned_descr = False
         self.load_issues_to_ignore()
 
     def overall_result(self, snapshot):
@@ -73,7 +72,6 @@
                     if ref not in self.issues_to_ignore:
                         if to_ignore:
                             self.issues_to_ignore[ref] = build_nr
-                            self.update_pinned_descr = True
                         else:
                             ignored = False
                     else:
@@ -235,8 +233,6 @@
             return
 
         self.add_published_tag(group_id, current_snapshot)
-        if self.update_pinned_descr:
-            self.update_openqa_status_message(group_id)
 
     def find_openqa_results(self, snapshot):
         """Return the openqa jobs of a given snapshot and filter out the
@@ -277,30 +273,6 @@
 
         self.logger.debug('No openQA group id found for status comment update, 
ignoring')
 
-    def update_openqa_status_message(self, group_id):
-        pinned_ignored_issue = 0
-        issues = ' , '.join(self.issues_to_ignore.keys())
-        msg = 'pinned-description: Ignored issues\r\n\r\n{}'.format(issues)
-        data = {'text': msg}
-
-        url = makeurl(self.project.openqa_server,
-                      ['api', 'v1', 'groups', str(group_id), 'comments'])
-        f = self.api.retried_GET(url)
-        comments = json.load(f)
-        for comment in comments:
-            if comment['userName'] == 'ttm' and \
-                    comment['text'].startswith('pinned-description: Ignored 
issues'):
-                pinned_ignored_issue = comment['id']
-
-        self.logger.debug('Writing openQA status message: {}'.format(data))
-        if not self.dryrun:
-            if pinned_ignored_issue:
-                self.openqa.openqa_request(
-                    'PUT', 'groups/%s/comments/%d' % (group_id, 
pinned_ignored_issue), data=data)
-            else:
-                self.openqa.openqa_request(
-                    'POST', 'groups/%s/comments' % group_id, data=data)
-
     def load_issues_to_ignore(self):
         text = self.api.attribute_value_load('IgnoredIssues')
         if text:

++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.FmrA23/_old  2019-06-06 18:18:32.292664665 +0200
+++ /var/tmp/diff_new_pack.FmrA23/_new  2019-06-06 18:18:32.296664664 +0200
@@ -1,5 +1,5 @@
 name: openSUSE-release-tools
-version: 20190603.8b4ad7de
-mtime: 1559582437
-commit: 8b4ad7de7099f91905653407253974856d32e704
+version: 20190606.e70c7624
+mtime: 1559800628
+commit: e70c762444d9629c64abbadacbcba04ec76e6d70
 


Reply via email to