GNU bug report logs -
#51346
[PATCH 0/1 core-updates-frozen] Rework swap device to add dependencies and flags
Previous Next
Reported by: Josselin Poiret <dev <at> jpoiret.xyz>
Date: Sat, 23 Oct 2021 09:47: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
Josselin Poiret <dev <at> jpoiret.xyz> skribis:
> + (lambda (swap)
> + (define requirements
> + (cond ((swap-space? swap)
> + (map dependency->shepherd-service-name
> + (swap-space-dependencies swap)))
> + ; TODO Remove after deprecation
> + ((and (string? swap) (string-prefix? "/dev/mapper/" swap))
> + (list (symbol-append 'device-mapping-
> + (string->symbol (basename swap)))))
BTW, shouldn’t we emit a deprecation warning when (string? swap)?
If we do, it should contain source location info, as discussed at
<https://lists.gnu.org/archive/html/guix-devel/2021-09/msg00314.html>.
The whole series LGTM modulo the minor issues I commented on; could you
send a last version?
If Tobias agrees, we can apply that last version as soon as we get it.
I’d even apply it to ‘master’; why did you target ‘core-updates-frozen’?
Thanks!
Ludo’.
This bug report was last modified 3 years and 185 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.