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

Re: [RFC] cgit in git?

From
Todd Zullinger <tmz@pobox.com>
Date
Dec 12, 2008, 00:15 UTC
Message-ID
<20081212001546.GV13722@inocybe.teonanacatl.org>
In-Reply-To
<8c5c35580812111537v1144c9fdy19f2a3cc56e2a04f@mail.gmail.com>
Lars Hjemli wrote:
Show 12 quoted lines
> On Thu, Dec 11, 2008 at 23:35, Junio C Hamano <gitster@pobox.com>
> wrote:
>> Doesn't cgit bind git.git as a subproject at the source level?  I
>> would expect that the most natural release tarball for such a
>> project would be a single tarball that has both the superproject
>> itself _and_ the submodules it contains already extracted, iow, the
>> state of your tree after you run "make get-git".
>
> Your expectation makes sense to me, thanks for elaborating.
> 
> Seth: would such a self-contained tarball solve the problems on your
> end?

(I'm not Seth, nor do I play him on TV -- though I have been offered his role in a small town production of "How the Grinch Stole Christmas"... ;)

The downside to this is that cgit would be duplicating the git sources, and thus, so would any distribution packages. If there is a bug in git, both the git and cgit packages would need to be updated to fix it.

Basically, Fedora tries hard to use system libraries rather than having applications include their own local copies. (I recall some zlib vulnerabilities years back that required way too many packages to be rebuilt, since they each included their own copy of zlib.)

Obviously, since git is not intended to be used as a library, this doesn't exactly match that situation. But cgit is using git as a library at the moment and if we could find a way to only have one copy of the git sources to maintain, that'd be ideal from a distribution / packaging perspective. I do understand that it might not be as ideal from either git or cgit developer / maintainer perspective, so the consideration you're giving the issue is very much appreciated.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I never vote for anyone; I always vote against.
    -- W.C. Fields
Previous: Lars HjemliNext: Johan Herland
Message 6 of 7 in “[RFC] cgit in git?”
  1. Lars HjemliDec 11, 2008
  2. Miklos VajnaDec 11, 2008
  3. Jakub NarebskiDec 11, 2008
  4. Junio C HamanoDec 11, 2008
  5. Lars HjemliDec 11, 2008
  6. Todd ZullingerDec 12, 2008
  7. Johan HerlandDec 11, 2008

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.