threads / announce / 5614

[ANNOUNCE] Public Gitweb Hosting Service

Subject: [ANNOUNCE] Public Gitweb Hosting Service

## tl;dr

8 messages between Sep 20, 2006 and Oct 12, 2006.

replies: 7people: 5as markdown or json

Petr Baudis· Sep 20, 2006, 00:48 UTC · lore
  Hi,
  there are various tiny repositories scatterred over the web that are
on crappy broken webhostings, don't have lifetime long enough and most
importantly have no gitweb interface for peeking inside - even e.g.
the StGIT repository suffers from that.
  To fix that problem, I've decided to quickly set up a public gitweb
hosting service. The deal is basically that you tell the system your
repository URL (designed only for reasonably small repositories; if you
have big repository, you ought to have the resources to host it) and it
will mirror the repository and provide gitweb interface for it, as well
as publish the mirror for cloning.
  It's running at
	http://repo.or.cz/

with latest Git and Gitweb from #next and few custom patches (I've posted the interesting ones), all features enabled. If I get some time, I will hopefully further improve the Gitweb interface (blame is almost unusable, pickaxe is top secret functionality, etc.) and I will generally try to track #next gitweb version closely (at least for the start).

  This is still very experimental - I will watch how much interest, load
and traffic it generates; if it becomes unbearable, I will disable the
public mirror service and keep just the gitweb interface. Also, the web
interface is rather crude and you can currently use it only to register
new projects - if you want to make any adjustments to them, please drop
me a mail. Also please do if you have some cool ideas, or want to do a
nice design for the registration web interface. ;-)
  Note that there is also a glibc CVS import available at that address,
entirely coincidentally. That one is an exception and is not synced from
any other Git repository. It took git-cvsimport two days to chew through
on a decent machine (but over the network), the resulting size of 107M
is pretty nice. I hope to set it up to automatically track glibc CVS
further (and possibly other popular non-Git projects later).  There's
insane amount of tags which means the gitweb summary page takes "a bit"
long to load, I wonder if using packed refs would improve that.
  Have fun,
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Snow falling on Perl. White noise covering line noise.
Hides all the bugs too. -- J. Putnam
Jakub Narebski· Sep 20, 2006, 01:01 UTC · re: Petr Baudis · lore

Re: [ANNOUNCE] Public Gitweb Hosting Service

Petr Baudis wrote:
> There's
> insane amount of tags which means the gitweb summary page takes "a bit"
> long to load, I wonder if using packed refs would improve that.

Using git-for-each-ref would certainly improve speed (one fork vs. one per tag), using packed refs (by the way, can it be limited to tags only?) will improve speed further (one IO vs. one IO per tag).

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Linus Torvalds· Sep 20, 2006, 03:35 UTC · re: Petr Baudis · lore

Re: [ANNOUNCE] Public Gitweb Hosting Service

On Wed, 20 Sep 2006, Petr Baudis wrote:
> 
>   It's running at
> 
> 	http://repo.or.cz/
Well, "running" may be putting it a bit strongly.
When I click "summary" for the glibc-cvs.git tree, I get just a
	<div class="title">&nbsp;</div>
	-------------------^
thing back.
Broken gitweb?
		Linus
Petr Baudis· Sep 20, 2006, 10:51 UTC · re: Linus Torvalds · lore

Re: [ANNOUNCE] Public Gitweb Hosting Service

Dear diary, on Wed, Sep 20, 2006 at 05:35:02AM CEST, I got a letter where Linus Torvalds <torvalds@osdl.org> said that...

Show 18 quoted lines
> 
> 
> On Wed, 20 Sep 2006, Petr Baudis wrote:
> > 
> >   It's running at
> > 
> > 	http://repo.or.cz/
> 
> Well, "running" may be putting it a bit strongly.
> 
> When I click "summary" for the glibc-cvs.git tree, I get just a
> 
> 	<div class="title">&nbsp;</div>
> 	-------------------^
> 
> thing back.
> 
> Broken gitweb?

