Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375885 - Better error message on anon clone of wrong url
Summary: Better error message on anon clone of wrong url
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Gentoo Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Overlays Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-21 16:09 UTC by Petteri Räty (RETIRED)
Modified: 2011-07-22 12:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2011-07-21 16:09:59 UTC
$ git clone http://git.overlays.gentoo.org/gitroot/council-webapp
Cloning into council-webapp...
fatal: http://git.overlays.gentoo.org/gitroot/council-webapp/info/refs not found: did you run git update-server-info on the server?

Reproducible: Always
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2011-07-21 16:43:38 UTC
The repo is proj/council-webapp.

$ git clone http://git.overlays.gentoo.org/gitroot/proj/council-webapp.git
works
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2011-07-21 18:04:46 UTC
(In reply to comment #1)
> The repo is proj/council-webapp.
> 
> $ git clone http://git.overlays.gentoo.org/gitroot/proj/council-webapp.git
> works

Is it possible to improve the error message? I changed the summary to reflect this.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-07-21 21:47:26 UTC
Where did you get that URL?

The URL on the overlays page clearly has .git on the end.
http://git.overlays.gentoo.org/gitweb/?p=proj/council-webapp.git;a=summary

The message you get came from your git client, not from the server.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2011-07-22 08:03:46 UTC
(In reply to comment #3)
> Where did you get that URL?
> 
> The URL on the overlays page clearly has .git on the end.
> http://git.overlays.gentoo.org/gitweb/?p=proj/council-webapp.git;a=summary
> 
> The message you get came from your git client, not from the server.

By extrapolating from the ssh url unsuccessfully. Yeah seems like the git usability sucks like usual.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-07-22 08:07:09 UTC
The SSH url has .git on the end as well. Where did you get the SSH url without the .git?
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2011-07-22 08:16:31 UTC
(In reply to comment #5)
> The SSH url has .git on the end as well. Where did you get the SSH url without
> the .git?

PEBKAC
Comment 7 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-07-22 12:35:00 UTC
(In reply to comment #5)
> The SSH url has .git on the end as well. Where did you get the SSH url without
> the .git?

gitolite doesn't need .git