summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-February/002920.html
blob: 1f2ebfd6f16ecacf4de5eb4da1d80d8c908212c1 (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
<!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=%3CAANLkTikLkhS-MnN6OP2FWKZp3WPawO4m66BuyoNyyDQf%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="002812.html">
   <LINK REL="Next"  HREF="002889.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] svn -&gt; bugzilla hook</H1>
    <B>Ahmad Samir</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20svn%20-%3E%20bugzilla%20hook&In-Reply-To=%3CAANLkTikLkhS-MnN6OP2FWKZp3WPawO4m66BuyoNyyDQf%40mail.gmail.com%3E"
       TITLE="[Mageia-sysadm] svn -&gt; bugzilla hook">ahmadsamir3891 at gmail.com
       </A><BR>
    <I>Thu Feb 24 21:29:36 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002812.html">[Mageia-sysadm] svn -&gt; bugzilla hook
</A></li>
        <LI>Next message: <A HREF="002889.html">[Mageia-sysadm] Cron &lt;root at krampouezh&gt; /usr/sbin/urpmi.update -a -q
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2920">[ date ]</a>
              <a href="thread.html#2920">[ thread ]</a>
              <a href="subject.html#2920">[ subject ]</a>
              <a href="author.html#2920">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 21 February 2011 23:59, Romain d'Alverny &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">rdalverny at gmail.com</A>&gt; wrote:
&gt;<i> 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:
</I>&gt;&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;&gt;<i> On Mon, 21 Feb 2011 04:16:27 +0200, Ahmad Samir wrote:
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Are there any plans to add an svn -&gt; bugzilla hook? (like the one
</I>&gt;&gt;&gt;&gt;<i> that's used in Mandriva).
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> It proved to be useful as it:
</I>&gt;&gt;&gt;&gt;<i> - gives feedback to the reported
</I>&gt;&gt;&gt;&gt;<i> - makes is easy for anyone to see which commit is supposed to fix a
</I>&gt;&gt;&gt;&gt;<i> certain bug
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> No pressure, though, just putting the idea out there for when you have
</I>&gt;&gt;&gt;&gt;<i> the time to work on it.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> If you would gather the list of requirement for us, it will help.
</I>&gt;&gt;&gt;<i> Ie, what kind of hook would be useful, what syntax does already exist, etc.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> sound a good idea. &#160; Is there a wiki page where we could do this ?
</I>&gt;<i>
</I>&gt;<i> You open it. Or Ahmad, he started the thread :-p
</I>&gt;<i>
</I>&gt;<i> As for the requirements, I can't speak for Ahmad, but that may start
</I>&gt;<i> the picture.
</I>&gt;<i>
</I>&gt;<i> I used to use Trac with such a Subversion post-commit hook, as documented here:
</I>&gt;<i> <A HREF="http://trac.edgewall.org/wiki/TracInstall#AutomaticreferencetotheSVNchangesetsinTractickets">http://trac.edgewall.org/wiki/TracInstall#AutomaticreferencetotheSVNchangesetsinTractickets</A>
</I>&gt;<i>
</I>&gt;<i> In short:
</I>&gt;<i> &#160;- having &quot;fixes #123&quot; or &quot;closes #123&quot; in the commit message would
</I>&gt;<i> add the comment to ticket #123 + a reference to the commit, and close
</I>&gt;<i> it;
</I>&gt;<i> &#160;- having &quot;refs #123&quot; or &quot;see #123&quot; in the commit message would only
</I>&gt;<i> add the comment + a reference as well.
</I>&gt;<i>
</I>&gt;<i> Now, with Bugzilla, that could be a bit more complex:
</I>&gt;<i> &#160;* should we have a &quot;fixes #123 resolved&quot;? or is it implied?
</I>&gt;<i> &#160;* we have to make sure that our revision id is understood and
</I>&gt;<i> correctly rewritten to the right URL
</I>&gt;<i> &#160;* how to do we make Bugzilla understand that a specific commit
</I>&gt;<i> revision would map to a given Web URL for direct review? (interpreting
</I>&gt;<i> correctly whether it comes from a git or a svn scm; or others).
</I>&gt;<i>
</I>&gt;<i> 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>
</I>&gt;<i> and then <A HREF="https://wiki.mozilla.org/Bugzilla:Addons#Bugzilla_Extensions">https://wiki.mozilla.org/Bugzilla:Addons#Bugzilla_Extensions</A>
</I>&gt;<i> there seems to be some tools but I could not see one that fits here
</I>&gt;<i> exactly.
</I>&gt;<i>
</I>
Sorry for the late reply.

I don't know how the under-the-hood stuff work with respect to this
issue. What I know is how it was used in mdv, adding:
CCBUG: #123
on a separate line.

Or (mdv#123) would post a comment to bugzilla, e.g.:

<A HREF="https://qa.mandriva.com/show_bug.cgi?id=61384#c27">https://qa.mandriva.com/show_bug.cgi?id=61384#c27</A>

-- 
Ahmad Samir
</PRE>



<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002812.html">[Mageia-sysadm] svn -&gt; bugzilla hook
</A></li>
	<LI>Next message: <A HREF="002889.html">[Mageia-sysadm] Cron &lt;root at krampouezh&gt; /usr/sbin/urpmi.update -a -q
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2920">[ date ]</a>
              <a href="thread.html#2920">[ thread ]</a>
              <a href="subject.html#2920">[ subject ]</a>
              <a href="author.html#2920">[ 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>