SQLite, UPDATE, and LIMIT

2018-02-22 Thread Jonathan Corbet
#x27;ve not even tried to look at the schema that public-inbox uses yet. But I thought I would toss this out there to see you thought. Perhaps what I really need to do is to ask Fedora to turn that option on? Thanks, jon From f0d6f3771013fadbeb8432533d51545696309ffb Mon Sep 17 00:00:00 2001 Fr

Re: SQLite, UPDATE, and LIMIT

2018-02-22 Thread Jonathan Corbet
On Thu, 22 Feb 2018 23:24:00 + Eric Wong wrote: > So with your patch, is everything else good on Fedora? It seems to be. I spent forever in this loop: while (it still doesn't work) install_next_perl_module() I've stashed the list in an ansible config, so I can pass

[PATCH] Update the installation instructions with Fedora package names

2018-02-27 Thread Jonathan Corbet
Add a few more details and (especially) the Fedora package names. I also took the liberty of reorganizing things slightly while I was there. Signed-off-by: Jonathan Corbet --- INSTALL | 58 -- 1 file changed, 40 insertions(+), 18

Re: [PATCH] Update the installation instructions with Fedora package names

2018-03-11 Thread Jonathan Corbet
OK, I'm (finally) about to send a reworked version based on your comments. Here's a couple of other thoughts to go with it... > > --- a/INSTALL > > +++ b/INSTALL > > @@ -8,32 +8,32 @@ if they want to import mail into their personal inboxes. > > TODO: this still needs to be documented better, > >

[PATCH v2] Update the installation instructions with Fedora package names

2018-03-11 Thread Jonathan Corbet
Add a few more details and (especially) the Fedora package names. I also took the liberty of reorganizing things slightly while I was there. --- INSTALL | 120 1 file changed, 83 insertions(+), 37 deletions(-) diff --git a/INSTALL

[PATCH] Don't send people to mid.gmane.org

2018-03-23 Thread Jonathan Corbet
mid.gmane.org has not worked since Lars left the building, and there is no realistic prospect of it ever coming back. Sending people there is now a waste of time, let's not do that. --- lib/PublicInbox/ExtMsg.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/ExtMsg.pm b/lib/Pu

Re: [PATCH] Don't send people to mid.gmane.org

2018-03-26 Thread Jonathan Corbet
On Fri, 23 Mar 2018 19:07:35 + Eric Wong wrote: > I seem to remember it working at some point afterwards, but > maybe I'm mistaken. > > Fortunately, nntp://news.gmane.org/20180323125048.3a3c8...@lwn.net > still seems to work. How about that? I kind of suspect an nntp:// link will not be us

[PATCH] Allow specification of the number of search results to return

2018-03-26 Thread Jonathan Corbet
Add an "l=" parameter to the search query syntax to specify how many results should be returned. The default remains 200. --- 200 is a lot of results for one page, so allow it to be tweaked. I've not added anything to the query form to access this (don't need it) but could. lib/PublicInbox/Sear

Re: [PATCH] Allow specification of the number of search results to return

2018-03-28 Thread Jonathan Corbet
On Tue, 27 Mar 2018 10:44:57 + Eric Wong wrote: > Jonathan Corbet wrote: > > Add an "l=" parameter to the search query syntax to specify how many > > results should be returned. The default remains 200. > > --- > > 200 is a lot of results for one page,

[PATCH v2]

2018-03-30 Thread Jonathan Corbet
Allow specification of the number of search results to return Add an "l=" parameter to the search query syntax to specify how many results should be returned. --- v2: Clamp the number of results at $LIM (200). I didn't add a configurable maximum because I wouldn't be using it; if somebody needs i

public-index-{watch,mda}

2018-04-02 Thread Jonathan Corbet
I have a question on public-index-watch v. public-index-mda; sending to the list since I might not be the only one. I've seen a couple of times that you recommend public-index-watch for maintaining a mirror of a mailing list whose home is elsewhere. But I would rather use public-inbox-mda since t

Re: [ANNOUNCE] public-inbox 1.1.0-pre1

2018-07-04 Thread Jonathan Corbet
On Wed, 9 May 2018 20:23:03 + Eric Wong wrote: > Pre-release for v2 repository support. > Thanks to The Linux Foundation for supporting this work! Just FYI, I finally got around to tossing this onto the LWN system. It works generally well, and the Xref fix is much appreciated, thanks. One

Re: [ANNOUNCE] public-inbox 1.1.0-pre1

