Re: [gentoo-dev] Old changelogs / eclass dir

2011-10-26 Thread Ulrich Mueller
> On Wed, 26 Oct 2011, Andreas K Huettel wrote:

> 1) Why is there no ChangeLog in the eclass directory? 
> In my personal opinion this is missing there, if only for historical
> reasons... Should we still start one?

It's never too late. Even echangelog works in the eclass directory,
once you generate an initial ChangeLog file there.

> 2) I'd like to suggest that for changelogs that grow beyond a
> certain size (e.g. profiles/ChangeLog) the file is "rotated" similar
> to /var/log logfiles. I.e. the current file is renamed with a date
> extension and a new file is started. This has the benefit that the
> archived file is static and will never be retransmitted by rsync.

I'd rather truncate the file and keep only the last one or two years
of history.

Also some subdirectories of profiles have their own ChangeLog, and
others don't. Looks pretty much random, e.g. why is there a ChangeLog
in profiles/default/bsd but not in profiles/default/linux? Probably
that's for historical reasons too, and we should rethink it.

Ulrich



Re: [gentoo-dev] Old changelogs / eclass dir

2011-10-26 Thread Andreas K. Huettel
> > As for codifying this, applying software to automate splitting
> > changelogs in this manner could be initially challenging as I've seen
> > a few Changelogs with really inconsistent style at the bottom of them.
> 
> How many really long changelogs do we have now? Maybe we should just
> split them by hand.

Below is the list of changelogs with more than 5 bytes. Let's just say, if 
we apply the rule for files bigger than 100k, we can easily do it by hand and 
will still see an improvement- also because the biggest files are updated most 
often (naturally).

Later, the new files will have a regular format and can be processed 
automatically anyway.

774821  profiles/ChangeLog
166798  sys-kernel/gentoo-sources/ChangeLog
145004  sys-devel/gcc/ChangeLog
141505  sys-libs/glibc/ChangeLog
141397  media-video/mplayer/ChangeLog
133790  kde-base/kdelibs/ChangeLog
133257  www-client/firefox/ChangeLog
131385  x11-base/xorg-server/ChangeLog
130355  x11-base/xorg-x11/ChangeLog
124531  www-client/opera/ChangeLog
123722  sys-fs/udev/ChangeLog
115914  www-servers/apache/ChangeLog
112672  dev-db/mysql/ChangeLog
110957  media-video/vlc/ChangeLog
107961  sys-apps/baselayout/ChangeLog
107492  sys-kernel/git-sources/ChangeLog
105182  sys-kernel/hardened-sources/ChangeLog
104646  www-client/chromium/ChangeLog
100383  sys-kernel/vanilla-sources/ChangeLog
98137   dev-lang/python/ChangeLog
89614   net-misc/asterisk/ChangeLog
87568   dev-lang/php/ChangeLog
83915   profiles/prefix/ChangeLog
82583   net-fs/samba/ChangeLog
82558   dev-vcs/git/ChangeLog
81787   x11-libs/gtk+/ChangeLog
81691   dev-vcs/subversion/ChangeLog
79141   mail-client/evolution/ChangeLog
78127   dev-lang/ruby/ChangeLog
77357   app-emulation/wine/ChangeLog
75159   media-libs/xine-lib/ChangeLog
72634   dev-lang/perl/ChangeLog
72187   x11-drivers/ati-drivers/ChangeLog
72158   sys-devel/binutils/ChangeLog
70403   media-sound/amarok/ChangeLog
70003   mail-mta/postfix/ChangeLog
69801   net-proxy/squid/ChangeLog
68654   media-video/ffmpeg/ChangeLog
68183   sys-kernel/mm-sources/ChangeLog
67484   net-misc/openssh/ChangeLog
66380   media-gfx/imagemagick/ChangeLog
66175   media-tv/mythtv/ChangeLog
66055   www-servers/tomcat/ChangeLog
66045   mail-client/thunderbird/ChangeLog
66003   net-nds/openldap/ChangeLog
65668   net-print/cups/ChangeLog
65665   app-portage/gentoolkit/ChangeLog
65102   dev-libs/glib/ChangeLog
65073   x11-drivers/nvidia-drivers/ChangeLog
63758   app-crypt/gnupg/ChangeLog
62406   app-editors/emacs/ChangeLog
61747   dev-db/phpmyadmin/ChangeLog
61413   net-libs/xulrunner/ChangeLog
61141   dev-libs/openssl/ChangeLog
60826   media-libs/mesa/ChangeLog
60410   net-dns/bind/ChangeLog
60261   app-editors/emacs-vcs/ChangeLog
60117   gnome-extra/evolution-data-server/ChangeLog
59996   sys-apps/portage/ChangeLog
59966   app-antivirus/clamav/ChangeLog
57709   gnome-base/gnome/ChangeLog
57130   gnome-base/nautilus/ChangeLog
56294   dev-java/sun-jdk/ChangeLog
56243   net-news/liferea/ChangeLog
55883   www-servers/lighttpd/ChangeLog
55540   sys-kernel/tuxonice-sources/ChangeLog
54764   sys-kernel/mips-sources/ChangeLog
54436   sys-kernel/linux-headers/ChangeLog
54167   x11-wm/fluxbox/ChangeLog
54141   dev-db/sqlite/ChangeLog
54109   sys-apps/util-linux/ChangeLog
53644   www-client/epiphany/ChangeLog
53641   media-sound/alsa-driver/ChangeLog
53194   gnome-base/gnome-control-center/ChangeLog
52699   app-editors/vim/ChangeLog
52676   x11-libs/qt/ChangeLog
51030   app-editors/vim-core/ChangeLog
50058   sys-libs/db/ChangeLog
50042   www-client/firefox-bin/ChangeLog



