Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315617 - git clone via http is not working for portage.git repository
Summary: git clone via http is not working for portage.git repository
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Infrastructure
URL: http://git.overlays.gentoo.org/gitroo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-16 15:36 UTC by Joachim Bartosik (RETIRED)
Modified: 2010-05-18 21:34 UTC (History)
0 users

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 Joachim Bartosik (RETIRED) gentoo-dev 2010-04-16 15:36:35 UTC
http://git.overlays.gentoo.org/gitroot/proj/portage.git/ responds with  "403 Forbidden" making it impossible to use Portage git via http.

Reproducible: Always

Steps to Reproduce:
1. Go to http://git.overlays.gentoo.org/gitroot/proj/portage.git/
2.
3.

Actual Results:  
Forbidden

You don't have permission to access /gitroot/proj/portage.git/ on this server.

Expected Results:  
Content of portage git repository.

git://git.overlays.gentoo.org/proj/portage.git works.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-04-16 15:43:12 UTC
Of course it will be 403 forbidden. You are not suppose to view that over the web.

The gitweb view is here: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=summary

The real error is this:
%% git clone http://git.overlays.gentoo.org/gitroot/proj/portage.git
Initialized empty Git repository in /tmp/.git/
fatal: http://git.overlays.gentoo.org/gitroot/proj/portage.git/info/refs not found: did you run git update-server-info on the server?
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-05-18 21:23:48 UTC
It works now, not sure what changed.

%% git clone http://git.overlays.gentoo.org/gitroot/proj/portage.git
Initialized empty Git repository in /tmp/test/portage/.git/
got 0b5d13e1d8510264b6f61bb9c8cb8d80c18bfcb2
Getting alternates list for http://git.overlays.gentoo.org/gitroot/proj/portage.git
walk 0b5d13e1d8510264b6f61bb9c8cb8d80c18bfcb2
Getting pack list for http://git.overlays.gentoo.org/gitroot/proj/portage.git
Getting index for pack e2b43099db86ac6d13c03819fe44550752992477
got 47aae6ac29ff2680ed3e0b2eebb3c17328278a77
<snip>
Comment 3 Joachim Bartosik (RETIRED) gentoo-dev 2010-05-18 21:34:25 UTC
It works for me too.