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 KNU0I7VDgWKHFQEAbAwnHQ (envelope-from ) for ; Sun, 15 May 2022 20:17:25 +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 iAExIrVDgWJQYAEAG6o9tA (envelope-from ) for ; Sun, 15 May 2022 20:17:25 +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 214FF27C69 for ; Sun, 15 May 2022 20:17:25 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 510695F701; Sun, 15 May 2022 18:17:17 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 8BF525F529 for ; Sun, 15 May 2022 18:17:14 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id F03DD5FBD7; Sun, 15 May 2022 14:17:13 -0400 (EDT) Received: (nullmailer pid 57798 invoked by uid 1000); Sun, 15 May 2022 18:17:12 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH 01/17] nmbug: promote to user tool "notmuch-git" Date: Sun, 15 May 2022 15:14:06 -0300 Message-Id: <20220515181421.57088-2-david@tethera.net> X-Mailer: git-send-email 2.35.2 In-Reply-To: <20220515181421.57088-1-david@tethera.net> References: <20220515181421.57088-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: XFFJFBXJFMPLKP3JYQOGPYVHRATYMXF6 X-Message-ID-Hash: XFFJFBXJFMPLKP3JYQOGPYVHRATYMXF6 X-MailFrom: bremner@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=1652638645; 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=HaKhFnbinbPQFzBBU44c7MhDFYOm0ZP7vf6E+Dy4aAY=; b=NoUcSzoyQFsFZtSZ3x3dLCCje9wVWZ9oofzYFe306AD+kLiz2XIfX+rPRoyATsNRnb6gSt Ljqd9xrwPq2CVILmyoaQZO0FI/sICjeBODLv/BAcoG66Lnfg3CYuhYtMzIp973CznsmdBJ ycjejW/M4zUVOOhB2mpRnqO5siMvMneSy1U4q+6BIMhb95hT91Q0TuCAjsdC1yLlp8bTnd 8RKLXGoZurHCFX9uFpYQXCZTjXmnonfbTd8M4Rwbx10jBnXDow+sDONvz8UJ1UmMnhj3WP CZuDzvpE+wZzQyILSHCWG0r6dqbFmrFZ7Fuyt+Vsdd7UEgZGK0jv6WVIq5yS1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652638645; a=rsa-sha256; cv=none; b=Jmzt6QxbsgM1c92b1lhhLJwiwdljw0fp7rMiOKu893Df8ZeH8EkTyWcyxfzwn5YEpWfoo7 getCq57+D9iFXHsIeoZZD4oTwy34yiI/sEBZOAQZ0BVCyUi7QQLjQP6ZygAfKpOe0g9Ba2 5bvR9MiDIxw6l6ZuEQYdKbf6gkDR2BbiNr1m6O/jDP6lpMV0LAheAOqk+0P/lVtydWhlv6 1sbPdE0217budAe6cg2IN9O+akP11mBdM40cIn6wK6PP5XQd0kvEld+oDT2IjIya686mUc iV2nDw63fvwI0JzQGyK+f0xBg6fsCehEbQERg98/sw8M9V+9+JN0ceoaEu0+Vw== 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: -1.45 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: 214FF27C69 X-Spam-Score: -1.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5SwxF4OTqhJv So far this is just a rename. Documentation and tests to follow. --- Makefile.local | 7 +++++-- devel/nmbug/nmbug => notmuch-git.in | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) rename devel/nmbug/nmbug => notmuch-git.in (99%) diff --git a/Makefile.local b/Makefile.local index d8bbf3e1..ca2310f4 100644 --- a/Makefile.local +++ b/Makefile.local @@ -1,7 +1,7 @@ # -*- makefile-gmake -*- .PHONY: all -all: notmuch notmuch-shared build-man build-info ruby-bindings python-cffi-bindings +all: notmuch notmuch-shared build-man build-info ruby-bindings python-cffi-bindings notmuch-git ifeq ($(MAKECMDGOALS),) ifeq ($(shell cat .first-build-message 2>/dev/null),) @NOTMUCH_FIRST_BUILD=1 $(MAKE) --no-print-directory all @@ -294,7 +294,7 @@ endif SRCS := $(SRCS) $(notmuch_client_srcs) CLEAN := $(CLEAN) notmuch notmuch-shared $(notmuch_client_modules) CLEAN := $(CLEAN) version.stamp notmuch-*.tar.gz.tmp -CLEAN := $(CLEAN) .deps +CLEAN := $(CLEAN) .deps notmuch-git DISTCLEAN := $(DISTCLEAN) .first-build-message Makefile.config sh.config sphinx.config @@ -307,6 +307,9 @@ cppcheck: @echo "No cppcheck found during configure; skipping static checking" endif +notmuch-git: notmuch-git.in + sed s/@NOTMUCH_VERSION@/${VERSION}/ < notmuch-git.in > notmuch-git + chmod ugo+rx notmuch-git DEPS := $(SRCS:%.c=.deps/%.d) DEPS := $(DEPS:%.cc=.deps/%.d) diff --git a/devel/nmbug/nmbug b/notmuch-git.in similarity index 99% rename from devel/nmbug/nmbug rename to notmuch-git.in index 043c1863..dd30b5be 100755 --- a/devel/nmbug/nmbug +++ b/notmuch-git.in @@ -51,7 +51,7 @@ except ImportError: # Python 2 from urllib import unquote as _unquote -__version__ = '0.3' +__version__ = '@NOTMUCH_VERSION@' _LOG = _logging.getLogger('nmbug') _LOG.setLevel(_logging.WARNING) -- 2.35.2