That's the start of the summary table. Did you wait long enough here? It takes a while before the refs are processed and your browser might not show you the data received meanwhile.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Snow falling on Perl. White noise covering line noise.
Hides all the bugs too. -- J. Putnam
Linus Torvalds· Sep 20, 2006, 15:05 UTC · re: Petr Baudis · lore

Re: [ANNOUNCE] Public Gitweb Hosting Service

On Wed, 20 Sep 2006, Petr Baudis wrote:
Show 15 quoted lines
> Dear diary, on Wed, Sep 20, 2006 at 05:35:02AM CEST, I got a letter
> where Linus Torvalds <torvalds@osdl.org> said that...
> > 
> > When I click "summary" for the glibc-cvs.git tree, I get just a
> > 
> > 	<div class="title">&nbsp;</div>
> > 	-------------------^
> > 
> > thing back.
> > 
> > Broken gitweb?
> 
> That's the start of the summary table. Did you wait long enough here? It
> takes a while before the refs are processed and your browser might not
> show you the data received meanwhile.

It's _definitely_ broken for me. But it looks like that may be a firefox on ppc issue (even if other sites work fine), because I don't have the same problem on my Mac Mini. Strange.

Maybe it's a "yum install" that upgraded firefox while it was running or something.

		Linus
Linus Torvalds· Sep 21, 2006, 00:45 UTC · re: Linus Torvalds · lore

Re: [ANNOUNCE] Public Gitweb Hosting Service

On Wed, 20 Sep 2006, Linus Torvalds wrote:
Show 7 quoted lines
> 
> It's _definitely_ broken for me. But it looks like that may be a firefox 
> on ppc issue (even if other sites work fine), because I don't have the 
> same problem on my Mac Mini. Strange.
> 
> Maybe it's a "yum install" that upgraded firefox while it was running or 
> something.

Indeed, that seems to have been it. It all works for me now. Very strange firefox bug that only affected one site ;)

(kernel.org runs a much older gitweb, so it was possibly triggered by something that gitweb does in newer versions).

		Linus
Anand Kumria· Sep 21, 2006, 22:42 UTC · re: Petr Baudis · lore

Re: [ANNOUNCE] Public Gitweb Hosting Service

On Wed, 20 Sep 2006 02:48:28 +0200, Petr Baudis wrote:
Show 7 quoted lines
> Hi,
> 
>   there are various tiny repositories scatterred over the web that are
> on crappy broken webhostings, don't have lifetime long enough and most
> importantly have no gitweb interface for peeking inside - even e.g. the
> StGIT repository suffers from that.
>
[snip]
 
Show 8 quoted lines
>   Note that there is also a glibc CVS import available at that address,
> entirely coincidentally. That one is an exception and is not synced from
> any other Git repository. It took git-cvsimport two days to chew through
> on a decent machine (but over the network), the resulting size of 107M is
> pretty nice. I hope to set it up to automatically track glibc CVS further
> (and possibly other popular non-Git projects later).  There's insane
> amount of tags which means the gitweb summary page takes "a bit" long to
> load, I wonder if using packed refs would improve that.
I've got some imports of some projects that I am tracking as well.
http://www.progsoc.org/~wildfire/git/

I have not (yet) enabled git-daemon support for them, so anyone cloning them might find it takes a long amount of time. I haven't updated to the most recent gitweb/git lately so it might be a bit slow.

I'll get around to making both git-daemon support available and updating to a newer version of gitweb shortly.

If anyone wants me to track other projects, let me know.

Cheers, Anand

Nico -telmich- Schottelius· Oct 12, 2006, 21:19 UTC · re: Petr Baudis · lore

Re: [ANNOUNCE] Public Gitweb Hosting Service

Petr Baudis [Wed, Sep 20, 2006 at 02:48:28AM +0200]:
> [long introduction, pasky seems to have too much time, perhaps
>  he should investigate more time in gitweb's character problems? ;-)]
> 
> 	http://repo.or.cz/
Very nice service!

In fact I am currently building a oss-site for a small community called !eof and your repo service looks EXTREMLY interesting!

Will have a look at it at the weekend!
Nico
 
-- 
``...if there's one thing about Linux users, they're do-ers, not whiners.''
(A quotation of Andy Patrizio I completely agree with)

← back to recent threads