On Tue, 2009-12-22 at 08:47 +0100, Thorsten Schöning wrote: > Guten Tag Kristis Makris, > am Montag, 21. Dezember 2009 um 17:17 schrieben Sie: > > > I think I'm starting to lean towards adding support in the glue > > installer the ability to apply a patch against various versions of > > bug-trackers to add the autolinkification. So that people won't have to > > manually edit bug-tracker code and debug to get it right. > > > How does this sound ? > > If your patches consider just changing templates it sounds good. > Bugzilla is a good example: Most docs regarding autolinkification > stated that it's necessary to change Bugzilla's codebase, which is > not. You can achieve auto linkification for different viewers by just > changing templates of Bugzilla and customizing templates is officially > supported in Bugzilla's architecture. Is there any bug tracker > supported by SCMBug which doesn't have a flexible template engine and > doesn't support customizing those? > > I wouldn't want SCMBug to patch Bugzilla's core just for > autolinkification because that is one more place where you have to > maintain compability with Bugzilla's release cycle. Fully supporting > Bugzilla 3.4 without the need to apply patches manually is more > important, in my mind, and everything that reduces the complexity in > the dependency between SCMBug and different bugtracker releases > should be welcome. You were always interested in using the official > bugtracker api for example and didn't work directly on the database, > patching bugtracker's core seems like a contrary solution to me. > > Maybe the first thing to do is get a list of people who are > interested in autolinkification, or already use it, and which software > they use as bugtracker and repository viewer? This way we get an idea > which software combinations need patches of the used bugtracker core, > which just need template changes etc. > > I use WebSVN 2.1 and Bugzilla 2.22.x and autolinkification is working > with template changes. > > Mit freundlichen Grüßen, > > Thorsten Schöning > Hi Kristis,
I fully agree with Thorsten. You should only use the public API and/or configuration files to accomplish this. I have patched Bugzilla 2.22 to get autolinkification in ViewVC (seems I could have done this with templates?!) and it's now holding me back to upgrade my Bugzilla. There's one thing, though, that I'm wondering about: how stable are these user-configurable templates w.r.t. to API-changes? I guess it's OK if it's an officially supported feature, but it's good to check this, also for other bug trackers. Best regards, Marcel Loose. _______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
