ChangeLogging commits to CVS
Egbert Eich
eich at pdx.freedesktop.org
Tue Dec 14 07:39:22 PST 2004
Vladimir Dergachev writes:
>
>
> On Tue, 14 Dec 2004, Egbert Eich wrote:
>
> >
> > More or less by accident I came across commits to the X.Org
> > tree that have not been properly ChangeLogged.
> >
> > When we created this repository we made a - yet unwritten - rule
> > that every commit (maybe with the exception of simple typo fixes)
> > need to be ChangeLogged properly in the topmost ChangeLog file.
>
> Is there a way to tell CVS to print a message reminding to update
> ChangeLog on every commit ?
>
> Currently I see some error messages from some script complaining, so
> I think it might be possible.
Yes, it should be possible. However since the ChangeLog change should go
in with the commit it would be too late already.
>
> 1. Is it possible to put this script in tree next to ChangeLog ?
Hm, I don't know if we want to do that. It should be kept on an ftp server
and the web page describing the procedure should point to it.
Unfortunately the web page is too slow at the moment.
>
> 2. Is the use of the script required or optional ? I just find it easier
> to make a message by hand when only changing a small subset of tree.
> Especially as it might take a while for the script to work through entire
> tree..
>
That's true, on the other hand you get a nicely preformated template for
your commit message.
No, it is not mandatory as long as you use the same format for your
commits. However if you maintain a cvsup'ed repository locally (which you
will have to update before you do any commit) you can speed up this
procedure considerably by only letting the final commit go into the
master repository.
Cheers,
Egbert.
More information about the release-wranglers
mailing list