From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gLrHDIhbmmJ0aAEAbAwnHQ (envelope-from ) for ; Fri, 03 Jun 2022 21:05:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WN+7DIhbmmLe5QAA9RJhRA (envelope-from ) for ; Fri, 03 Jun 2022 21:05:44 +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 6C6AF57FA for ; Fri, 3 Jun 2022 21:05:39 +0200 (CEST) Received: from localhost ([::1]:44056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxCc6-0000K9-LG for larch@yhetil.org; Fri, 03 Jun 2022 15:05:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxCbx-0000JU-U1 for gwl-devel@gnu.org; Fri, 03 Jun 2022 15:05:31 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:51826) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxCbu-0006Lk-5p for gwl-devel@gnu.org; Fri, 03 Jun 2022 15:05:28 -0400 Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 253J5Gto016815; Fri, 3 Jun 2022 15:05:22 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 253J5Gto016815 To: Ricardo Wurmus Cc: gwl-devel@gnu.org Subject: Re: Auto-create processe's output-path? In-Reply-To: <87r14560pd.fsf@elephly.net> References: <87y1yf9ga1.fsf@laura> <87r14560pd.fsf@elephly.net> Date: Fri, 03 Jun 2022 15:05:16 -0400 Message-ID: <87mteta7pv.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Fri, 3 Jun 2022 19:05:16 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: gwl-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+larch=yhetil.org@gnu.org Sender: "gwl-devel" Reply-to: Olivier Dion From: Olivier Dion via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654283139; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=RMnRgejQhDVm0zbm9bJS39pfHdRgWJ3kMsq66RspSi4=; b=PlEB4j4Ss4xnkgVBbjiuimuY+qZ0V9a1vXMS4CLuYy+YvINub7LV6TKLjMbPFtp7nTdPQO E10Gyno+uDGSi58/ocWtySwxaXG3s8G1cFdafliMVnoCsyy1sqP+PcFIxi810U4vAHzh5h Wltfwcgxgg9WcLrwKOgRbF/p4H4+XVDlQnvGph2Qt6iKzYce4d1/Ac7pipdPQFJYJC9ZHu fHl46HLEqBTet+Tuo2fv56SSN9ZhYRV65y1vgEgc+V4rn7F9gl9/aPhDodtaZHrtIqpcT9 rbYXnxlQeo5/J3kVlaAkbJ2+SlMEWnyBcp7jtqGVY5aDQAPhUwPSGnU4jJec2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654283139; a=rsa-sha256; cv=none; b=ihDYivDzfqXFJn2IDoGtc/Y8D0VOCDgKw0HbP7uS2hrl+4gcuzBrAWbRdYV871kh/SmFsL dP+DftZBiflvQsyfLlP16p903WkicQO66/0va8y9v+Jf86IZ3TTfgBTWPi7pxQywsiUR99 41GpWKPXLYG9MVjmysTGD4tfiy+RoB3sMesYLEcGdHdVhNuKTzB78/wPozufAERnhuNExe KxbygtSmUHy1yOaNueP8MdIXlU6phI6+uzxOwyDY3/SZbv708NxDC4Yi2pMF+QduNTURO9 3YVCsCb3J7QK0aK/rtdBAIAnv7gBIsXq53fPi0wM6ObrLhpBb9EePHOl9/0Yaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.82 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6C6AF57FA X-Spam-Score: -0.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: ovjbk32z8pG5 On Fri, 03 Jun 2022, Ricardo Wurmus wrote: > That said: I don=E2=80=99t know if we should have OUTPUT-PATH at all. It > doesn=E2=80=99t seem to do much other than setting the =E2=80=9Cout=E2=80= =9D environment > variable. It seems to me that this is a vestigal remnant from simpler > times. > > It is also used in PROCESS-OUTPUTS as a shared prefix for all declared > outputs. Is this really useful enough to justify respecting it in > PROCESS-OUTPUTS? Does it even work correctly with caching and > containerization? > > (Maybe we should just remove it=E2=80=A6?) I don't mind. I use it avoid repeating the prefix but I think that a concept of `working directory' would probably be better. Maybe an example of mine would explain better. I have a pipeline of processes. These are all templated and I generate hundreds of these pipelines with different parameters. Everything is auto-connected with inputs/outputs matching. What is important to me is that all inputs/outputs of a pipeline are separated in different directories. =20 Setting a working directory that is parameterizable for the processes would do this cleanly and I believe would also work in a containerized environment. I'm not sure what would be the implication for the caching, but I belive that it does not impact it. >> Would it be possible for GWL to do this instead? > > I guess we could have the GWL do this, but in some cases it may not be > desirable. There are tools that get all offended when the parent > directory of their output files already exists. Agree. --=20 Olivier Dion oldiob.dev