Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195954 - app-portage/gentoolkit-dev-0.2.6.6: echangelog allows 81 character lines
Summary: app-portage/gentoolkit-dev-0.2.6.6: echangelog allows 81 character lines
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-15 15:03 UTC by Joe Peterson (RETIRED)
Modified: 2008-03-19 03:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Peterson (RETIRED) gentoo-dev 2007-10-15 15:03:34 UTC
If the last character of a word falls on the 81st character of the line (assuming the first 2 are spaces), that character will wrap by one character on 80-character-wide terminals rather than starting that word on a new line.  This seems to defeat echangelog's nice formatting of lines.
Comment 1 Paul Varner (RETIRED) gentoo-dev 2008-02-20 23:12:34 UTC
I am unable to reproduce.  I've tried with lines that are 79, 80, and 81 characters long and it always seems to wrap correctly. Do you have a specific test case that I can use?
Comment 2 Joe Peterson (RETIRED) gentoo-dev 2008-02-21 23:45:07 UTC
Wow, this was a long time ago; I'll see if I can reproduce when I get the chance.  If I cannot, maybe it's been fixed in a later version.
Comment 3 Joe Peterson (RETIRED) gentoo-dev 2008-03-19 01:22:38 UTC
Paul,

I got it to happen this way:

1) (I checked out media-sound/squeezecenter, but that shouldn't matter)
2) type:
     echangelog "This is a test 1111111111111112222222222222222333333333 5555555555666666688 123"
3) do "less ChangeLog", and see:

# ChangeLog for media-sound/squeezecenter
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezecenter/ChangeLog,v 1.12 2008/03/15 17:34:28 nixnut Exp $

  19 Mar 2008; Joe Peterson <lavajoe@gentoo.org> ChangeLog:
  This is a test 1111111111111112222222222222222333333333 5555555555666666688 123
  ^ This "3" will be wrapped to the 2nd line.


If this is not what you are seeing, let me know (I'm not sure how we'd see different things).
Comment 4 Paul Varner (RETIRED) gentoo-dev 2008-03-19 01:42:36 UTC
Try it with gentoolkit-dev-0.2.6.8.  I can reproduce it with 0.2.6.6, but not with 0.2.6.8.  So I believe it is fixed.
Comment 5 Joe Peterson (RETIRED) gentoo-dev 2008-03-19 02:17:19 UTC
Cool - verified that it works in 0.2.6.8; closing.  Thanks!
Comment 6 Joe Peterson (RETIRED) gentoo-dev 2008-03-19 02:22:23 UTC
Hmm, bugzilla now marked this as "closed needinfo" - not really correct.  I'll reopen...
Comment 7 Joe Peterson (RETIRED) gentoo-dev 2008-03-19 02:24:38 UTC
Paul, I'll let you mark this fixed...  Thanks.
Comment 8 Paul Varner (RETIRED) gentoo-dev 2008-03-19 03:16:55 UTC
Fixed in gentoolkit-dev-0.2.6.8