From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GBLSDd/Ir2XwHAAAe85BDQ:P1 (envelope-from ) for ; Tue, 23 Jan 2024 15:10:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GBLSDd/Ir2XwHAAAe85BDQ (envelope-from ) for ; Tue, 23 Jan 2024 15:10:39 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=kmw3dJak; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706019039; a=rsa-sha256; cv=none; b=Jqo6iNrt6vRs5e+dHj+TNrshBUT2PKNaTnW0P55OgoJmiodLYOWUwq7Uh9VxaTSVXmm2sl +SU95qICoqH4CIiILZ6C2MTEuz3DqgotpXiFmNUB0na5/sxNrwYk5zvi9FcBkVGWDbO2BN QjnNle7fkCSTSMPA+Aa1ojQI4fIbP3tfSUQ/4VHdQm94jeo7xmxRyke+m7O92YXpoOELzS XZwfRi8BW1jm5NB5ExrLDTgYKi+k3eLcK0PdGzoskpWrPnCp5ESlGziMxkQwdOSjCcDs1B dTTHTOJrKs8wBErtzp8ZSujNPejdwYcm8U2CqJ7bBNX4JkDX6KWoUrb+n8509A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=kmw3dJak; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706019039; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=czbliYDT3mxDlO+UjwwZzkNbWvJ3wyJhhEoDm4XRAbU=; b=BSOdEwluBV/nshBgkoD0G096zkihLIFbfQ71abXf0H4EYnyv5otKy7zaQgDcHGB1NSd1pW gtmjwx3utHLKWQpyZOfOru7C2g6ChE+m5VX+tpKC0tBGamyXU47Bb84L82MrLdx96ARPfO eKzYjyEEAEKuwEoizQ8tnEpPnWxhGf+Ff8rEdJga9UWj6BeKo3phy5mZl5oRmQfLEFds3w iTMXXtY61IQmFoGYGNSvQFcJCMPx9Lqj/hwVz/GEP23eYOWD54bPSQhtW8BTSAyufOHI61 U6arcaHYAFn0ogIUJUuxah8EI9jtOKmBUnLz/ihOHjs12tQ9/bCq1le/2L7b8g== 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 1F79D73BCB for ; Tue, 23 Jan 2024 15:10:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSHTk-00061N-5b; Tue, 23 Jan 2024 09:10:16 -0500 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 1rSHTi-000618-S6 for guix-patches@gnu.org; Tue, 23 Jan 2024 09:10:14 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSHTR-0006A6-Rd for guix-patches@gnu.org; Tue, 23 Jan 2024 09:10:14 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rSHTW-0007el-F7 for guix-patches@gnu.org; Tue, 23 Jan 2024 09:10:02 -0500 Subject: bug#68670: [PATCH core-updates] doc: Document changes to `copy-recursively'. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 23 Jan 2024 14:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 68670 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Romain GARBAGE Cc: 68670-done@debbugs.gnu.org, ludo@gnu.org Mail-Followup-To: 68670@debbugs.gnu.org, maxim.cournoyer@gmail.com, romain.garbage@inria.fr Received: via spool by 68670-done@debbugs.gnu.org id=D68670.170601895629356 (code D ref 68670); Tue, 23 Jan 2024 14:10:02 +0000 Received: (at 68670-done) by debbugs.gnu.org; 23 Jan 2024 14:09:16 +0000 Received: from localhost ([127.0.0.1]:42487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSHSl-0007dQ-Lg for submit@debbugs.gnu.org; Tue, 23 Jan 2024 09:09:16 -0500 Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]:48332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSHSj-0007d1-Gs for 68670-done@debbugs.gnu.org; Tue, 23 Jan 2024 09:09:13 -0500 Received: by mail-qv1-xf29.google.com with SMTP id 6a1803df08f44-686aa9f0736so405066d6.0 for <68670-done@debbugs.gnu.org>; Tue, 23 Jan 2024 06:09:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706018943; x=1706623743; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=czbliYDT3mxDlO+UjwwZzkNbWvJ3wyJhhEoDm4XRAbU=; b=kmw3dJakKLXVwLnKPGigqFQUhHglYpPOJgCHs2wnJKfNURVbCi0OQB6hhKC1pVpcAJ vuN5NQQbj3KhYl4oyYCuvJrrXeqKaBpMbm2nQQ3oD8wGAEsiybTu26bERZDXQhGjxmLi EtxL3lwiwgAc/yXRWrkvnspV88TKOh9zIHqexo2/W/ywdlTnt+aDLy26l7sp7snDHtsS WSFES6kBFrx2I7CbvPzH5d/4UBPc9ig3Kc5hzFihtNpiWG9KP64x9t15Y3z7P7hv9TDo 1O3Ei/ivfiqmCYlvIG46UbSPd9S2/hO6GP3fW1HtYmF8a/ZSbvcTcgoaaQ73WuPdA0S0 6pkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706018943; x=1706623743; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=czbliYDT3mxDlO+UjwwZzkNbWvJ3wyJhhEoDm4XRAbU=; b=vOWzHN0XDgOFFLh6qfNqB6o1fR5DqIcr1r3RJQjtdHiFy5uFVVECxvInXJLGCPQALl Zav2F75eMZASEPITN4RFViwKbAO1q4mPjfqXXpIS0JNig2J1qCJ01jn6upAB95awOjwf fPvbCIQlzHkldCrsMJ+0utwYsaTKtD+aaoBkvJQpOrb3PCG5V0WYcVR9pa3Blfew/+pc sY5vLTBdhEoaxxydPdmt2lofuftluqlGAFF/bLu3ciP4y0mNuBHB9YSy/YYIGkmDkm3C qWfUFVSE7xv4V2lil7c5kNJLQXoaVn17pfLY3Gj9de3rFQehwCjUHn/vsjZb4xQz5G/t DwRg== X-Gm-Message-State: AOJu0YzaaK5OJ64hk+5zMW9lzEec8lBOPpCfd/LRIjl2i9U3yKW3LleH tFYJxwLB+FIwXrVAuyFjeBdi+r0yeRsCwNyRYjkDIyNMH0laXuyx X-Google-Smtp-Source: AGHT+IG5ceJNFDu7U87OlOypWcMNPHORZUIeM0Bzh6JlUZ6su/a6Cs+o9bv8ON2M/xAGq7j4R9fpcA== X-Received: by 2002:a05:6214:3011:b0:684:e267:11aa with SMTP id ke17-20020a056214301100b00684e26711aamr912056qvb.123.1706018943076; Tue, 23 Jan 2024 06:09:03 -0800 (PST) Received: from hurd (dsl-158-18.b2b2c.ca. [66.158.158.18]) by smtp.gmail.com with ESMTPSA id v6-20020a0ccd86000000b00683de714c89sm3469269qvm.55.2024.01.23.06.09.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 06:09:02 -0800 (PST) From: Maxim Cournoyer In-Reply-To: (Romain GARBAGE's message of "Tue, 23 Jan 2024 09:42:41 +0100") References: Date: Tue, 23 Jan 2024 09:09:01 -0500 Message-ID: <87sf2o16rm.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -5.57 X-Migadu-Queue-Id: 1F79D73BCB X-Migadu-Spam-Score: -5.57 X-TUID: J6sIn7Vbl/pU Hello! Romain GARBAGE writes: > * doc/guix.texi: Document new key `select?' in `copy-recursively'. > > Change-Id: I4b14ae5a1b40e0939456604f75597b5596b76f83 > --- > doc/guix.texi | 14 ++++++++++---- > 1 file changed, 10 insertions(+), 4 deletions(-) > --- > As requested by Ludo', here is the documentation update that should have > been sent together with issue #68406. > > diff --git a/doc/guix.texi b/doc/guix.texi > index df6ce91736..4dbc311468 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -10814,12 +10814,18 @@ Build Utilities > @deffn {Procedure} copy-recursively source destination @ > [#:log (current-output-port)] [#:follow-symlinks? #f] @ > [#:copy-file copy-file] [#:keep-mtime? #f] [#:keep-permissions? #t] > + [#:select? (const #t)] > Copy @var{source} directory to @var{destination}. Follow symlinks if > @var{follow-symlinks?} is true; otherwise, just preserve them. Call > -@var{copy-file} to copy regular files. When @var{keep-mtime?} is true, > -keep the modification time of the files in @var{source} on those of > -@var{destination}. When @var{keep-permissions?} is true, preserve file > -permissions. Write verbose output to the @var{log} port. > +@var{copy-file} to copy regular files. Call @var{select?}, taking two > +arguments, @var{file} and @var{stat}, for each entry in @var{source}, > +where @var{file} is the entry's absolute file name and @var{stat} is the > +result of @code{lstat} (or @code{stat} if @var{follow-symlinks?} is > +true); exclude entries for which @var{select?} does not return true. > +When @var{keep-mtime?} is true, keep the modification time of the files > +in @var{source} on those of @var{destination}. > +When @var{keep-permissions?} is true, preserve file permissions. Write > +verbose output to the @var{log} port. > @end deffn > > @deffn {Procedure} delete-file-recursively dir [#:follow-mounts? #f] Queued for my next core-updates push. -- Thanks, Maxim