From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.6 required=3.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 2E1BE1F8C6 for ; Tue, 7 Sep 2021 21:33:40 +0000 (UTC) Received: by mail-qt1-x82b.google.com with SMTP id t35so80297qtc.6 for ; Tue, 07 Sep 2021 14:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ArZPnpnDMgYpNPJnrvgrQSbIZxxwVYbGs3QqBC6FXak=; b=WhYLpGjZNedD8YsmCNZfctCEjxo+krJvw3fH0ZYBY5rjN+5z7nX2qliJhreUoNJ/zX ME+8z2NSEVLXbAigZ2HLXAWL74hwIFvsVSYgwsum2Z1TXQgpj4J7kA8Lt8x2MXQaQe1d IXX55ssoOT2sdkRqboFlsz2mpVTCXofTgKoRw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ArZPnpnDMgYpNPJnrvgrQSbIZxxwVYbGs3QqBC6FXak=; b=caRbyMqic7gEUkOVzdsbzLIB6lq7tmtT/PYvItXIp69B5nSbvsov0Z86QRXpMfBG90 CnaD5jZRWzOyA/Uk/yfQGES1QyBiQGD/3DlaX+KKygrkcr6xgadGQKvEpb20+KtqLHoe 43bkMM8grhOowVjGKPht+cMkoMytN34CibrhOM0NJ044u6wfAr0A1b8EdtlYi2FD8QJy PHk9CQdnbHG20e1gkb6P7vYBkmOXIH7EOxF+mYfEsOjhkMMhFNcMkVH2TYha11mug5CZ kaQHO1QDquvD9V5e5UE7slaMS46J3rVPSD0sFuFYhmv9ywwUcZKebv/uAJH+rlnXaWHa TNIQ== X-Gm-Message-State: AOAM530oEZov2SUBGYTlM0XmtXkpgRtn2Hvi6Z44OFpQUQndRPulXlff mvy+0YP4URql5lsr+INivWa7cBCFmjPaPA== X-Google-Smtp-Source: ABdhPJy55Gbky2hUfULpafHcnsg5+v3mn1BA8YIKMCoHnn40FipTtdn0Gz7+x7wEUuSAco4E987L1g== X-Received: by 2002:a05:622a:2d0:: with SMTP id a16mr497784qtx.403.1631050419170; Tue, 07 Sep 2021 14:33:39 -0700 (PDT) Received: from meerkat.local (bras-base-mtrlpq5031w-grc-32-216-209-220-181.dsl.bell.ca. [216.209.220.181]) by smtp.gmail.com with ESMTPSA id a9sm209833qko.27.2021.09.07.14.33.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Sep 2021 14:33:38 -0700 (PDT) Date: Tue, 7 Sep 2021 17:33:37 -0400 From: Konstantin Ryabitsev To: Eric Wong Cc: meta@public-inbox.org Subject: Re: Showcasing lei at Linux Plumbers Message-ID: <20210907213337.zir2mes6fiy4lbw7@meerkat.local> References: <20210902211225.pmnykwcwcxeaunt5@meerkat.local> <20210902215850.GA5063@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210902215850.GA5063@dcvr> List-Id: On Thu, Sep 02, 2021 at 09:58:50PM +0000, Eric Wong wrote: > OK, there's two main commands, "lei q" and "lei up". > Both of which may prompt for passwords depending on how > git-credential is set up: > > # the destination, could be Maildir > MFOLDER=imaps://user@example.com/INBOX.landlock > > # initial search: > lei q -o $MFOLDER -t -I https://lore.kernel.org/all/ --stdin < ( > dfn:Documentation/security/landlock.rst OR > dfn:Documentation/userspace-api/landlock.rst OR > dfn:include/uapi/linux/landlock.h OR > dfn:samples/landlock/ OR > dfn:security/landlock/ OR > dfn:tools/testing/selftests/landlock/ OR > dfhh:landlock > ) AND rt:2.months.ago.. > EOF > > # update whenever, may prompt for IMAP password, but could be > # cron-ed or similar if passwords are cached > lei up $MFOLDER > > # Optional: tweaking the search parameters can be done via > lei edit-search $MFOLDER If I had a local mirror with extindex and I wanted to do the same thing, would I just modify the -I flag to point at the extindex location? One of the options I want to investigate is making IMAP/POP3 accessible individual mailboxes fed by lei, such that a new subsystem maintainer could have a ready-made mailbox available to them without needing to subscribe/unsubscribe to a bunch of mailing lists. (This would be different from read-only imap mailboxes offered by public-inbox-imapd, since we'll be tracking individual message state. The POP3 bit would allow them to plug it into something like Gmail which allows sucking down remote POPs.) -K