Re: tracking changes



On Fri, Jun 18, 2004 at 12:15:57PM -0500 or thereabouts, Paisa Seeluangsawat wrote:
> I'm not aware of any th.po commit this month, but the
> status shews that Thai translations went up about 1%.
> 
> How can I find out which th.po files has been edited in
> the past two weeks?  Can I ask cvs to email me when
> someone makes change to a file?  I tried 'cvs watch
> add', but got an error.

There is a mailing list called cvs-commits-list gnome org
which is notified of every committed change to CVS. As you
might imagine, it has very high traffic. 

It can easily generate several hundred emails a day when we
are close to a release. They're usually only short emails
though. So if your mail account can stand that many emails
you could subscribe and use some sort of filter to look 
at only the emails you want to know about.

I use procmail and mutt (and I am not on a dialup link).
I do this. I am subscribed to cvs-commits-list. Then I use
procmail to sort all the list email to a single folder:

:0:
* X-BeenThere: cvs-commits-list gnome org
IN.cvs-commits

Then I use a mailer to sort all the mail in that folder. I use mutt.
I know the names of the people who commit to the cy.po (Welsh) files.
Unfortunately I can't tell mutt to sort emails by message body contents, 
as far as I know. So I can't tell it to sort through looking for emails
which mention cy.po. But I can tell it to sort by the subject contents.
And luckily for me, the committer names are always in the subject. So 
in my .muttrc I have this

folder-hook . set sort=threads  # The '.' is the default. You need it.
				# If you do not set a default, strange
				# things happen later.
folder-hook IN.cvs-commits set sort=score

folder-hook IN.cvs-commits "unscore .*"
folder-hook IN.cvs-commits "score '~s daf' 1"
folder-hook IN.cvs-commits "score '~s rhysj' 1"
folder-hook IN.cvs-commits "score '~s telsa' 1"

So this puts all the commits from people likely to mess with the
Welsh po files to the top of my mailbox in mutt. I expect there are
similar ways to do this in Evolution too.

Of course, anything else Rhys and Daf do will also end up at
the top of my mailbox as well. I wonder if they knew I was
stalking them?

If I knew how to do it in procmail, it would probably be better
to tell procmail to sort all the cvs-commits-list emails and then
to sort all the cvs-commits-list emails which have "cy.po" mentioned
in them into a different folder, or to assign them a score, or to
rewrite the subject lines to include "cy updates" or something.

But I don't know how to do that in procmail, so I don't do that :)

Anyway, sometimes I read a few other commits. (I also assign a
score to specific modules I am interested in.) So it works for
me. Your mileage may vary.

If you have the CVS module checked out, you can use your cvs
client ("cvs" on most Unix boxes) to ask for information about
a module. The man page mentions "cvs history", but my limited
experimentation isn't helping. (I did "cvs history cy.po" in a
directory I know contains a cy.po and got told "No records selected".) 

I am now curious how other people keep an eye on their favourite
translations or modules.

Telsa



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]