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 +PEKHwpdtGKObwAAbAwnHQ (envelope-from ) for ; Thu, 23 Jun 2022 14:31:06 +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 gHYTHgpdtGJgGwEAG6o9tA (envelope-from ) for ; Thu, 23 Jun 2022 14:31:06 +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 3FAC02F04A for ; Thu, 23 Jun 2022 14:31:06 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 414025F6BF; Thu, 23 Jun 2022 12:31:03 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 6F4975E221 for ; Thu, 23 Jun 2022 12:30:59 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 6B16D5FBD0; Thu, 23 Jun 2022 08:30:58 -0400 (EDT) Received: (nullmailer pid 1287088 invoked by uid 1000); Thu, 23 Jun 2022 12:30:57 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Add hashed directory structure to notmuch git Date: Thu, 23 Jun 2022 09:30:43 -0300 Message-Id: <20220623123044.1283154-1-david@tethera.net> X-Mailer: git-send-email 2.35.2 MIME-Version: 1.0 Message-ID-Hash: PWGRSWCBGXQ5NAAFR4BZBWIXKCVTPHI4 X-Message-ID-Hash: PWGRSWCBGXQ5NAAFR4BZBWIXKCVTPHI4 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=1655987466; 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:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=VBua5OZJk9ayzo5MyGVhehcwgxh7fXHOc9M4aCYMPrY=; b=onv8R7zwBOU/9hcWcTYgc+jamhniUTjuiDOZmO0yVbkTCsetpM6ja1BGbYZj1D5oZvrSl/ MHjnyuFwm1z2BmmMQ3pzwzuWSyY3aU6a9ROjJI4uVJOn3MDESQ2MrHJ7Ij56YMMYlpH6NS L7FP/LEg6KWGcGxdDIwiG5NXR62q1z2JDSP7R58sxEID7WZD1B3BMsdUbEeko4BfZiu2kA VoUKozNh69Dfvr7Jz8neVyOandqJndowVZ71Ra3AxWbxtTGVdwAVHVSOlV5cv+hPwypPsX opseWz0IqEFA+GP5eHKUoCDKDnZUhptWHzxXFQj0yPwiVBH/VAZakzGbao/XCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655987466; a=rsa-sha256; cv=none; b=QrlvasB25S6DCCLN3wtweN4/HVR9YHktzFP8Qchg780TEgID2/1OVFgBgz8qfnHvMieo5J UnLburJOyZetNuBNMIP4jjUFjbxD0vkKbF9DJp4dxnMbpoFdV7ks8dqefCsGryVOEBivPC 6oUqfZW65Jh9d8Li9iuJdD3cqljag9703KdsPPTaFep2fzOf1nN9r0gGgIYMdJ8VY38ZfT LaiZOzPWEkcb3JEU6vEPrt3W58OlxM7J1q985V4ytRcPAomI1bHTgTfmqry4i9KW08ck+7 zFUIQ1dsYlxWpUz0naW9LTdT9WHxuz2Ko42Z3uO6q1RmfTEFgNMyBZaC+uViWA== 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.65 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: 3FAC02F04A X-Spam-Score: -1.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4y0HEtMB2uaD Old repos (in particular nmbug) should keep working transparently, but new ones will be created with a couple of layers of hashed directories to avoid problems with (at least) ext4 file systems and too many subdirectories in a given directory. There is no history preserving upgrade path in this series, but I think a format-version argument could be added to "commit" with only a moderate amount of effort.