From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mIr+CyNfImEBRwAAgWs5BA (envelope-from ) for ; Sun, 22 Aug 2021 16:28:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4N2eByNfImGsHAAA1q6Kng (envelope-from ) for ; Sun, 22 Aug 2021 14:28:51 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (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 DE9ED1DCE7 for ; Sun, 22 Aug 2021 16:28:50 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 8368B1FB68; Sun, 22 Aug 2021 10:28:46 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 675541FB62 for ; Sun, 22 Aug 2021 10:28:43 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id CBA665FD5C; Sun, 22 Aug 2021 10:28:42 -0400 (EDT) Received: (nullmailer pid 429707 invoked by uid 1000); Sun, 22 Aug 2021 14:28:39 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Re: [PATCH] CLI: define and use format version 5 In-Reply-To: <20210822000011.211950-1-david@tethera.net> References: <87r1ev96mh.fsf@tethera.net> <20210822000011.211950-1-david@tethera.net> Date: Sun, 22 Aug 2021 07:28:39 -0700 Message-ID: <87sfz1o8o8.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: JP2TVKCYMFUGI2XWUVUD42X7RJWOQK4A X-Message-ID-Hash: JP2TVKCYMFUGI2XWUVUD42X7RJWOQK4A 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; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629642531; 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-unsubscribe:list-subscribe:list-post; bh=aXIVvxHzNKbLtVSdPuDqmcZHbD94pJ7CsH91aaBH7NU=; b=d3/g4vO5pvOGJsDCEZDa/rgyOqqJOogmcyF1LbG4yQgff7zY0WYmZOJmQ2QtT0LFhHARur yd61wjb3lJH2AU0i2o7MElXtweWjXDLQahfWtxh8zCgzu2Bw4M55YfgSTmE5TIVeL9xRqE dht3S/a75VQiE1Ts1jqI93LnhdO6gvos3px5sVVuAKJgzy5yQAtQ4Lw+bmHuo3SxxwWRbD k++TUULCXCCRYPk7qdu5yk5yaNnsW2f8jBlPVE+h8wzmMCPtdlbIN+D8/sKjg/1HnOjMgC oidsPFRQmEYxHsmK1hfRAb0+GfGYsgQJUvHGBNf4wIlB+wL4dOz3tHkoqRlTow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629642531; a=rsa-sha256; cv=none; b=olKe3IpaE0prWVWmKp0STfgWcyYOCkLLOFjYSmWEMIUi09Vhp6nxnxPZ1r9kw/rNanqGc0 aW7bgEWYTx8WKhlhE1ZOeqiLqt4ZdxoAOmNd5pTcNJ9YJqbsjbYlLTrVV3skG09VJuH4uX lt1w7yrdU4mkpfe/oKCcx9cdzHRHZ/K0eYQDiLyoa8GNKQuMYNZrh4AMVMfyY/41X09oZy NxPhE0U4E2X3SIKvzqr+PIInEz0HY4NhyW4vvHVzExjWF2iZ5Z+wTEJuj+eI27fON5h+CA 1/8y3pDpFvpcLfg+wBv3ekUsT01SkiV7FDD4H2ZbpRHDlAt/gzYjgD+QvcTQog== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: DE9ED1DCE7 X-Spam-Score: -1.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5LbbvmArr1+4 David Bremner writes: > This is a bit of a cheat, since the format does not actually > change. On the other hand it is fairly common to do something like > this to shared libary SONAMEs when the ABI changes in some subtle way. > It does rely on the format-version argument being early enough on the > command line to generate a sensible error message. applied to master