Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] egit.eclipse.org now running smart HTTP

2010/1/16 Shawn O. Pearce <spearce@xxxxxxxxxxx>
egit.eclipse.org is now running the smart HTTP implementation we
just merged into JGit earlier this week.  Its fully integrated into
Gerrit Code Review, so you should be able to use it as a replacement
for the SSH server.

Project URLs are listed in gitweb, but its basically:

 http://egit.eclipse.org/r/p/jgit.git
 http://egit.eclipse.org/r/p/egit.git

Authentication for push is HTTP digest using username/password.
You can generate a password from the identities tab in the web UI:

 http://egit.eclipse.org/r/#settings,web-identities

This is all pretty early experimental stuff... I'm not running this
version of Gerrit Code Review anywhere else in production yet.
But I wanted to start dogfooding the smart HTTP stuff with JGit
and EGit, and who better to inflict that pain on (if any) than its
own developers.  :-)


Looks like we messed up the HTTP URLs:

I tried to clone using the HTTP URL given by gitweb http://egit.eclipse.org/r/p/jgit.git
       $ git clone http://egit.eclipse.org/r/p/jgit.git
       Initialized empty git repository in ...
       warning: You appear to have cloned an empty repository.

this one also fails :
       $ git clone http://egit.eclipse.org/r/p/jgit
       error: the requested URL returned error: 403 while accessing http://egit.eclipse.org/r/p/jgit/info/refs

but the following call succeeds :
       $ git clone http://egit.eclipse.org/jgit

and Gerrit lists e.g. for change 219/1:
       git pull http://egit.eclipse.org/r/p/jgit refs/changes/19/219/1

I think we should configure the URLs for the different protocols in a way that they
just differ in the scheme name.

--
Matthias

Back to the top