Message from discussion
Is it possible to link to a gerrit change-id?
Received: by 10.68.227.166 with SMTP id sb6mr15480485pbc.4.1332192396831;
Mon, 19 Mar 2012 14:26:36 -0700 (PDT)
X-BeenThere: repo-discuss@googlegroups.com
Received: by 10.68.141.76 with SMTP id rm12ls8110500pbb.4.gmail; Mon, 19 Mar
2012 14:26:34 -0700 (PDT)
Received: by 10.68.235.4 with SMTP id ui4mr15457805pbc.3.1332192394087;
Mon, 19 Mar 2012 14:26:34 -0700 (PDT)
Received: by 10.68.235.4 with SMTP id ui4mr15457804pbc.3.1332192394075;
Mon, 19 Mar 2012 14:26:34 -0700 (PDT)
Return-Path: <jaxel...@referentia.com>
Received: from exprod8og114.obsmtp.com (exprod8og114.obsmtp.com. [64.18.3.28])
by gmr-mx.google.com with SMTP id a5si4293457pbd.0.2012.03.19.14.26.33
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 19 Mar 2012 14:26:34 -0700 (PDT)
Received-SPF: pass (google.com: domain of jaxel...@referentia.com designates 64.18.3.28 as permitted sender) client-ip=64.18.3.28;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jaxel...@referentia.com designates 64.18.3.28 as permitted sender) smtp.mail=jaxel...@referentia.com
Received: from mail-yw0-f46.google.com ([209.85.213.46]) (using TLSv1) by exprod8ob114.postini.com ([64.18.7.12]) with SMTP
ID DSNKT2ekiZPElQtxYFNrT6Jx8VNl9RikJ...@postini.com; Mon, 19 Mar 2012 14:26:33 PDT
Received: by yhmm54 with SMTP id m54so5941231yhm.19
for <repo-discuss@googlegroups.com>; Mon, 19 Mar 2012 14:26:32 -0700 (PDT)
d=google.com; s=20120113;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:cc:content-type:content-transfer-encoding:x-gm-message-state;
bh=gOIcdbavU9RKOw1DSPR1ksvCadCuVQ16LWObbDScP1M=;
b=RNaXrweKZbyXQ8RxBhVJSila48mvJLNohVBtr+YO3iWvr5IX/43LuZNl/Jt1uiQjUj
YNBUFh9M7c59v+gTP6399vZd/7RqfeupYx/NY8yLV4c3ClwbBgYNPW0bYMhyXArjqN8h
07jmLptNzWMihfiPS+PXILq5vzDdGAvXqlBRP+h9woCh0/Tmw6lH2N5YmA3GgBVgRZS9
lkWiiF20rxLc34cZckyq9akAVGSX6HzrEpIxBcqukMbQTRsJHal+acWk27uZ8OXY5Nql
iALHjRuQ5DGgiEHr930oygFxYuYyvuOKce8dHXjl17u2BBaZ/9bP5u7pwc11J3CvvZdS
isuA==
Received: by 10.236.156.232 with SMTP id m68mr13695446yhk.97.1332192392822;
Mon, 19 Mar 2012 14:26:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.236.66.107 with HTTP; Mon, 19 Mar 2012 14:26:02 -0700 (PDT)
In-Reply-To: <28356408.2309.1331986865213.JavaMail.geo-discussion-forums@vbue17>
References: <CAC9ii1oOriMf-aq5z9ssEa1u7W7XX1jVNmuZJLfJQwa2gKB...@mail.gmail.com>
<CAH+XAAoovdt2b2x_r0WB1ZSoYOfy8dNDNMKUo+vuHOQA2LK...@mail.gmail.com> <28356408.2309.1331986865213.JavaMail.geo-discussion-forums@vbue17>
From: Jason Axelson <jaxel...@referentia.com>
Date: Mon, 19 Mar 2012 11:26:02 -1000
Message-ID: <CAC9ii1ottWmAJ+6SCNPE=-Z+LBM2QiBEAYoCB8pYLPUTjGU...@mail.gmail.com>
Subject: Re: Is it possible to link to a gerrit change-id?
To: Thomas Broyer <t.bro...@gmail.com>
Cc: repo-discuss@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQnbHJIXjVi17kypEU1simEh+AKLAwWkZdqf7+B6EFMpR/MpzYpL6iSXLULWd40bR76+usx7
Thanks!
Both of these work:
/r/$2
/#/q/$2,n,z
I've decided to go with "/r/$2" since it's simplest and is easier to
migrate off of because it doesn't rely on having client-side
javascript.
On Sat, Mar 17, 2012 at 2:21 AM, Thomas Broyer <t.bro...@gmail.com> wrote:
> <snip>
> BTW, that's what's in the examples
> at=A0http://gerrit-documentation.googlecode.com/svn/Documentation/2.3/con=
fig-gerrit.html#_a_id_commentlink_a_section_commentlink
> (er, well, except using a comma instead of the slash after the 'q':
> #q,$2,n,z)
Thanks for pointing that out. I did look fairly extensively at the
documentation but I didn't think to look at the section about
configuring gerrit itself. Maybe some sort of specific gerrit url
documentation would be possible to add?
Jason