Hello community,

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

Package is "linuxrc-devtools"

Sat Aug 12 20:27:20 2017 rev:4 rq:515931 version:0.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/linuxrc-devtools/linuxrc-devtools.changes        
2017-08-10 14:13:20.669966671 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc-devtools.new/linuxrc-devtools.changes   
2017-08-12 20:27:20.898802467 +0200
@@ -1,0 +2,6 @@
+Thu Aug 10 12:12:32 UTC 2017 - wfe...@opensuse.org
+
+- added --(no-)keep-date options
+- 0.8
+
+--------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ linuxrc-devtools.spec ++++++
--- /var/tmp/diff_new_pack.mAnXcX/_old  2017-08-12 20:27:21.714688130 +0200
+++ /var/tmp/diff_new_pack.mAnXcX/_new  2017-08-12 20:27:21.722687009 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           linuxrc-devtools
-Version:        0.7
+Version:        0.8
 Release:        0
 Source:         %{name}-%{version}.tar.xz
 

++++++ linuxrc-devtools-0.7.tar.xz -> linuxrc-devtools-0.8.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-devtools-0.7/VERSION 
new/linuxrc-devtools-0.8/VERSION
--- old/linuxrc-devtools-0.7/VERSION    2017-05-03 14:16:02.000000000 +0200
+++ new/linuxrc-devtools-0.8/VERSION    2017-08-10 16:07:39.000000000 +0200
@@ -1 +1 @@
-0.7
+0.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-devtools-0.7/changelog 
new/linuxrc-devtools-0.8/changelog
--- old/linuxrc-devtools-0.7/changelog  2017-05-03 14:16:02.000000000 +0200
+++ new/linuxrc-devtools-0.8/changelog  2017-08-10 16:07:39.000000000 +0200
@@ -1,3 +1,7 @@
+2017-08-10:    0.8
+       - merge gh#openSUSE/linuxrc-devtools#8
+       - added --(no-)keep-date options
+
 2017-05-03:    0.7
        - started rewrite of git2log script
        - implement start tag, switch default format to obs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-devtools-0.7/git2log 
new/linuxrc-devtools-0.8/git2log
--- old/linuxrc-devtools-0.7/git2log    2017-05-03 14:16:02.000000000 +0200
+++ new/linuxrc-devtools-0.8/git2log    2017-08-10 16:07:39.000000000 +0200
@@ -59,6 +59,7 @@
 my $opt_format = 'internal';           # obs, internal
 my $opt_merge_msg_before = 1;          # log auto generated pr merge message 
before the commit messages (vs. after)
 my $opt_join_author = 1;               # join consecutive commit messages as 
long as they are by the same author
+my $opt_keep_date = 1;                 # don't join consecutive commit 
messages if they have different time stamps
 
 GetOptions(
   'help'          => sub { usage 0 },
@@ -72,6 +73,7 @@
   'fuzz=i'        => \$opt_width_fuzz,
   'merge-msg=s'   => sub { $opt_merge_msg_before = ($_[1] eq 'after' ? 0 : 1) 
},
   'join-author!'  => \$opt_join_author,
+  'keep-date!'    => \$opt_keep_date,
   'log|changelog' => \$opt_log,
 ) || usage 1;
 
@@ -161,6 +163,8 @@
                       Valid values for WHERE are 'after' and 'before' 
(default).
   --join-author       Join consecutive commits as long as they are by the same 
author. (default)
   --no-join-author    Keep consecutive commits by the same author separate.
+  --keep-date         Join consecutive commits only if they have the same 
date. (default)
+  --no-keep-date      Join consecutive commits even if dates differ.
   --help              Print this help text.
   usage
 
@@ -706,7 +710,7 @@
   }
 
   # step 6
-  # - join commit messages with same author (# & date)
+  # - join commit messages with same author (optionally even with different 
dates)
 
   my $commit0;
 
@@ -718,7 +722,7 @@
       # $commit->{merge_ref} eq $commit0->{merge_ref} &&
       (
         $opt_join_author && ($commit->{author} eq $commit0->{author})
-        # && $commit->{date} eq $commit0->{date}
+        && (!$opt_keep_date || $commit->{date} eq $commit0->{date})
       )
       || $opt_format eq 'internal'
     ) {


Reply via email to