Regarding CVS -Urgent!!!!!

Christian Reis kiko at async.com.br
Mon Feb 10 14:51:21 UTC 2003


On Mon, Feb 10, 2003 at 02:27:41PM +0000, Dave Swegen wrote:
> The way I did it at work was to use the contrib/bugzilla_email_append.pl
> script which picks up mails from a script called by CVSROOT/loginfo.
> Works like a charm. I modified it to allow appending a commit log to
> multiple bugs.

Does it access the database directly?

> I really don't know which approach is the cleanest. One question,
> though: Does the CGI approach attribute commit logs to the correct
> person (i.e. not in the bug comment itself, but in the bug comment
> header)?

Well, you in theory can't do that via CGI as it would mean impersonating
a user. However, using the database directly would work. Or perhaps the
new backend separation offers an easy way to create arbitrary comments;
I haven't checked it out.

You could access the remote database over the network, of course, though
this requires opening your database server to external access.

> I'm in the process of cleaning the scripts up a tad (some other people
> want them too). Let me know if they would be of interest.

If you'd like to take this off my hands, I'm happy to. The bug relevant
in this case is:

    http://bugzilla.mozilla.org/show_bug.cgi?id=129765

Though it cites Bonsai I don't think bonsai is really important here -
the script should work even if bonsai isn't there.

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL



More information about the developers mailing list