summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-February/002812.html
blob: fa43f36a4ea3c8c62d534639f551a65d4251310a (plain)
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] svn -&gt; bugzilla hook
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20svn%20-%3E%20bugzilla%20hook&In-Reply-To=%3CAANLkTimEqWas4%3DB7W%3Dgs-pFZCJkwkjOwgtN7H0ANpOHX%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002803.html">
   <LINK REL="Next"  HREF="002920.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] svn -&gt; bugzilla hook</H1>
    <B>Romain d'Alverny</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20svn%20-%3E%20bugzilla%20hook&In-Reply-To=%3CAANLkTimEqWas4%3DB7W%3Dgs-pFZCJkwkjOwgtN7H0ANpOHX%40mail.gmail.com%3E"
       TITLE="[Mageia-sysadm] svn -&gt; bugzilla hook">rdalverny at gmail.com
       </A><BR>
    <I>Mon Feb 21 22:59:17 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002803.html">[Mageia-sysadm] svn -&gt; bugzilla hook
</A></li>
        <LI>Next message: <A HREF="002920.html">[Mageia-sysadm] svn -&gt; bugzilla hook
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2812">[ date ]</a>
              <a href="thread.html#2812">[ thread ]</a>
              <a href="subject.html#2812">[ subject ]</a>
              <a href="author.html#2812">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Mon, Feb 21, 2011 at 08:47, Dexter Morgan &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">dmorganec at gmail.com</A>&gt; wrote:
&gt;<i> On Mon, Feb 21, 2011 at 8:09 AM, Michael Scherer &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>&gt; wrote:
</I>&gt;&gt;<i> On Mon, 21 Feb 2011 04:16:27 +0200, Ahmad Samir wrote:
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Are there any plans to add an svn -&gt; bugzilla hook? (like the one
</I>&gt;&gt;&gt;<i> that's used in Mandriva).
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> It proved to be useful as it:
</I>&gt;&gt;&gt;<i> - gives feedback to the reported
</I>&gt;&gt;&gt;<i> - makes is easy for anyone to see which commit is supposed to fix a
</I>&gt;&gt;&gt;<i> certain bug
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> No pressure, though, just putting the idea out there for when you have
</I>&gt;&gt;&gt;<i> the time to work on it.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> If you would gather the list of requirement for us, it will help.
</I>&gt;&gt;<i> Ie, what kind of hook would be useful, what syntax does already exist, etc.
</I>&gt;<i>
</I>&gt;<i> sound a good idea. &#160; Is there a wiki page where we could do this ?
</I>
You open it. Or Ahmad, he started the thread :-p

As for the requirements, I can't speak for Ahmad, but that may start
the picture.

I used to use Trac with such a Subversion post-commit hook, as documented here:
<A HREF="http://trac.edgewall.org/wiki/TracInstall#AutomaticreferencetotheSVNchangesetsinTractickets">http://trac.edgewall.org/wiki/TracInstall#AutomaticreferencetotheSVNchangesetsinTractickets</A>

In short:
 - having &quot;fixes #123&quot; or &quot;closes #123&quot; in the commit message would
add the comment to ticket #123 + a reference to the commit, and close
it;
 - having &quot;refs #123&quot; or &quot;see #123&quot; in the commit message would only
add the comment + a reference as well.

Now, with Bugzilla, that could be a bit more complex:
 * should we have a &quot;fixes #123 resolved&quot;? or is it implied?
 * we have to make sure that our revision id is understood and
correctly rewritten to the right URL
 * how to do we make Bugzilla understand that a specific commit
revision would map to a given Web URL for direct review? (interpreting
correctly whether it comes from a git or a svn scm; or others).

Checking <A HREF="https://wiki.mozilla.org/Bugzilla:Addons#Integration_with_Source_Code_Management_programs">https://wiki.mozilla.org/Bugzilla:Addons#Integration_with_Source_Code_Management_programs</A>
and then <A HREF="https://wiki.mozilla.org/Bugzilla:Addons#Bugzilla_Extensions">https://wiki.mozilla.org/Bugzilla:Addons#Bugzilla_Extensions</A>
there seems to be some tools but I could not see one that fits here
exactly.

Romain
</PRE>










































































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002803.html">[Mageia-sysadm] svn -&gt; bugzilla hook
</A></li>
	<LI>Next message: <A HREF="002920.html">[Mageia-sysadm] svn -&gt; bugzilla hook
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2812">[ date ]</a>
              <a href="thread.html#2812">[ thread ]</a>
              <a href="subject.html#2812">[ subject ]</a>
              <a href="author.html#2812">[ 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>