diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000980.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-November/000980.html | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000980.html b/zarb-ml/mageia-sysadm/2010-November/000980.html new file mode 100644 index 000000000..636c07559 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000980.html @@ -0,0 +1,117 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [477] do snapshots of the custom bugzilla template + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B477%5D%20do%20snapshots%20of%20the%20custom%20bugzilla%0A%20template&In-Reply-To=%3C20101126210041.GB15726%40sisay.ephaone.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000979.html"> + <LINK REL="Next" HREF="000981.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [477] do snapshots of the custom bugzilla template</H1> + <B>Michael scherer</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B477%5D%20do%20snapshots%20of%20the%20custom%20bugzilla%0A%20template&In-Reply-To=%3C20101126210041.GB15726%40sisay.ephaone.org%3E" + TITLE="[Mageia-sysadm] [477] do snapshots of the custom bugzilla template">misc at zarb.org + </A><BR> + <I>Fri Nov 26 22:00:41 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000979.html">[Mageia-sysadm] [477] do snapshots of the custom bugzilla template +</A></li> + <LI>Next message: <A HREF="000981.html">[Mageia-sysadm] [477] do snapshots of the custom bugzilla template +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#980">[ date ]</a> + <a href="thread.html#980">[ thread ]</a> + <a href="subject.html#980">[ subject ]</a> + <a href="author.html#980">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Fri, Nov 26, 2010 at 08:42:32PM +0100, Dexter Morgan wrote: +><i> On Fri, Nov 26, 2010 at 7:42 PM, Michael scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>> wrote: +</I>><i> > On Fri, Nov 26, 2010 at 04:03:12PM +0100, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at mageia.org</A> wrote: +</I>><i> >> Revision: 477 +</I>><i> >> Author:   dmorgan +</I>><i> >> Date:     2010-11-26 16:03:12 +0100 (Fri, 26 Nov 2010) +</I>><i> >> Log Message: +</I>><i> >> ----------- +</I>><i> >> do snapshots of the custom bugzilla template +</I>><i> >> +</I>><i> >> Modified Paths: +</I>><i> >> -------------- +</I>><i> >>     puppet/modules/bugzilla/manifests/init.pp +</I>><i> >> +</I>><i> >> Modified: puppet/modules/bugzilla/manifests/init.pp +</I>><i> >> =================================================================== +</I>><i> >> --- puppet/modules/bugzilla/manifests/init.pp 2010-11-26 12:48:53 UTC (rev 476) +</I>><i> >> +++ puppet/modules/bugzilla/manifests/init.pp 2010-11-26 15:03:12 UTC (rev 477) +</I>><i> >> @@ -1,5 +1,7 @@ +</I>><i> >>  class bugzilla { +</I>><i> >> +</I>><i> >> +   $bugzilla_location = "/usr/share/bugzilla/template/en/custom" +</I>><i> >> + +</I>><i> > +</I>><i> > IMHO, /usr is not really the good place for this, as it should be kept +</I>><i> > for the distribution : +</I>><i> > <A HREF="http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE18">http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE18</A> +</I>><i> > +</I>><i> > According to FHS, this would rather go to /var/. +</I>><i> > +</I>><i> > -- +</I>><i> > Michael Scherer +</I>><i> +</I>><i> hi, +</I>><i> +</I>><i> the issue here is that bugzilla is directly installed here. you +</I>><i> suggest we change the rpm ? +</I> +I suggest to either use bugzilla facility to use any directory ( but a quick check +of the code show that bugzilla do not support it, while this seems to be quite easy to do by adding +some code to Bugzilla/Constants.pm ), or to use a extension ( which will then give a +/var/ directory as result to the call of template_dir ). + +Extensions seems safer to me, but that would still requires fiddling +with /usr to add the extension. I am not sure it can be done by some +PERL5LIB magic. And the fact that no one even commented on this +3 years old bug report ( <A HREF="https://bugzilla.mozilla.org/show_bug.cgi?id=370447">https://bugzilla.mozilla.org/show_bug.cgi?id=370447</A> ) +do let me much hope :/ + +A third option would be to use PERL5LIB to shortcircuit Bugzilla::Constants. + +><i> should we wait for mageia to start or we do a custom rpm for now ? +</I> +I think a extension can be done without touching to bugzilla rpm. + +But IMHO, bugzilla should be able to read template from a custom directory, +like transifex or any catalyst application ( ie, like everything we have +deployed so far except bugzilla ). + +-- +Michael Scherer +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000979.html">[Mageia-sysadm] [477] do snapshots of the custom bugzilla template +</A></li> + <LI>Next message: <A HREF="000981.html">[Mageia-sysadm] [477] do snapshots of the custom bugzilla template +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#980">[ date ]</a> + <a href="thread.html#980">[ thread ]</a> + <a href="subject.html#980">[ subject ]</a> + <a href="author.html#980">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |