GNU bug report logs - #44130
[PATCH] Add a recursive version of mkdir-p

Previous Next

Package: guix-patches;

Reported by: divoplade <d <at> divoplade.fr>

Date: Wed, 21 Oct 2020 23:31:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: zimoun <zimon.toutoune <at> gmail.com>
To: divoplade <d <at> divoplade.fr>
Cc: 44130 <at> debbugs.gnu.org
Subject: [bug#44130] [PATCH] Add a recursive version of mkdir-p
Date: Fri, 23 Oct 2020 21:36:59 +0200
salut,

On Thu, 22 Oct 2020 at 01:29, divoplade <d <at> divoplade.fr> wrote:

> 1. Lobby guile to provide this function out of the box (this will take
> time);

This path seems the one to go.  It will take less time than running
Guile on Windows. ;-)

The only issue is that your code will depend on Guile 3.0.x where x>4.  

Otherwise, why is it not possible to send a patch to Guile?


> 2. Copy that of guix, or gash, or any other: this does not seem
> acceptable to me, because this function will surely evolve (for
> instance, if guile gets suport for mingw and we start running guile
> programs on windows) and I don't want to update more than one version
> of this function;

The ’mkdir-p’ version in (guix build utils) is the same as 2012.  So I
am not convinced that you will need to update it really often.


> 3. Depend on guix, gash or another package: this would be too large a
> dependency for my programs.

Ok.


On Fri, 23 Oct 2020 at 19:12, divoplade <d <at> divoplade.fr> wrote:

> So, there's no temptation to make one-function packages.

One package making one-function package will call other one-function
packages. :-)


à tantôt,
simon




This bug report was last modified 4 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.