Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 264146

Summary: [patch] app-portage/gentoolkit-dev: echangelog eats newlines
Product: Portage Development Reporter: Ryan Hill (RETIRED) <rhill>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED TEST-REQUEST    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 268725    
Attachments: echangelog-wrap.patch
wrap.patch

Description Ryan Hill (RETIRED) gentoo-dev 2009-03-29 05:39:25 UTC
dirtyepic@halo ~/dev/cvs/gentoo-x86/app-doc/abs-guide $ echangelog

[vim]
Version bump, now covers Bash 4.
Add pdf USE flag to install pdf version.
[/vim]

--- ChangeLog   2009-03-28 23:37:37.000000000 -0600
+++ ChangeLog.new       2009-03-28 23:38:30.000000000 -0600
@@ -2,6 +2,11 @@
 # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/app-doc/abs-guide/ChangeLog,v 1.67 2008/12/07 03:41:04 dirtyepic Exp $

+*abs-guide-6.0 (29 Mar 2009)
+
+  29 Mar 2009; Ryan Hill <dirtyepic@gentoo.org> +abs-guide-6.0.ebuild:
+  Version bump, now covers Bash 4. Add pdf USE flag to install pdf version.
+
   07 Dec 2008; Ryan Hill <dirtyepic@gentoo.org> -abs-guide-5.3.ebuild,
   abs-guide-5.5.ebuild:
   Stop installing docs into a subdir of DOCDIR so DOC_SYMLINKS_DIR works
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2009-03-29 05:40:11 UTC
gentoolkit-0.2.4.2-r1 BTW
Comment 2 michael@smith-li.com 2009-04-18 20:24:09 UTC
Created attachment 188826 [details, diff]
echangelog-wrap.patch

I'm not entirely sure of what the other formatting requirements are, but this should fix the reported bug.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2009-05-01 03:36:51 UTC
I'm not sure which way I would prefer it since both outputs can be ugly.  Maybe add a keep-formatting option??

$ echangelog
--- ChangeLog   2009-04-30 22:02:20.000000000 -0500
+++ ChangeLog.new       2009-04-30 22:03:30.000000000 -0500
@@ -2,6 +2,20 @@
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.151 2009/01/09 16:31:58 ranger Exp $

+*gentoolkit-0.2.4.3 (01 May 2009)
+
+  01 May 2009; Paul Varner <fuzzyray@gentoo.org> +gentoolkit-0.2.4.3.ebuild:
+  gentoolkit-0.2.4.3 version bump. This fixes the following bugs:
+
+  239000 - app-portage/gentoolkit: Poor word choice in revdep-rebuild
+  message. 243304 - app-portage/gentoolkit-0.2.4.2 man page for
+  revdep-rebuild should specify the location of env files. 249652 -
+  app-portage/gentoolkit - 'equery hasuse' wrong work with '+' or '-' use
+  flags. 253968 - gentoolkit: "equery list -p" fails if /usr/portage is a
+  symbolic link. 259526 - app-portage/gentoolkit-0.2.4.2-r1 - Typo in
+  revdep-rebuild.. 267898 - [PATCH] revdep-rebuild fails to consider -l* in
+  dependency_libs in .la files.
+
   09 Jan 2009; Brent Baude <ranger@gentoo.org> gentoolkit-0.2.4.2-r1.ebuild:
   stable ppc, bug 253897

pvarner@garath ~/cvsroot-gentoo/gentoo-x86/app-portage/gentoolkit $ echangelog
--- ChangeLog   2009-04-30 22:03:43.000000000 -0500
+++ ChangeLog.new       2009-04-30 22:04:23.000000000 -0500
@@ -2,6 +2,25 @@
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.151 2009/01/09 16:31:58 ranger Exp $

+*gentoolkit-0.2.4.3 (01 May 2009)
+
+  01 May 2009; Paul Varner <fuzzyray@gentoo.org> +gentoolkit-0.2.4.3.ebuild:
+  gentoolkit-0.2.4.3 version bump. This fixes the following bugs:
+
+  239000 - app-portage/gentoolkit: Poor word choice in revdep-rebuild
+  message.
+  243304 - app-portage/gentoolkit-0.2.4.2 man page for revdep-rebuild should
+  specify the location of env files.
+  249652 - app-portage/gentoolkit - 'equery hasuse' wrong work with '+' or
+  '-'
+  use flags.
+  253968 - gentoolkit: "equery list -p" fails if /usr/portage is a symbolic
+  link.
+  259526 - app-portage/gentoolkit-0.2.4.2-r1 - Typo in revdep-rebuild..
+  267898 - [PATCH] revdep-rebuild fails to consider -l* in dependency_libs
+  in
+  .la files.
+
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2009-05-01 15:46:27 UTC
Created attachment 190049 [details, diff]
wrap.patch

Guys,

please test my patch (based on rev. 561; http://sources.gentoo.org/viewcvs.py/gentoolkit?rev=561&view=rev ) to see if it works as expected.
Comment 5 Christian Ruppert (idl0r) gentoo-dev 2009-05-07 09:02:22 UTC
gentoolkit-dev-0.2.6.11 has been released. I will close after independent
verification that the bug is fixed.