From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OFIWCtmW12QtQAEASxT56A (envelope-from ) for ; Sat, 12 Aug 2023 16:27:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +PW3CdmW12TYOAAAauVa8A (envelope-from ) for ; Sat, 12 Aug 2023 16:27:37 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C91AB38D22 for ; Sat, 12 Aug 2023 16:27:36 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691850457; h=from:from:sender:sender: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=gtj62XkdYX1IYUu3/yD6q5BLnXuzLRm+wwBVHePW1zQ=; b=hqDkbBLsPhrMEcykF1Q5yBdtEkIyE9Yycvg/0ukLOcmy9yWrJ7EvBiFe9s9aZgmEhwj72C E4UX0rlZnI/hKUniZil1n25te2MDSOtyBgYSs7cGYepQRZ0bMS4DxJ0s5F3UAjSZcez8EV w3ZfXqhLHqBfdzuWJK9S2vE6jvwUlrBjMwEJrgb7yaQG3D4Pm1FdVZk9XcSp4vBbHt64Va ej1Xt1y/Jfcb089/ge1wZ+mLUT0sEy86QpuEH6HpBhAJjnpmmvbsYvhDqEOZauv0rLMwaw cFi5M345MM10vtaI2Xx4Q4LC1JkuhRFSejRJueXcnoOuq9WVboyWQOkCome+Rg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691850457; a=rsa-sha256; cv=none; b=WlhNt5ROPcHwUh1LpgVrTqdvsiBQJ1/2CIu94UxZ93nruzNWxa5FTTRrcMCKlDIT34+WIi 5xESH0OO2XjUeEFpRAfh7cwS5K9exWp12/N49F3qQdvJTvYltl7B4Bt/EGwpDhu2LuS2js E1SbjqJgV7CoVGbrroRfJUn2J/GwsBf6gK92GnrTHaG1XdalPaDL+HkH640aHr4uGEfJKF BWOXrFLseXlfLY6qoAxSwxRX6y1AJyc2e64fc0J7JlBCC5MRec3mzFs8uxNPcXist5AqeL AEReGcJ/8FY7jvn7MXyWTIDvoft11Uh61TytCPNDRq3rThcGfZdT+ybu1iTldg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUpZn-0007jd-PE; Sat, 12 Aug 2023 10:26:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qUpZm-0007jM-06 for emacs-orgmode@gnu.org; Sat, 12 Aug 2023 10:26:46 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qUpZk-0007ci-O0 for emacs-orgmode@gnu.org; Sat, 12 Aug 2023 10:26:45 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qUpZi-00022k-BP for emacs-orgmode@gnu.org; Sat, 12 Aug 2023 16:26:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: [PATCH] Testing: Ensure 'org-id-locations-file' is set before updating Date: Sat, 12 Aug 2023 21:26:32 +0700 Message-ID: References: <87pm3s38xl.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US, ru-RU In-Reply-To: <87pm3s38xl.fsf@localhost> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 18 X-Spam_score: 1.8 X-Spam_bar: + X-Spam_report: (1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.972, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.58 X-Spam-Score: -5.58 X-Migadu-Queue-Id: C91AB38D22 X-Migadu-Scanner: mx2.migadu.com X-TUID: lN4i+fahb8Bd On 12/08/2023 16:29, Ihor Radchenko wrote: > Morgan Smith writes: > >> Hello! This fix allows me to run the tests without giving it access to the >> filesystem outside of the repository. I have no clue what org-id-locations are >> and I'm hoping someone else does so I don't have to learn. I'm not sure if >> this is the best fix, but it works. > > In the absence of clear understanding what went wrong, I cannot accept > this patch, unfortunately. mkdir ~/hide mv -i ~/.emacs* ~/hide make test-dirty BTEST_RE=test-org-link Finding ID locations (26/26 files): /home/ubuntu/src/org-mode/testing/examples/agenda-file.org Opening output file: No such file or directory, /home/ubuntu/.emacs.d/.org-id-locations make: *** [mk/targets.mk:100: test-dirty] Error 255 I have not looked closely into the proposed patch, but I find it reasonable expectation that tests should not write to ~/.emacs.d/