From: demerphq Date: Sat, 01 Aug 2009 10:13:52 GMT Subject: Re: [PATCHv5] Add Gitweb support for XZ compressed snapshots Message-ID: <9b18b3110908010313x38991dffx3e4a2f2a5c5fff9f@mail.gmail.com> In-Reply-To: 2009/8/1 Jakub Narebski : > demerphq writes: > >> FWIW the perl project ripped out all the snapshot generation logic >> from gitweb, and replaced it with a tool that generates snapshots >> correctly for our requirements (if the build process needs additional >> files /currently/ git-archive does not support adding them), this >> includes a disk level cache for the snapshots since creating the tar, >> adding the additional files, then gziping is quite slow. >> >> If its interesting to people I can post it and the other changes here, >> although its not a "nice" change, as I literally ripped out the >> existing code. > > Do you mean gitweb serving http://perl5.git.perl.org/ ? Yes. I updated it to a relatively recent version just the other week. > Well, at least publish this version of gitweb somewhere (snapshot or > better git repository), and add it to the list of gitweb forks at > http://git.or.cz/gitwiki/Gitweb wiki page. Sure, we have been discussing doing that recently. I need to cleanup how I set up the repository for it tho. Also probably there are one or two patches that should be pushed back to you. > Sidenote: snapshot support appeared, as far as I know, first at fork of > gitweb that had been used by XMMS2, but the snapshot was generated by > a separate snapshot.cgi script... written in Python.  (Now they use > stock (if old) gitweb, I think.) Ah, I'm not generating it with a separate cgi script, I just replaced the call to git-archive to be a call to my own tool. > P.S. Perhaps you or other Perl Mongers would be interested in creating > yet another git web interface, in Perl, but contrary to (current) > gitweb modular and using more of CPAN modules?  For example convert > SVN::Web or Insurrection (or other Perl module) from Subversion (or > other SCM) to Git (and rename it to Git::Web, or ???). I think that there is some interest in doing that and likely over time there will be more. It has come up at least a few times in our discussion forums. I think you could easily make a public call for support on places like Perlmonks to get more action tho. A better git api toolset for perl would make things a lot easier. Especially an XS one. > > P.P.S. Could you per chance post announcement of Git User's Survey 2009 > on http://perl5.git.perl.org, just like it is done on http://repo.or.cz > and http://git.kernel.org?  TIA. Sure. cheers, Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"