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 -> 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 -> 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 -> 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 -> bugzilla hook
</A></li>
<LI>Next message: <A HREF="002889.html">[Mageia-sysadm] Cron <root at krampouezh> /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 <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">rdalverny at gmail.com</A>> wrote:
><i> On Mon, Feb 21, 2011 at 08:47, Dexter Morgan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">dmorganec at gmail.com</A>> wrote:
</I>>><i> On Mon, Feb 21, 2011 at 8:09 AM, Michael Scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>> wrote:
</I>>>><i> On Mon, 21 Feb 2011 04:16:27 +0200, Ahmad Samir wrote:
</I>>>>><i>
</I>>>>><i> Are there any plans to add an svn -> bugzilla hook? (like the one
</I>>>>><i> that's used in Mandriva).
</I>>>>><i>
</I>>>>><i> It proved to be useful as it:
</I>>>>><i> - gives feedback to the reported
</I>>>>><i> - makes is easy for anyone to see which commit is supposed to fix a
</I>>>>><i> certain bug
</I>>>>><i>
</I>>>>><i> No pressure, though, just putting the idea out there for when you have
</I>>>>><i> the time to work on it.
</I>>>><i>
</I>>>><i> If you would gather the list of requirement for us, it will help.
</I>>>><i> Ie, what kind of hook would be useful, what syntax does already exist, etc.
</I>>><i>
</I>>><i> sound a good idea.   Is there a wiki page where we could do this ?
</I>><i>
</I>><i> You open it. Or Ahmad, he started the thread :-p
</I>><i>
</I>><i> As for the requirements, I can't speak for Ahmad, but that may start
</I>><i> the picture.
</I>><i>
</I>><i> I used to use Trac with such a Subversion post-commit hook, as documented here:
</I>><i> <A HREF="http://trac.edgewall.org/wiki/TracInstall#AutomaticreferencetotheSVNchangesetsinTractickets">http://trac.edgewall.org/wiki/TracInstall#AutomaticreferencetotheSVNchangesetsinTractickets</A>
</I>><i>
</I>><i> In short:
</I>><i>  - having "fixes #123" or "closes #123" in the commit message would
</I>><i> add the comment to ticket #123 + a reference to the commit, and close
</I>><i> it;
</I>><i>  - having "refs #123" or "see #123" in the commit message would only
</I>><i> add the comment + a reference as well.
</I>><i>
</I>><i> Now, with Bugzilla, that could be a bit more complex:
</I>><i>  * should we have a "fixes #123 resolved"? or is it implied?
</I>><i>  * we have to make sure that our revision id is understood and
</I>><i> correctly rewritten to the right URL
</I>><i>  * how to do we make Bugzilla understand that a specific commit
</I>><i> revision would map to a given Web URL for direct review? (interpreting
</I>><i> correctly whether it comes from a git or a svn scm; or others).
</I>><i>
</I>><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>><i> and then <A HREF="https://wiki.mozilla.org/Bugzilla:Addons#Bugzilla_Extensions">https://wiki.mozilla.org/Bugzilla:Addons#Bugzilla_Extensions</A>
</I>><i> there seems to be some tools but I could not see one that fits here
</I>><i> exactly.
</I>><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 -> bugzilla hook
</A></li>
<LI>Next message: <A HREF="002889.html">[Mageia-sysadm] Cron <root at krampouezh> /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>
|