Bugzilla template problems

Ben Cooksley bcooksley at kde.org
Fri Oct 5 07:23:16 BST 2018


On Fri, Oct 5, 2018 at 9:07 AM Harald Sitter <sitter at kde.org> wrote:
>
> On Thu, Oct 4, 2018 at 6:14 PM Nate Graham <nate at kde.org> wrote:
> >
> > Can the template be overridden on a per-project basis?
>
> Yes.
>
> [% IF product.name == 'foobar' %]
> ...
> [% END %]
>
> I think making the template text more generically applicable is more
> reasonable though. Otherwise the about system bit can basically only
> be shown for plasma products as everything else may very well have
> (more) !plasma based users than plasma based ones. Also, adding
> per-project conditionals in the template is probably going to get a
> maintenance burden quickly.

I would very much rather prefer we avoid per-project templates as
that's definitely inviting a maintainability nightmare.

>
> Reference of the template language for prosperity:
> http://www.template-toolkit.org/docs/manual/index.html
>
> HS

Cheers,
Ben


More information about the kde-community mailing list