Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2014-10-14 07:10:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and      /work/SRC/openSUSE:Factory/.linuxrc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "linuxrc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2014-10-05 
20:27:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes     2014-10-14 
07:10:20.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Oct 13 13:36:17 CEST 2014 - jenk...@suse.com
+
+- update git2log script
+- 5.0.27
+
+-------------------------------------------------------------------

Old:
----
  linuxrc-5.0.26.tar.xz

New:
----
  linuxrc-5.0.27.tar.xz

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

Other differences:
------------------
++++++ linuxrc.spec ++++++
--- /var/tmp/diff_new_pack.fngkl4/_old  2014-10-14 07:10:21.000000000 +0200
+++ /var/tmp/diff_new_pack.fngkl4/_new  2014-10-14 07:10:21.000000000 +0200
@@ -25,9 +25,9 @@
 Summary:        SUSE Installation Program
 License:        GPL-3.0+
 Group:          System/Boot
-Version:        5.0.26
+Version:        5.0.27
 Release:        0
-Source:         linuxrc-5.0.26.tar.xz
+Source:         %{name}-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description

++++++ linuxrc-5.0.26.tar.xz -> linuxrc-5.0.27.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.26/.gitignore 
new/linuxrc-5.0.27/.gitignore
--- old/linuxrc-5.0.26/.gitignore       1970-01-01 01:00:00.000000000 +0100
+++ new/linuxrc-5.0.27/.gitignore       2014-10-13 13:34:49.000000000 +0200
@@ -0,0 +1,3 @@
+changelog
+Changelog
+VERSION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.26/VERSION new/linuxrc-5.0.27/VERSION
--- old/linuxrc-5.0.26/VERSION  2014-09-29 15:27:55.000000000 +0200
+++ new/linuxrc-5.0.27/VERSION  2014-10-13 13:34:49.000000000 +0200
@@ -1 +1 @@
-5.0.26
+5.0.27
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.26/changelog new/linuxrc-5.0.27/changelog
--- old/linuxrc-5.0.26/changelog        2014-09-29 15:28:13.000000000 +0200
+++ new/linuxrc-5.0.27/changelog        2014-10-13 13:34:49.000000000 +0200
@@ -1,3 +1,6 @@
+2014-10-13:    5.0.27
+       - update git2log script
+
 2014-09-29:    5.0.26
        - keep wpa_supplicant running
 
@@ -36,7 +39,9 @@
 2014-09-11:    5.0.17
        - finalize ifcfg option parsing
 
