From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4MDnDU1Sk2LTEAAAbAwnHQ (envelope-from ) for ; Sun, 29 May 2022 13:00:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eBj+DE1Sk2IMJAEAG6o9tA (envelope-from ) for ; Sun, 29 May 2022 13:00:29 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DC0C325790 for ; Sun, 29 May 2022 13:00:28 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 3CCA65F527; Sun, 29 May 2022 11:00:26 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id AAE935E020 for ; Sun, 29 May 2022 11:00:23 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id ECFF45FBD7; Sun, 29 May 2022 07:00:22 -0400 (EDT) Received: (nullmailer pid 1463424 invoked by uid 1000); Sun, 29 May 2022 11:00:21 -0000 From: David Bremner To: Sean Whitton , notmuch@notmuchmail.org Subject: Re: WIP: promote nmbug to user sync tool In-Reply-To: <875ylzzty5.fsf@athena.silentflame.com> References: <20220423133848.3852688-1-david@tethera.net> <87tuaacw7q.fsf@athena.silentflame.com> <87o8083nay.fsf@tethera.net> <875ylzzty5.fsf@athena.silentflame.com> Date: Sun, 29 May 2022 08:00:21 -0300 Message-ID: <87sfos38oq.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: IUNRB5I235WOUCD4NEYZNPXSWKJNU7A4 X-Message-ID-Hash: IUNRB5I235WOUCD4NEYZNPXSWKJNU7A4 X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653822028; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=ivYcy0i7EibovenPCIdG3OBEmpLLfDiBLBp3y2+n9SI=; b=UrtpdKhYnbZaq7yYc8RGeoGMsPYmg65CrcustLRkfvKzU1Q/+YeeNYmCbz6A2mx+c9g9vY dOFrGH7TJaHOh8ruB5STyeEXI9S8KEHTRymcQ8sHpJai7E/WezF8KdZPEI+fM+kaVCqymz 1vkF3DrEwQgDHFCwoAZs2euEJDfLM8D7OGhLrMdx5xO9KZ7Uw+LTfUS29kvjX3SAoTDFA9 39RGsWjDFguHegSE9OmhpbTC6Gx6D9aT3dSVzGYKPClKOVXzwNt2ICRUL8AENbJ5nQBg8V ZkPFZV44qW2hB7nfLTMHrHk9ALp0tB6dEb1V1rGDo0AiDwdNdxZnQmw/hzgd1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653822028; a=rsa-sha256; cv=none; b=hT+pFjXjgDuJxRLadoNxL6VTNVf7/axBNuDyk7/9ZeGf2qdmgLN/US1iNclsGuLFR2Zr27 Su2yAX6aFIIVj4OI0ZCKNDcPBz7oVOen1XlH7kTGPtA1ch4NrXZzVA6GQ6I98sh+zy6Bwx vRMEoGHirf3i5dhK3r0SXDxlcO1upaBXuPp33a6svwfFuVpHlIgp5e8fvutEQH3GhoBsZj gdzVwbdNYhlSoiKqmVOu1wotFB6YSa4XlhSwBEw0YJcRb/KUvCbgA8akRMpI59zrDRkKvi tuomz5vBhuwEc1BWpQZO0XCPo42SlFvRllvjtplbmwxSmd3g0MPh41D89IMyyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.53 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: DC0C325790 X-Spam-Score: -2.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: TiGBBgkNkaQM Sean Whitton writes: > > Either instead or in addition to something size-based, how about > requiring --force if there do not exist any tags with the prefix in the > notmuch database already? The size thing is brittle; in my scripting > attempts, I've encountered several annoying edge cases. > Looking at the code, I should add add a check for no existing tags in any case, just to avoid a divide by zero error in 'check_safe_fraction".