On Wed, Mar 29, 2006 at 03:01:04PM +0200, Max Horn wrote: > While looking through the fink codebase in CVS, I noticed that we > still use a separate ChangeLog for each directory. To be frank, I do > not know why we ever made this separation (it simply existed from day > one), but now that I have some distance from the code (not having > worked on it for a very long time), I wonder if this is a good idea...
We can't go to a *single* fink/ ChangeLog file because there are some subdirectories that are also their own distribution. I *think* mirrors/ is the only one? For the rest, the vast majority of changes are to perlmod/Fink/* files and having the ChangeLog right there makes it easier to remember to edit it and there is less "uninteresting" information in it (the directory is factored out of all of the entries). > Most other projects I know have a single ChangeLog in a central > place. Most have a separate po/ChangeLog, but that's because usually a different team works on those files than on the "rest of the project" and most changes there do not affect things outside of there. > The advantage is that you only have one place to search if you > are looking for a specific change. Also, if you want to know what > changed since your last cvs up, you only have to look through one > ChangeLog. However, CVS appears to operate on a per-directory basis, so browsing -commits with a unified ChangeLog means that the changes and their ChangeLog entry are no longer in the same message. > And if you commit a patch that affects multiple > directories at once, you only add one ChangeLog entry, instead of > multiple (which makes sense if those changes really belong together; > they might not even make sense when viewed separately). However, the vast majority of fink changes do not affect multiple locations, or if they do, they are ones that already have a unified ChangeLog, such as "Fink/* and its subdirs". Personally, I'd be happy with unification, except for perlmods. Especially because I think there's a lot of messly layout there...I keep meaning to experiment with it, but simple things like "moving a file into a different directory" is a pain when there are multiple ChangeLog files. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel