Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package linuxrc-devtools for 
openSUSE:Factory checked in at 2022-08-09 15:27:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/linuxrc-devtools (Old)
 and      /work/SRC/openSUSE:Factory/.linuxrc-devtools.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "linuxrc-devtools"

Tue Aug  9 15:27:32 2022 rev:15 rq:993774 version:1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/linuxrc-devtools/linuxrc-devtools.changes        
2021-04-15 16:58:21.430763528 +0200
+++ 
/work/SRC/openSUSE:Factory/.linuxrc-devtools.new.1521/linuxrc-devtools.changes  
    2022-08-09 15:28:12.965601822 +0200
@@ -1,0 +2,8 @@
+Mon Aug 8 12:46:25 UTC 2022 - [email protected]
+
+- merge gh#openSUSE/linuxrc-devtools#31
+- include full URL to submit request in log
+- add GIT2LOG_DEFAULT_EMAIL environment var
+- 1.1
+
+--------------------------------------------------------------------

Old:
----
  linuxrc-devtools-1.0.tar.xz

New:
----
  linuxrc-devtools-1.1.tar.xz

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

Other differences:
------------------
++++++ linuxrc-devtools.spec ++++++
--- /var/tmp/diff_new_pack.LaRM7B/_old  2022-08-09 15:28:13.369602976 +0200
+++ /var/tmp/diff_new_pack.LaRM7B/_new  2022-08-09 15:28:13.373602988 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package linuxrc-devtools
 #
-# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           linuxrc-devtools
-Version:        1.0
+Version:        1.1
 Release:        0
 Source:         %{name}-%{version}.tar.xz
 

++++++ linuxrc-devtools-1.0.tar.xz -> linuxrc-devtools-1.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-devtools-1.0/VERSION 
new/linuxrc-devtools-1.1/VERSION
--- old/linuxrc-devtools-1.0/VERSION    2021-04-14 16:26:15.000000000 +0200
+++ new/linuxrc-devtools-1.1/VERSION    2022-08-08 14:46:25.000000000 +0200
@@ -1 +1 @@
-1.0
+1.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-devtools-1.0/changelog 
new/linuxrc-devtools-1.1/changelog
--- old/linuxrc-devtools-1.0/changelog  2021-04-14 16:26:15.000000000 +0200
+++ new/linuxrc-devtools-1.1/changelog  2022-08-08 14:46:25.000000000 +0200
@@ -1,3 +1,8 @@
+2022-08-08:    1.1
+       - merge gh#openSUSE/linuxrc-devtools#31
+       - include full URL to submit request in log
+       - add GIT2LOG_DEFAULT_EMAIL environment var
+
 2021-04-14:    1.0
        - merge gh#openSUSE/linuxrc-devtools#30
        - improved git2log parser
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-devtools-1.0/git2log 
new/linuxrc-devtools-1.1/git2log
--- old/linuxrc-devtools-1.0/git2log    2021-04-14 16:26:15.000000000 +0200
+++ new/linuxrc-devtools-1.1/git2log    2022-08-08 14:46:25.000000000 +0200
@@ -65,6 +65,8 @@
 my $opt_default_email = '[email protected]';     # default email 
to use in changelog
 my $opt_weblate = 'bsc#1149754';       # bugzilla ref to use for Weblate 
commits
 
+$opt_default_email = $ENV{GIT2LOG_DEFAULT_EMAIL} if 
$ENV{GIT2LOG_DEFAULT_EMAIL};
+
 GetOptions(
   'help'          => sub { usage 0 },
   'version'       => \$opt_version,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-devtools-1.0/tobs 
new/linuxrc-devtools-1.1/tobs
--- old/linuxrc-devtools-1.0/tobs       2021-04-14 16:26:15.000000000 +0200
+++ new/linuxrc-devtools-1.1/tobs       2022-08-08 14:46:25.000000000 +0200
@@ -766,6 +766,13 @@
         $err = 0;
       }
     }
+    else {
+      if($resp_msg =~ /created request id (\d+)/) {
+        my $url = "$sr->{api}/request/show/$1";
+        $url =~ s#^api\.#https://build.#;
+        print "Submit request URL: $url\n";
+      }
+    }
 
     print $resp_msg;
   }

Reply via email to