1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
<!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=%3C20101126211731.GC15726%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="000980.html">
<LINK REL="Next" HREF="000969.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=%3C20101126211731.GC15726%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:17:31 CET 2010</I>
<P><UL>
<LI>Previous message: <A HREF="000980.html">[Mageia-sysadm] [477] do snapshots of the custom bugzilla template
</A></li>
<LI>Next message: <A HREF="000969.html">[Mageia-sysadm] Puppet Report for alamut.mageia.org
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#981">[ date ]</a>
<a href="thread.html#981">[ thread ]</a>
<a href="subject.html#981">[ subject ]</a>
<a href="author.html#981">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Fri, Nov 26, 2010 at 10:00:41PM +0100, Michael scherer wrote:
><i> On Fri, Nov 26, 2010 at 08:42:32PM +0100, Dexter Morgan wrote:
</I>><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>
</I>><i> I suggest to either use bugzilla facility to use any directory ( but a quick check
</I>><i> of the code show that bugzilla do not support it, while this seems to be quite easy to do by adding
</I>><i> some code to Bugzilla/Constants.pm ), or to use a extension ( which will then give a
</I>><i> /var/ directory as result to the call of template_dir ).
</I>><i>
</I>><i> Extensions seems safer to me, but that would still requires fiddling
</I>><i> with /usr to add the extension. I am not sure it can be done by some
</I>><i> PERL5LIB magic. And the fact that no one even commented on this
</I>><i> 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> )
</I>><i> do let me much hope :/
</I>><i>
</I>><i> A third option would be to use PERL5LIB to shortcircuit Bugzilla::Constants.
</I>><i>
</I>Or a soft link + bug report at mdv, as I think this is the kind of fix that
could be accepted by Guillaume ( bugzilla maintainer, iirc ), thus reducing
the need on our side to change the rpm
( and so, reducing our work when upgrading, and when doing security update ).
--
Michael Scherer
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000980.html">[Mageia-sysadm] [477] do snapshots of the custom bugzilla template
</A></li>
<LI>Next message: <A HREF="000969.html">[Mageia-sysadm] Puppet Report for alamut.mageia.org
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#981">[ date ]</a>
<a href="thread.html#981">[ thread ]</a>
<a href="subject.html#981">[ subject ]</a>
<a href="author.html#981">[ 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>
|