-2014-08-29:    5.0.16
+2014-09-11:    5.0.16
+       - fix missing parameter to dia_input2()
+       - look for autoinst.xml and keep the name (don't use autoyast.xml 
internally; fate #316530)
        - increased memory thrreshold for loading inst-sys to RAM (bnc #893982)
 
 2014-08-18:    5.0.15
@@ -77,7 +82,8 @@
 2014-07-31:    5.0.8
        - fix point-to-point interface handling (bnc #889580)
 
-2014-07-28:    5.0.7
+2014-07-29:    5.0.7
+       - pass along hostname if explicitly set (bnc #889374)
        - Read me.
 
 2014-07-28:    5.0.6
@@ -204,7 +210,8 @@
 2014-05-15:    4.2.25
        - suppress edd failed message
 
-2014-05-14:    4.2.24
+2014-05-15:    4.2.24
+       - fix compilation
        - Adjust the branch to match the current master.
        - Revert "Initial changes to use IBM-supplied chzdev command instead of 
our *_configure commands."
        - Move check for config.hwp.layer2 to the correct line.
@@ -233,7 +240,8 @@
        - reworked filesystem type detection, added tar
        - apply timeout option to wicked
 
-2014-04-21:    4.2.19
+2014-04-22:    4.2.19
+       - fix compiler warning
        - Fix for bnc #843438.
          Add KVM detection on s390x.
          If running under KVM on s390x, only offer a virtio network device.
@@ -310,7 +318,8 @@
 2013-12-20:    4.2.4
        - make linemode default on s390, swap linemode 1 & 2
 
-2013-12-17:    4.2.3
+2013-12-19:    4.2.3
+       - allow linuxrc to be restarted
        - Initial changes to use IBM-supplied chzdev command instead of our 
*_configure commands.
 
 2013-12-05:    4.2.2
@@ -322,7 +331,12 @@
        - allow media checks of any device (bnc #848020)
        - add back language menu
 
-2012-07-05:    4.2.0
+2013-11-18:    4.2.0
+       - add back language defines
+       - nfs: use mount(8) and mount.nfs(8) to mount nfs exports (bnc #799496)
+       - if no install url given, try dvds, then hds
+       - s390: handle empty portname correctly (bnc #760042)
+       - s390: handle empty portname correctly (bnc #760042)
        - remove i18n infrastructure and translations
 
 2013-01-16:    4.1.4
@@ -337,7 +351,26 @@
 2012-12-13:    4.1.1
        - Revert "clean-up: removed built-in extend"
 
-2012-06-05:    4.1.0
+2012-11-26:    4.1.0
+       - make sure WORDS_BIGENDIAN is defined correctly where needed (bnc 
#755861)
+       - add *.conf to modprobe config files to make them work (bnc #775800)
+       - fix console setup after plymouth
+       - turn off plymouth at first opportunity
+       - add plymouth config option
+       - remove lots of disabled code
+       - fix warnings about computed values not being used
+       - remove reference to hotplug.h from net.c
+       - clean-up: removed built-in hotplug
+       - clean-up: removed built-in extend
+       - clean-up: removed built-in swapoff, raidautorun, free, wget, fstype, 
nothing
+       - clean-up: removed built-in mkdir, chroot, kill, killall
+       - clean-up: removed built-in ls, rm, mv, ln
+       - clean-up: removed built-in cat, hex, echo, ps, lsof
+       - clean-up: removed built-in mount, umount
+       - clean-up: removed built-in rmmod, lsmod
+       - clean-up: remove mkdevs, staticdevices option
+       - slp: error handling bug (found by clang)
+       - url: eliminate non-standard nested functions
        - clean-up: dump bootp
        - clean-up: ditch exploding windows
        - clean-up: remove unused tftp code
@@ -472,13 +505,13 @@
          * translations updated
          * keep /lib/firmware from initrd in rescue system (bnc #576072)
          * s390: don't use net_config() in auto mode to avoid fallback to
-           manual (bnc #474457)
+         manual (bnc #474457)
          * s390: set defaults for CCW write and data channels
          * s390: allow installation via console (bnc #476373)
          * s390: detect PTP devices in autoinstall case (bnc #555236)
          * s390: work around bugged Operating System Messages console
-           that sends empty lines as " \r" instead of "\r" (forward-ported
-           from SLES10 SP3, bnc #517763, bnc #484358)
+         that sends empty lines as " \r" instead of "\r" (forward-ported
+         from SLES10 SP3, bnc #517763, bnc #484358)
          * s390: fix check for existing network config (bnc #562101)
          * added util_error_trace() to facilitate debugging
          * do backtraces when net_activate4() fails
@@ -1251,6 +1284,7 @@
        - hare: s390 hotplug fix
 
 2006-01-16:    2.0.9
+       - Dutch texts updated
        - make sure /sbin/hotplug gets events
        - remove "devz"
        - pass iscsi option to yast (fate #85)
@@ -1283,7 +1317,7 @@
        - portmap gone
 
 2005-12-02:    2.0.2
-       - -Taiwan
+       - Taiwan
        - use bash, not linuxrc shell
        - removed complied-in kbd tools
 
@@ -1368,7 +1402,7 @@
 
 2005-04-06:    1.8.9
        - s390: SCRIPTUP_* entries in hwcfg-* files must be lower-case
-        after the underscore
+         after the underscore
 
 2005-04-05:    1.8.8
        - only IUCV hwcfg files must be named hwcfg-static-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.26/git2log new/linuxrc-5.0.27/git2log
--- old/linuxrc-5.0.26/git2log  1970-01-01 01:00:00.000000000 +0100
+++ new/linuxrc-5.0.27/git2log  2014-10-13 13:34:49.000000000 +0200
@@ -0,0 +1,205 @@
+#! /usr/bin/perl
+
+use Getopt::Long;
+
+use Data::Dumper;
+$Data::Dumper::Sortkeys = 1;
+$Data::Dumper::Terse = 1;
+$Data::Dumper::Indent = 1;
+
+sub usage;
+
+usage 0 if !@ARGV;
+
+@deps = qw ( .git/HEAD .git/refs/heads .git/refs/tags );
+
+GetOptions(
+  'help'          => sub { usage 0 },
+  'version'       => \$opt_version,
+  'update'        => \$opt_update,
+  'log|changelog' => \$opt_log,
+) || usage 1;
+
+usage 1 if @ARGV > 1 || !($opt_log || $opt_version);
+$opt_file = @ARGV ? shift : '-';
+
+die "no git repo\n" unless -d ".git";
+
+if($opt_update && $opt_file ne '-' && -f($opt_file)) {
+  $ok = 1;
+
+  $t = (stat $opt_file)[9];
+
+  for (@deps) {
+    $ok = 0 if (stat)[9] > $t;
+  }
+
+  exit 0 if $ok;
+}
+
+for (`git branch`) {
+  if(/^\*\s+(\S+)/) {
+    $branch = $1;
+    last;
+  }
+}
+
+$branch = "master" if $branch eq '(no';
+
+die "no branch?\n" unless $branch;
+
+# print STDERR "writing log for branch $branch\n";
+
+@tags = `git tag`;
+
+chomp @tags;
+
+for (@tags) {
+  if(/^\d/) {
+    s/(\d+)/sprintf "%04d", $1/eg;
+    push @ntags, $_;
+  }
+  elsif(s/^$branch\-//) {
+    s/(\d+)/sprintf "%04d", $1/eg;
+    push @ntags, "$branch-$_";
+  }
+}
+
+@tags = sort @ntags;
+
+die "no tags at all?\n" unless @tags;
+
+$current_version = $tags[-1];
+$current_version =~ s/(\d+)/$1 + 0/eg;
+
+if(`git log --pretty=medium --date=iso '$current_version..HEAD'`) {
+  $current_version =~ s/(\d+)$/$1 + 1/e;
+}
+
+$current_version =~ s/^$branch\-//;
+
+if($opt_version) {
+  open F, ">$opt_file";
+  print F "$current_version\n";
+  close F;
+
+  exit 0;
+}
+
+if($branch ne 'master') {
+  for ($i = 0; $i < @tags; $i++) {
+    if($tags[$i] =~ /^$branch\-(\S+)/) {
+      $i2 = $i;
+      $bi = $1;
+      last;
+    }
+  }
+
+  # print STDERR ">> $branch-$bi\n";
+
+  warn "no tags in this branch yet\n" unless $bi;
+
+  for ($i = 0; $i < $i2; $i++) {
+    if($tags[$i] ge $bi) {
+      if($tags[$i] eq $bi) {
+        $i1 = $i;
+      }
+      elsif($i > 0) {
+        $i1 = $i - 1;
+      }
+      last;
+    }
+  }
+
+  splice @tags, $i1, $i2 - $i1;
+}
+
+map { s/(\d+)/$1 + 0/eg } @tags;
+
+push @tags, "HEAD";
+
+# print Dumper(\@tags);
+
+open F, ">$opt_file";
+
+for ($i = @tags - 1; $i > 0; $i--) {
+  $date = undef;
+  @t = `git log --pretty=medium --date=iso '$tags[$i-1]..$tags[$i]'`;
+
+  # print "\n--- $tags[$i-1]..$tags[$i] ---\n", @t, "---\n";
+
+  undef @t2;
+  $merge = 0;
+  for (@t) {
+    $merge = 1 if /^Merge: /;
+    $merge = 0 if /^commit /;
+    push @t2, $_ if !$merge;
+  }
+  @t = @t2;
+
+  undef @t2;
+  $detail = 0;
+  for (@t) {
+    $detail = 1 if /^    $/;
+    $detail = 0 if /^commit /;
+    if($detail && /^    [^\-\s]/) {
+      # push @t2, "# $_";
+    }
+    else {
+      push @t2, $_;
+    }
+  }
+  @t = @t2;
+
+  # print "\n--- $tags[$i-1]..$tags[$i] ---\n", @t;
+
+  chomp @t;
+  for (@t) {
+    if(/^Date:\s*(\S+)/) {
+      $date = $1;
+      last;
+    }
+  }
+  @t = grep { !/^(commit|Author:|Date:|Merge:|\s*$)|created.*tag/ } @t;
+  if(@t) {
+    # rewrite a bit to have it look more consistent
+    map { s/(fate|bnc)#/$1 #/g } @t;
+    map { s/\(#/(bnc #/g } @t;
+    map { s/bug\s*#/bnc #/g } @t;
+    map { s/feat(\.|ure)?\s*#?(\d+)/fate #$2/g } @t;
+    map { s/^ {4}// } @t;
+    map { s/^ {8}// } @t;
+    map { s/^ +/  / } @t;
+    map { s/^\s*[+\-][\-\s]*/- / } @t;
+    map { s/^([^ \-])/- $1/ } @t;
+    map { s/^/\t/ } @t;
+    map { s/\\'/'/ } @t;
+
+#    print "\n--- $tags[$i-1]..$tags[$i] ---\n", join("\n", @t);
+
+    $t = $tags[$i];
+    $t = "${branch}-$t" if $branch ne 'master' && $t eq "HEAD";
+    $t =~ s/HEAD/$current_version/;
+    print F "$date:\t$t\n";
+    print F join("\n", @t), "\n\n";
+  }
+}
+
+close F;
+
+sub usage
+{
+  my $err = shift;
+
+  print <<"  usage";
+Usage: git2log [OPTIONS] [FILE]
+Create changelog and project version from git repo.
+  --changelog   Write changelog to FILE.
+  --version     Write version number to FILE.
+  --update      Write changelog or version only if FILE is outdated.
+  --help        Print this help text.
+  usage
+
+  exit $err;
+}
+

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to