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

Re: A note from the maintainer

From
EWEric Wong <e@80x24.org>
Date
Aug 13, 2016, 09:04 UTC
Message-ID
<20160813090432.GA25565@starla>
In-Reply-To
<20160813081012.p46i4jcvkkfqch7m@sigill.intra.peff.net>
Jeff King <peff@peff.net> wrote:
Show 17 quoted lines
> On Fri, Aug 12, 2016 at 10:42:55PM +0000, Eric Wong wrote:
> > Junio C Hamano <gitster@pobox.com> wrote:
> > > is still available.  An alternative
> > > 
> > >         nntp://news.public-inbox.org/inbox.comp.version-control.git
> > > 
> > > will become usable once it catches up with old messages.
> > 
> > Mostly caught up, I injected 33 more today which were
> > cross-posted (which tripped up some of my anti-spam rules) or
> > simply missed by gmane.
> > 
> > There may be more in some personal archives gmane doesn't
> > have...
> 
> Is there an easy way to get _just_ the list of message-ids you are
> storing (I know I can download the whole archive, but it's big)?
XHDR (or HDR) over NNTP should do it (that's how I checked
against gmane):
--------8<-----
use Net::NNTP;
my $nntp = Net::NNTP->new($ENV{NNTPSERVER} || 'news.public-inbox.org');
my ($num, $first, $last) = $nntp->group('inbox.comp.version-control.git');
my $batch = 10000;
my $i;
for ($i = $first; $i < $last; $i += $batch) {
	my $j = $i + $batch - 1;
	$j = $last if $j > $last;
	my $num2mid = $nntp->xhdr('Message-ID', "$i-$j");
	for my $n ($i..$j) {
		defined(my $mid = $num2mid->{$n}) or next;
		print "$mid\n";
	}
}

# and I forgot to optimize XHDR/HDR further in public-inbox-nntpd. # Oh well, it seems to work, at least.

> Then I can cross-reference with my archive. I doubt I'll have anything
> significant that you don't. My archive of the early days was pulled from
> gmane, though I have been collecting steadily via mailing list delivery
> since 2007 or so.

What's odd is there's some messages with two Message-ID fields from gmane from the old days, too. I'll dig a bit another time.

Previous: Jeff KingNext: Jeff King
Message 4 of 11 in “A note from the maintainer”
  1. Junio C HamanoAug 12, 2016
  2. Eric WongAug 12, 2016
  3. Jeff KingAug 13, 2016
  4. Eric WongAug 13, 2016
  5. Jeff KingAug 13, 2016
  6. Eric WongAug 14, 2016
  7. Eric WongAug 14, 2016
  8. Jeff KingAug 14, 2016
  9. Jeff KingAug 14, 2016
  10. Philip OakleyAug 14, 2016
  11. Eric WongAug 14, 2016

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.