2018-07-04 Thread Jonathan Corbet
On Wed, 4 Jul 2018 19:51:39 + Eric Wong wrote: > I'm not sure how you're seeing > that; did you run public-inbox-index again? I guess I forgot > to document that :x Um yes, that would be the problem. Oh well, everything's converted now and all's well... Thanks, jon -- unsubscribe: meta+u

[PATCH 0/2] Make NNTP Xrefs work better

2018-09-04 Thread Jonathan Corbet
ound the public-inbox source. Hopefully they aren't too bad... Jonathan Corbet (2): Put the NNTP server name into Xref lines Add Xrefs to over/xover lines lib/PublicInbox/NNTP.pm | 17 + lib/PublicInbox/NNTPD.pm | 6 ++ 2 files changed, 15 insertions(+), 8 dele

[PATCH 1/2] Put the NNTP server name into Xref lines

2018-09-04 Thread Jonathan Corbet
RFC 5536 sec 3.2.14 says that the server-name in an Xref line is "which news server generated the header field"; indeed, that is necessary for newsreaders like gnus to handle references properly. So pick up the server name from the config if available, from the host name otherwise, and use it rath

[PATCH 2/2] Add Xrefs to over/xover lines

2018-09-04 Thread Jonathan Corbet
Putting the Xref field into xover lines allows newsreaders to mark cross-posted messages read when catching up a group. That, in turn, massively improves the life of crazy people who try to follow dozens of kernel lists, where emails are often heavily cross-posted. --- lib/PublicInbox/NNTP.pm | 1

Re: [PATCH 1/2] Put the NNTP server name into Xref lines

2018-09-05 Thread Jonathan Corbet
On Wed, 5 Sep 2018 21:34:10 + Eric Wong wrote: > But it looks like some test cases need to be adjusted for these. > (see below) Hey, man, the feature works for me...what more do you want?!? :) It didn't occur to me to run the tests, of course. I'll fix that up and repost, but it may be a l

Race condition in public-inbox-nntpd?

2018-10-13 Thread Jonathan Corbet
So for a little while, I've been seeing occasional NNTP weirdness, associated with log lines like: Oct 13 18:01:06 archive.lwn.net public-inbox-nntpd[12352]: error from: XOVER 196731-196731 (BUG: nested long response at /usr/local/share/perl5/PublicInbox/NNTP.pm line 588. Such complaints ten

[PATCH v2 0/2] Make NNTP Xrefs work better

2018-10-13 Thread Jonathan Corbet
ound the public-inbox source. Hopefully they aren't too bad... Version 2 makes the tests work and improves the setting of the server name. Jonathan Corbet (2): Put the NNTP server name into Xref lines Add Xrefs to over/xover lines lib/PublicInbox/NNTP.pm | 17 + lib/

[PATCH 1/2] Put the NNTP server name into Xref lines

2018-10-13 Thread Jonathan Corbet
RFC 5536 sec 3.2.14 says that the server-name in an Xref line is "which news server generated the header field"; indeed, that is necessary for newsreaders like gnus to handle references properly. So pick up the server name from the config if available (the first name if there's more than one), fro

[PATCH 2/2] Add Xrefs to over/xover lines

2018-10-13 Thread Jonathan Corbet
Putting the Xref field into xover lines allows newsreaders to mark cross-posted messages read when catching up a group. That, in turn, massively improves the life of crazy people who try to follow dozens of kernel lists, where emails are often heavily cross-posted. --- lib/PublicInbox/NNTP.pm | 1

Re: Race condition in public-inbox-nntpd?

2018-10-16 Thread Jonathan Corbet
On Tue, 16 Oct 2018 06:36:20 + Eric Wong wrote: > Jonathan Corbet wrote: > > So for a little while, I've been seeing occasional NNTP weirdness, > > associated with log lines like: > > > > Oct 13 18:01:06 archive.lwn.net public-inbox-nntpd[12352]: error

Re: Date::Parse RPM dependency? [was: fix Date::Parse dependency for Debian]

2019-05-10 Thread Jonathan Corbet
On Sun, 5 May 2019 03:39:47 + Eric Wong wrote: > Eric Wong wrote: > > -* Date::Parse deb: libdatetime-perl > > +* Date::Parse deb: libtimedate-perl > > rpm: perl-Time-ParseDate > > Btw, I think the RPM should be perl-Tim

Re: https://lore.kernel.org/linux-mm/

2023-06-07 Thread Jonathan Corbet
Konstantin Ryabitsev writes: > This is the reason why there's a gap from May 31 to June 6. If you would like > to contribute the missing messages, I'll be happy to feed them into the > archive. The LWN archive - http://archive.lwn.net:8080/linux-mm/ - is intact as far as I know; feel free, as al