From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 2EE846DE098B for ; Tue, 2 Jan 2018 15:14:24 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.025 X-Spam-Level: X-Spam-Status: No, score=-0.025 tagged_above=-999 required=5 tests=[AWL=-0.025] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MVHf4wO9LmB3 for ; Tue, 2 Jan 2018 15:14:23 -0800 (PST) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id 60E7B6DE0243 for ; Tue, 2 Jan 2018 15:14:23 -0800 (PST) Received: from fifthhorseman.net (unknown [38.109.115.130]) by che.mayfirst.org (Postfix) with ESMTPSA id A1B17F99D; Tue, 2 Jan 2018 18:14:21 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id 653C42050F; Tue, 2 Jan 2018 18:14:15 -0500 (EST) From: Daniel Kahn Gillmor To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH] WIP: support XDG database directory In-Reply-To: <20171230200740.22509-1-david@tethera.net> References: <20171230200740.22509-1-david@tethera.net> Date: Tue, 02 Jan 2018 18:14:12 -0500 Message-ID: <877eszg8fv.fsf@fifthhorseman.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 23:14:24 -0000 --=-=-= Content-Type: text/plain On Sat 2017-12-30 16:07:40 -0400, David Bremner wrote: > Just a rebase against current master, based on discussion in IRC > today. AFAIK, the general approach could be extended to support a > "NOTMUCH_DATABASE_DIRECTORY" environment variable, which if think is > what Tomi was suggesting previously. I'm not sure i understand the rationale here -- it looks like this might move the notmuch database directory away from its historic location alongside the set of maildirs (then "mailstore"). is that right? where would each such notmuch database live if there were two different mailstores? how is any given mailstore bound to the associated notmuch database itself? does the user point explicitly to both the mailstore and the database? or does pointing to the mailstore reveal the location of the database? or vice versa? is it possible (or should it be) to have one mailstore that is indexed by multiple databases? i ask because i've been thinking about ways to protect the index itself, but i want to make sure i understand all the different ways that the mailstore and the database are (or are not) coupled to each other. --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEDuW+l5KC2AufdUDxzNLtlNIXOekFAlpMEkQACgkQzNLtlNIX Oel2cQ/9Ft8vNMraC4YwWg2bXEmTVFlESFvADKZVrLSl19GkuibaT5Sl05iviBul 4r+2Lf8FqCBDQEZxqpetMQbWHTUGfXYGMVCLaztOKP2/9NAbwfeBFEWApRPxniVM rvG8viT0VDRMoZfr0DgFKaPZjFcCf59T8MaL4n3OwcHzCQd7+VJEkOfQz4gk2Hun jrYGah9e3HXg7d1leZwwlgI0ZyYveB79xrse7ij8uNzeXa2H6QPXYcFseTdzcw3c 9kexTEbi7N1/mLN0U9EbKwl+tV8XVBii16+OziDis3ck3mmxu2wNyDmaNKwYhGcu TP/iUS4xYUjxV1YBsNRZmQ5zR9DGfZcI48knsIm/kp/uXvt5DdDcE0J+KoelC2vS iPvvWuEf2HRQQQ4m1RAUneTLy7T+RMPMifIhvUi9pFFMvVeSj1AUJzbgR6TT3k8A SG3sX4aGRHTTytbVNvt/UGYzQF5+Z6E24QAoiD9E/k6DlE53IpZo2nnnt/4Ah0wG n5OcZFhYxw/+1jVVxXM/DHFEKVrUSJ5ttx+F6pgh1R9ryOEegujGt9KJhLGjpepB Oxy9WCarGXh9D5xMgZUGCj+CUMgdnPMJ1T/2EEnRBzW43cDzOvrzKcXFWRH8gBzd ra77XZqhB2fAJjXlYJbXi5r43fuEPwmeHLno4U3tgF+w7pSByr8= =ie8/ -----END PGP SIGNATURE----- --=-=-=--