git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCHv5] Add Gitweb support for XZ compressed snapshots

From
Ddemerphq <demerphq@gmail.com>
Date
Aug 1, 2009, 10:13 UTC
Message-ID
<9b18b3110908010313x38991dffx3e4a2f2a5c5fff9f@mail.gmail.com>
In-Reply-To
<m3vdl7rjev.fsf@localhost.localdomain>
2009/8/1 Jakub Narebski <jnareb@gmail.com>:
Show 14 quoted lines
> demerphq <demerphq@gmail.com> 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.

Show 5 quoted lines
> 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/"
Previous: Jakub NarebskiNext: Jakub Narebski
Message 5 of 10 in “[PATCHv5] Add Gitweb support for XZ compressed snapshots”
  1. Mark A RadaAug 1, 2009
  2. J.H.Aug 1, 2009
  3. demerphqAug 1, 2009
  4. Jakub NarebskiAug 1, 2009
  5. demerphqAug 1, 2009
  6. Jakub NarebskiAug 2, 2009
  7. demerphqAug 2, 2009
  8. Jakub NarebskiAug 3, 2009
  9. Jakub NarebskiAug 1, 2009
  10. Jakub NarebskiAug 3, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.