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-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.migadu.com (out1.migadu.com [IPv6:2001:41d0:2:863f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 563101F9FE for ; Thu, 4 Mar 2021 04:10:32 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1614831030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7XCxyHYfnNkUbAGlXfzxLLlF507Eo1HdK0HHi7fTa2o=; b=Xn0RgBW4pn2Btz/3NwIQ+BZ6cke5gBUSgSe2T68+2VTvyfRerVWe83QYWwjFmguJgVU4Lb Ekn0lkxPtcsmX/FbUiCkJzcYACg1DC65reyGDbogM/mAMj22QOR5cKPR0fP/g1o1OiaETh TbBl6R9KnyCzqjjNGYrQ9q1LnGXoiHtyF3Y71xuuYKUt0QG59d7UYpJ80ZUqPEpvpfRDgH G3qsLvT/ptSOcyO9AUX39HjBh+c0FXlOFeXG5DqZSiPbhSvzCbm08E5v31wWjcKdRK6lGV +agnN6yjFNeHZTkj9687lrLe7uJMCM9q4LOY+3qH0g/jB2z/VcvJjSMy90m/0g== From: Kyle Meyer To: Eric Wong Cc: meta@public-inbox.org Subject: Re: RFH: --import-augment naming [was: lei q: import flags when clobbering/augmenting] In-Reply-To: References: <20210303134857.7227-1-e@80x24.org> <20210303134857.7227-5-e@80x24.org> <20210303222930.GA18597@dcvr> <87pn0fd4m3.fsf@kyleam.com> Date: Wed, 03 Mar 2021 23:10:29 -0500 Message-ID: <87k0qnd0ei.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: kyle@kyleam.com List-Id: Eric Wong writes: > Oh, I forgot to note it will probably import more than just > keywords (but maybe it can be tweaked(*)). > > The thing I want to protect against is somebody forgetting > --augment when using "lei q -o imaps://example.com/INBOX ..." > which would delete mail that hasn't been imported to lei or > backed-up by another tool. > > Causing data loss in the above scenario would be a nightmare, > even if it's technically user error. Oy, indeed. > There's also cases where someone will want to edit a patch in > the search results mailbox before applying it (e.g. adding > Acked-by, fixing whitespace, trivial errors, etc...) and > it might be good to preserve a copy of the edited message. > > (*) possible directions: > > --import-$FOO=kw-only > --import-$FOO=not-in-git > --import-$FOO # same as "not-in-git", this should be the default > --import-$FOO=none / --no-import-$FOO Make sense. Your suggested "before" seems like a good choice for $FOO.