Gerrit's gitweb page is missing public git url

--=-h5gqC9RUSlIsOo4Sxuq9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hey, I just noted that the public gerrit gitweb page is missing the public git url to a repo.=20 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 missing. It would be nice if this url could also be displayed, as git transport is faster than http. Greetings fabian --=-h5gqC9RUSlIsOo4Sxuq9 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) iQIcBAABAgAGBQJP9X8qAAoJEC9+uOgSHVGU4pEP/3umJpRsi2gRLRUWR7A9rh3i A4mCmxp2VOuzQ5DsWho7tPXtZYMneP3kpjXIg5iH7bL2H/9HxtIxKnOOowaJNl5i 1CmcKXStKS0HcZFBCNGDGDKJXeOIq/gK5r1AUpNwDV2qfJ8tdX7Y6z4KT85J8eJF A4wxV2nY5kL/hQlofB8ILVEik8MAbsHyFg9NRdS/mPvxTMVkZj/RXtkadEtHJWMH LUrODKrbRg5fhJxgyJIsEamj31PHa+/b/j2TMVlpJ9BJR2FqOZ/yALmaf3Qlnqsq u9479gqqXGhCsdzpX2AHwAdxtKnYPKOXSQP/GWU4JZ0I8uHz5PFw4YFEA6NBWo/+ T0xIxM0daDrBGeOTUQfLAQavCDJbuhrMbglg3CF5nVUQCKXAptTW3X0WbN/HJaEh 8OlNsSTX2eUueaC3bKwrwEjwac3LhU2sE4Aot2UUIzEvuCMf2Sj5NgLo8hWFKVIK PfxHlY2bS6NvmAIk65tWhoKHo7AYBxGJtPu30e1ofa4WwaNOelgSYwWotGiPPq2C VceIc+IzQVXp4G9h6Om2m3Z3bkXoVUQVXbPKbVe0ehcZ/Ao6js5Xqr8blEAN7YlT yP9YCg5/69W20EdnJ8ezPCCOY+t6KVbFx23OFLv2NGVpHN0I6qXDFBkSm/r01UgV 7GBOAvEMQl6Vx4dharLP =xLkz -----END PGP SIGNATURE----- --=-h5gqC9RUSlIsOo4Sxuq9--

On 07/05/2012 02:48 PM, Fabian Deutsch wrote:
Hey,
I just noted that the public gerrit gitweb page is missing the public git url to a repo.
E.g.: ovirt-node-tests Gitweb page: http://gerrit.ovirt.org/gitweb?p=ovirt-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 missing. It would be nice if this url could also be displayed, as git transport is faster than http.
its the same for all projects, not just ovirt-node-tests. find me how to configure it and i will...
Greetings fabian
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

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 public git url to a repo.
E.g.: ovirt-node-tests Gitweb page: http://gerrit.ovirt.org/gitweb?p=ovirt-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 missing. It would be nice if this url could also be displayed, as git transport 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 = qw(git://gerrit.ovirt.org ssh://gerrit.ovirt.org); Mike
Greetings fabian
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

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 public git url to a repo.
E.g.: ovirt-node-tests Gitweb page: http://gerrit.ovirt.org/gitweb?p=ovirt-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 missing. It would be nice if this url could also be displayed, as git transport 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 = 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...
Mike
Greetings fabian
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

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 public git url to a repo.
E.g.: ovirt-node-tests Gitweb page: http://gerrit.ovirt.org/gitweb?p=ovirt-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 missing. It would be nice if this url could also be displayed, as git transport 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 = 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...
Ahh, ok, I have my gitweb config independent of gerrit. Looks like you need GIT_ANONYMOUS_READ set and a git daemon url set. Looking at [1], i think you need download.scheme=anon_git and gerrit.canonicalGitUrl=git://gerrit.ovirt.org set in etc/gerrit.conf. Mike https://review.typo3.org/Documentation/config-gerrit.html
Mike
Greetings fabian
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

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 public git url to a repo.
E.g.: ovirt-node-tests Gitweb page: http://gerrit.ovirt.org/gitweb?p=ovirt-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 missing. It would be nice if this url could also be displayed, as git transport 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 = 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...
Ahh, ok, I have my gitweb config independent of gerrit. Looks like you need GIT_ANONYMOUS_READ set and a git daemon url set. Looking at [1], i think you need download.scheme=anon_git and gerrit.canonicalGitUrl=git://gerrit.ovirt.org set in etc/gerrit.conf.
wouldn't changing canonicalGitUrl will cause the default one to stop being web based for links? today we have this as the default: canonicalWebUrl = http://gerrit.ovirt.org
Mike
https://review.typo3.org/Documentation/config-gerrit.html
Mike
Greetings fabian
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

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 public git url to a repo.
E.g.: ovirt-node-tests Gitweb page: http://gerrit.ovirt.org/gitweb?p=ovirt-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 missing. It would be nice if this url could also be displayed, as git transport 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 = 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...
Ahh, ok, I have my gitweb config independent of gerrit. Looks like you need GIT_ANONYMOUS_READ set and a git daemon url set. Looking at [1], i think you need download.scheme=anon_git and gerrit.canonicalGitUrl=git://gerrit.ovirt.org set in etc/gerrit.conf.
wouldn't changing canonicalGitUrl will cause the default one to stop being web based for links? today we have this as the default: canonicalWebUrl = http://gerrit.ovirt.org
Should be 2 separate entries. canonicalWebUrl=http://... canonicalGitUrl=git://...
Mike
https://review.typo3.org/Documentation/config-gerrit.html
Mike
Greetings fabian
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

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 public > git url to a repo. > > E.g.: ovirt-node-tests > Gitweb page: http://gerrit.ovirt.org/gitweb?p=ovirt-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 missing. > It would be nice if this url could also be displayed, as git transport > 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 = 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...
Ahh, ok, I have my gitweb config independent of gerrit. Looks like you need GIT_ANONYMOUS_READ set and a git daemon url set. Looking at [1], i think you need download.scheme=anon_git and gerrit.canonicalGitUrl=git://gerrit.ovirt.org set in etc/gerrit.conf.
wouldn't changing canonicalGitUrl will cause the default one to stop being web based for links? today we have this as the default: canonicalWebUrl = http://gerrit.ovirt.org
Should be 2 separate entries.
canonicalWebUrl=http://... canonicalGitUrl=git://...
indeed. done - check it out...

On Mon, 2012-07-09 at 22:25 +0300, Itamar Heim wrote:
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 public >> git url to a repo. >> >> E.g.: ovirt-node-tests >> Gitweb page: http://gerrit.ovirt.org/gitweb?p=ovirt-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 missing. >> It would be nice if this url could also be displayed, as git transport >> 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 = 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...
Ahh, ok, I have my gitweb config independent of gerrit. Looks like you need GIT_ANONYMOUS_READ set and a git daemon url set. Looking at [1], i think you need download.scheme=anon_git and gerrit.canonicalGitUrl=git://gerrit.ovirt.org set in etc/gerrit.conf.
wouldn't changing canonicalGitUrl will cause the default one to stop being web based for links? today we have this as the default: canonicalWebUrl = http://gerrit.ovirt.org
Should be 2 separate entries.
canonicalWebUrl=http://... canonicalGitUrl=git://...
indeed. done - check it out...
Looks good to me. ;-)
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

--=-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--
participants (3)
-
Fabian Deutsch
-
Itamar Heim
-
Mike Burns