git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Eric Wong <e@80x24.org>
Cc: Jeff King <peff@peff.net>,
	Emily Shaffer <emilyshaffer@google.com>,
	git@vger.kernel.org
Subject: Re: GitGitGadget on git/git, was Re: Should we auto-close PRs on git/git?
Date: Tue, 26 Nov 2019 23:52:36 +0100 (CET)	[thread overview]
Message-ID: <nycvar.QRO.7.76.6.1911262350240.31080@tvgsbejvaqbjf.bet> (raw)
In-Reply-To: <20191126224044.GA13328@dcvr>

Hi Eric,

On Tue, 26 Nov 2019, Eric Wong wrote:

> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > On Tue, 26 Nov 2019, Eric Wong wrote:
> > > Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > > > The biggest obstacle is that at least one of those Pipelines requires
> > > > access to a clone of public-inbox.org/git, and cloning that is rather
> > > > expensive. Even a shallow fetch would be super expensive, by virtue of
> > > > _all_ the mails being blobs reachable from the tip commit's tree.
> > >
> > > Fwiw, lore.kernel.org/git/$EPOCH.git ought to be somewhat cheaper,
> > > but it's a different (more scalable) format which requires SQLite:
> > >
> > > 	https://public-inbox.org/public-inbox-v2-format.html
> >
> > Is this incremental? GitGitGadget needs this to be incremental ;-)
>
> Incremental as far as "git fetch" goes?  Of course :>
> The "m" file is overwritten with every commit, so the tree size
> stays at 1 (tree growth was a major scalability problem in v1).

Let me try again:

GitGitGadget "reads" the mail via the incremental clone, remembering the
hash of the latest processed commit. When the Azure Pipeline runs, it
first fetches, and if the commit is still the same, does nothing but exit
with success. If the commit is different, it looks at the mails that were
added, via `git log -p <previous-tip-commit>..<tip-commit>`.

Is that possible with the v2 format?

Ciao,
Dscho

  reply	other threads:[~2019-11-26 22:53 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-09  2:00 Should we auto-close PRs on git/git? Emily Shaffer
2019-11-09  4:55 ` Junio C Hamano
2019-11-13  5:29   ` Stephen Smith
2019-11-12 19:11 ` Johannes Schindelin
2019-11-13  1:10   ` Jeff King
2019-11-13 12:04     ` Johannes Schindelin
2019-11-14  7:41       ` Jeff King
2019-11-14 23:03         ` Johannes Schindelin
2019-11-18 18:37           ` GitGitGadget on git/git, was " Johannes Schindelin
2019-11-21 10:54             ` Jeff King
2019-11-22 13:50               ` Johannes Schindelin
2019-11-22 14:43                 ` Johannes Schindelin
2019-11-25 14:30                 ` Jeff King
2019-11-26 20:55                   ` Johannes Schindelin
2019-11-26 21:56                     ` Eric Wong
2019-11-26 22:22                       ` Johannes Schindelin
2019-11-26 22:40                         ` Eric Wong
2019-11-26 22:52                           ` Johannes Schindelin [this message]
2019-11-26 23:58                             ` Eric Wong
2019-11-27  1:52                       ` Junio C Hamano
2019-11-27  2:37                         ` Eric Wong
2019-11-13 21:09   ` Emily Shaffer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nycvar.QRO.7.76.6.1911262350240.31080@tvgsbejvaqbjf.bet \
    --to=johannes.schindelin@gmx.de \
    --cc=e@80x24.org \
    --cc=emilyshaffer@google.com \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).