--=-1TpAFIbwyvY0+s4L14k4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Am Montag, den 09.07.2012, 22:25 +0300 schrieb Itamar Heim:
On 07/09/2012 10:13 PM, Mike Burns wrote:
> On Mon, 2012-07-09 at 22:07 +0300, Itamar Heim wrote:
>> On 07/09/2012 01:44 PM, Mike Burns wrote:
>>> On Mon, 2012-07-09 at 07:55 +0300, Itamar Heim wrote:
>>>> On 07/06/2012 09:00 PM, Mike Burns wrote:
>>>>> On Fri, 2012-07-06 at 18:10 +0300, Itamar Heim wrote:
>>>>>> On 07/05/2012 02:48 PM, Fabian Deutsch wrote:
>>>>>>> Hey,
>>>>>>>
>>>>>>> I just noted that the public gerrit gitweb page is missing
the pu=
blic
>>>>>>> git url to a repo.
>>>>>>>
>>>>>>> E.g.: ovirt-node-tests
>>>>>>> Gitweb page:
http://gerrit.ovirt.org/gitweb?p=3Dovirt-node-tests.= git
>>>>>>>
>>>>>>> Names http and private git url:
>>>>>>>
http://gerrit.ovirt.org/p/ovirt-node-tests.git
>>>>>>> ssh://.../ovirt-node-tests.git
>>>>>>>
>>>>>>> Public git url (
git://gerrit.ovirt.org/ovirt-node-tests) is
missi=
ng.
>>>>>>> It would be nice if this url could also
be displayed, as git tran=
sport
>>>>>>> is faster than http.
>>>>>>>
>>>>>>
>>>>>> its the same for all projects, not just ovirt-node-tests.
>>>>>> find me how to configure it and i will...
>>>>>
>>>>> In the gitweb.conf (or the equivalent), set:
>>>>> our @git_base_url_list =3D
qw(git://gerrit.ovirt.org
>>>>>
ssh://gerrit.ovirt.org);
>>>>
>>>> I wish it was that easy...
>>>> gerrit passes its own (for example, you will get the ssh link from
>>>> gitweb if you are logged in to gerrit, etc.).
>>>> and it manipulates git_base_url_list accordingly.
>>>>
>>>>
http://code.google.com/p/gerrit/source/browse/gerrit-httpd/src/main/=
java/com/google/gerrit/httpd/gitweb/GitWebServlet.java
>>>
>>> Ahh, ok, I have my gitweb config independent of gerrit. Looks like y=
ou
>>> need GIT_ANONYMOUS_READ set and a git daemon url set.
Looking at [1]=
, i
>>> think you need download.scheme=3Danon_git and
>>>
gerrit.canonicalGitUrl=3Dgit://gerrit.ovirt.org set in etc/gerrit.con=
f.
>>
>> wouldn't changing canonicalGitUrl will cause the default one to stop
>> being web based for links?
>> today we have this as the default:
>> canonicalWebUrl =3D
http://gerrit.ovirt.org
>
> Should be 2 separate entries.
>
> canonicalWebUrl=3Dhttp://...
> canonicalGitUrl=3Dgit://...
=20
indeed.
done - check it out...
Thanks to you too, the link appears now!
Greetings
fabian
--=-1TpAFIbwyvY0+s4L14k4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAABAgAGBQJP/R8cAAoJEC9+uOgSHVGUhDQP/1ZvMcsFKMQDDusWh2xAnQY5
lvfbpobhPWG1TcLw7qBB1KeuABtX9ro4pdYEkSauybUpEhbRsAgQsM2DqOQOSff1
uHAzIaBAERCOCvUD1TxERiuGc0iztmjoPbOeS6QiUab5T8rgsJtpR3x+S9v7fv77
ajSOT2juxmWMm3znRBhoAx3aUuREwttwiqxJO31EQAMgaDNIsEjm/99wDNL8wle+
fNbMR/yMO+oxXuQnS1rK9Imw/pk1vpPHn0pRryi8r5iXFFnJa5RoOjBBGmlYq5wA
1Co/S/FUmRrWZzYhSVx3mpeBElnnGWDyNHYFQgKObRJiuEYKJpfxPelQOoRKn79G
oaU5XceJURfIiHvf5CM7NOFuLjLuhU8yqBONwyMk3i+fambW53zma4hMUuTypNwC
9u69Cv9w/5zDG4/6RsbsujOxlKtsmECBH3WB8RVpdQ4mpQf0sjKuFrk/g9l2mE0v
K0nDqYWiiv0Z2Cxiz0CDadetzsHeZWEeiANhee19mY2FqVV+uyHwaxEV+K/1IZ4T
aSU8yZtkaTg8QqfkKTw07FoYnoVldShk1Iv4xcTVre5mSP2dGDfLQ72SFFXKjINk
HgAlVVBRRuVFkeBy0X+PP4K0XFKvGd0qJ7wGq57tfb/wRvqWJ14dOIuQoeTJlOTC
+kEtW1UthdBYSTv2ofw4
=GOBK
-----END PGP SIGNATURE-----
--=-1TpAFIbwyvY0+s4L14k4--