Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-03

Changelog question

8 messages · 6 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Michal Bukovjan: Would it be possible to remove the ever-repeating changelogs from the end of each file…
Michal Bukovjan wrote 11 lines
Hi, Would it be possible to remove the ever-repeating changelogs from the end of each file and perhaps create a separate Changelog file? It is inconvenient for me (and I bet for others as well :-) when I grep sources for something and find it several times in changelogs only in unrelated files :-( I don't have any experience in setting up CVS server, so cannot say how, though. If someone is able to do that, please do.

You should remove the line with

$Log:$

at the end of the file and the log will no longer be appended.

Making a separate changelog can be done in several ways.

For FPC a changelog is generated once a day by a cron job, I think.

I can start such a job for lazarus if you want.

Michael.

Reply by email

Shane Miller
to Michael Van Canneyt

Deleting the lines at the end and re-committing them won't work?

Shane

Earlier message 41 lines
----- Original Message ----- From: "Michael Van Canneyt" To: Sent: Tuesday, March 19, 2002 9:09 AM Subject: Re: [lazarus] Changelog question > > > On Tue, 19 Mar 2002, Michal Bukovjan wrote: > > > Hi, > > > > Would it be possible to remove the ever-repeating changelogs from the > > end of each file and perhaps create a separate Changelog file? > > > > It is inconvenient for me (and I bet for others as well :-) when I grep > > sources for something and find it several times in changelogs only in > > unrelated files :-( > > > > I don't have any experience in setting up CVS server, so cannot say how, > > though. If someone is able to do that, please do. > > You should remove the line with > > $Log:$ > > at the end of the file and the log will no longer be appended. > > Making a separate changelog can be done in several ways. > > For FPC a changelog is generated once a day by a cron job, I think. > > I can start such a job for lazarus if you want. > > Michael. > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Michal Bukovjan

Hi,

Would it be possible to remove the ever-repeating changelogs from the end of each file and perhaps create a separate Changelog file?

It is inconvenient for me (and I bet for others as well :-) when I grep sources for something and find it several times in changelogs only in unrelated files :-(

I don't have any experience in setting up CVS server, so cannot say how, though. If someone is able to do that, please do.

Michal Bukovjan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00013.bin
Type: application/octet-stream
Size: 3253 bytes
Desc: "S/MIME Cryptographic Signature"
Url : http://localhost/pipermail/lazarus/attachments/20020319/e3276c48/bin00013.bin

Reply by email

Peter Vreman
to Marco van de Voort: Being able to see the revision of each file in each file is very handy for developpers.…
Show quoted text 7 lines
>>Would it be possible to remove the ever-repeating changelogs from the >>end of each file and perhaps create a separate Changelog file? And as I said, I am bothered when I grep for some expression and find this expression in always longer changelogs, copied across multiple files. It makes 'grep' often useless. Lazarus is the only project that does this I've seen so far.

With the compiler we use it also, it's very easy because you can search for $Log and check what was changed in that file without opening to a different Changelog file.

But there is also a small util in the compiler/utils/ subdir called fixlog.pp that can remove all old logs after X revisions or logs older than date Y. This will reduce the amount of logs

Peter

Reply by email

Peter Vreman
to Michal Bukovjan: Would it be possible to remove the ever-repeating changelogs from the end of each file…
Show quoted text 6 lines
Making a separate changelog can be done in several ways. For FPC a changelog is generated once a day by a cron job, I think. I can start such a job for lazarus if you want.

That's correct. The Changelog is generate using the tool cvslog and runs everynight on ftp.freepascal.org and retrieves the log using the "cvs log" command and then generates the Changelog and commits it to cvs.

Peter

Reply by email

Marc Weustink
to Michal Bukovjan: Would it be possible to remove the ever-repeating changelogs from the end of each file…
Michal Bukovjan wrote 6 lines
Hi, Would it be possible to remove the ever-repeating changelogs from the end of each file and perhaps create a separate Changelog file? It is inconvenient for me (and I bet for others as well :-)

I don't think so, I'm using (and possibly others) to see who (and sometimes what) is changed. Whithout looking in cvs it is easy to find out who has committed the changes one doen't understand ot (worse) don't compile.

If you ask me, I won't remove the Log statements.

when I grep sources for something and find it several times in changelogs only in unrelated files :-(

Only had this one or two times. In any ccase to little to annoy.

I don't have any experience in setting up CVS server, so cannot say how, though. If someone is able to do that, please do.

Marc

Reply by email

Michal Bukovjan
to Marco van de Voort: Being able to see the revision of each file in each file is very handy for developpers.…
Marco van de Voort wrote 13 lines
>Would it be possible to remove the ever-repeating changelogs from the >end of each file and perhaps create a separate Changelog file? > Being able to see the revision of each file in each file is very handy for developpers. This is not something one usually sees until somebody is submitting patches or changing things in CVS. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

I agree. But in current state, you see revisions to other files (i.e. these are misplaced), so it is not very useful.

And as I said, I am bothered when I grep for some expression and find this expression in always longer changelogs, copied across multiple files. It makes 'grep' often useless.

Lazarus is the only project that does this I've seen so far.

Michal

Reply by email