-- 
Andreas K. Huettel
Gentoo Linux developer - kde, sci, arm, tex
dilfri...@gentoo.org
http://www.akhuettel.de/


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-dev] Old changelogs / eclass dir

2011-10-26 Thread Michał Górny
On Thu, 27 Oct 2011 07:00:36 +1300
Kent Fredric  wrote:

> On 27 October 2011 06:46, Andreas K. Huettel 
> wrote:
> 
> >
> > 2) I'd like to suggest that for changelogs that grow beyond a
> > certain size (e.g. profiles/ChangeLog)
> > the file is "rotated" similar to /var/log logfiles. I.e. the
> > current file is renamed with a date extension and a
> > new file is started. This has the benefit that the archived file is
> > static and will never be retransmitted
> > by rsync.
> >
> 
> For rotation, an arbitrary line-length offset would not be advisable
> in my opinion. It would need to split at a logical place like before
> a "release" entry.
> 
> As for codifying this, applying software to automate splitting
> changelogs in this manner could be initially challenging as I've seen
> a few Changelogs with really inconsistent style at the bottom of them.

How many really long changelogs do we have now? Maybe we should just
split them by hand.

-- 
Best regards,
Michał Górny


signature.asc
Description: PGP signature


Re: [gentoo-dev] Old changelogs / eclass dir

2011-10-26 Thread Samuli Suominen
On 10/26/2011 08:46 PM, Andreas K. Huettel wrote:
> Dear all, 
> 
> two small suggestions regarding ChangeLogs:
> 
> 1) Why is there no ChangeLog in the eclass directory? 
> In my personal opinion this is missing there, if only for historical 
> reasons... Should we still start one?
> 
> 2) I'd like to suggest that for changelogs that grow beyond a certain size 
> (e.g. profiles/ChangeLog) 
> the file is "rotated" similar to /var/log logfiles. I.e. the current file is 
> renamed with a date extension and a 
> new file is started. This has the benefit that the archived file is static 
> and will never be retransmitted 
> by rsync.
> 
> Opinions?
> 
> Cheers, Andreas
> 

I agree with both ideas.



- Samuli



Re: [gentoo-dev] Old changelogs / eclass dir

2011-10-26 Thread Pacho Ramos
El mié, 26-10-2011 a las 19:46 +0200, Andreas K. Huettel escribió:
> Dear all, 
> 
> two small suggestions regarding ChangeLogs:
> 
> 1) Why is there no ChangeLog in the eclass directory? 
> In my personal opinion this is missing there, if only for historical 
> reasons... Should we still start one?
> 
> 2) I'd like to suggest that for changelogs that grow beyond a certain size 
> (e.g. profiles/ChangeLog) 
> the file is "rotated" similar to /var/log logfiles. I.e. the current file is 
> renamed with a date extension and a 
> new file is started. This has the benefit that the archived file is static 
> and will never be retransmitted 
> by rsync.
> 
> Opinions?
> 
> Cheers, Andreas
> 

I agree with both :)


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] Old changelogs / eclass dir

2011-10-26 Thread Kent Fredric
On 27 October 2011 06:46, Andreas K. Huettel  wrote:

>
> 2) I'd like to suggest that for changelogs that grow beyond a certain size
> (e.g. profiles/ChangeLog)
> the file is "rotated" similar to /var/log logfiles. I.e. the current file
> is renamed with a date extension and a
> new file is started. This has the benefit that the archived file is static
> and will never be retransmitted
> by rsync.
>

For rotation, an arbitrary line-length offset would not be advisable in my
opinion. It would need to split at a logical place like before a "release"
entry.

As for codifying this, applying software to automate splitting changelogs in
this manner could be initially challenging as I've seen a few Changelogs
with really inconsistent style at the bottom of them.

-- 
Kent

perl -e  "print substr( \"edrgmaM  SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3 )
for ( 9,8,0,7,1,6,5,4,3,2 );"

http://kent-fredric.fox.geek.nz


[gentoo-dev] Old changelogs / eclass dir

2011-10-26 Thread Andreas K. Huettel
Dear all, 

two small suggestions regarding ChangeLogs:

1) Why is there no ChangeLog in the eclass directory? 
In my personal opinion this is missing there, if only for historical reasons... 
Should we still start one?

2) I'd like to suggest that for changelogs that grow beyond a certain size 
(e.g. profiles/ChangeLog) 
the file is "rotated" similar to /var/log logfiles. I.e. the current file is 
renamed with a date extension and a 
new file is started. This has the benefit that the archived file is static and 
will never be retransmitted 
by rsync.

Opinions?

Cheers, Andreas

-- 
Andreas K. Huettel
Gentoo Linux developer - kde, sci, arm, tex
dilfri...@gentoo.org
http://www.akhuettel.de/


signature.asc
Description: This is a digitally signed message part.