The Bugzilla VCS Extension
Max Kanat-Alexander
mkanat at bugzilla.org
Fri Sep 3 21:35:28 UTC 2010
On 09/03/2010 12:40 PM, Kristis Makris wrote:
> In my understanding, the VCS extension displays anything published in
> the version control system without means of controlling what is accepted
> in the version control system.
Right. It's a Bugzilla extension, so it's not interested in controlling
what goes on in the VCS. That's what other VCS hooks are for.
> I am happy to see that it is possible to view in Bugzilla version
> control information. I would like to understand how this capability can
> be programmed, and add, if possible, support in Scmbug to publish such
> VCS information in Bugzilla.
Ah, okay. :-) Look at the "hook.pl" script that's in the VCS extension.
It uses the "VCS.add_commit" WebService method. You can tell if the
extension is installed by calling the "Bugzilla.extensions" WebService
method.
> Is the VCS capability driven by some data inserted in the database ?
Yep.
> Would it be possible then for an external tool, like Scmbug, to be
> creating such data, synchronously, so that VCS autolinkification can
> appear in Bugzilla ?
It would be better to use the WebService method.
-Max
--
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.
More information about the developers
mailing list