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: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 5C3A11F8C6; Fri, 10 Sep 2021 13:56:53 +0000 (UTC) Date: Fri, 10 Sep 2021 13:56:53 +0000 From: Eric Wong To: Konstantin Ryabitsev Cc: meta@public-inbox.org Subject: Re: Using lei with podman + toolbox Message-ID: <20210910135653.GA22719@dcvr> References: <20210909213935.hh6dyuxaq63o72cc@meerkat.local> <20210909233614.GA27863@dcvr> <20210910124242.rwjujckpd4arupr2@meerkat.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210910124242.rwjujckpd4arupr2@meerkat.local> List-Id: Konstantin Ryabitsev wrote: > On Thu, Sep 09, 2021 at 11:36:14PM +0000, Eric Wong wrote: > > > These are my quickie instructions for how to use lei in a toolbox environment > > > if you are running a distribution like Fedora and don't want to install a lot > > > of perl dependencies into your main OS. > > > > Off the top of my head, I think Search::Xapian // Xapian.pm was > > the main thing that was missing from CentOS 7. Does Fedora have > > that? > > Seems to have it as perl-Search-Xapian, which provides Xapian.pm. Oh I meant the newer SWIG Xapian.pm. Search::Xapian is Search/Xapian.pm which uses XS and isn't getting new features. The XS version is far better-tested, but the SWIG version gives access to some newer APIs. AFAIK neither lets us do custom query parsing like notmuch does in C++ (our approxidate rt:/dt:/d: handling is a huge hack) > > (disclaimer: I don't care for Docker, seems like a giant waste > > of space and bandwidth compared to just using the distro) > > Well, this is for toolbox which uses podman, not docker. Toolbox is actually > the preferred mechanism in Fedora for setting up quickie work environments, > especially on something like Fedora Silverblue with its immutable root > partition. Ah, still seems like a waste of space and bandwidth :> (It just took me several hours to download upgrades from buster => bullseye on a small dev VM) > I don't intend these instructions as the preferred mechanism for getting lei > up and running, just to be clear. Eventually, it will be packaged for most > distros -- but for now it's a convenient way to get the latest version on the > platform most likely to be most tested (Debian). I actually test everything on FreeBSD to force myself into doing things portably. Probably 95% of my "git push" is done on FreeBSD (IOW, whenever I have connectivity to that VM). > All noted -- I may be the one who packages things for Fedora at some point, so > this is useful info. Cool. I'm wondering how to better arrange INSTALL to suit different usages (lei-only vs daemons vs mda/watch-only).