GNU bug report logs -
#33286
Add 'list-formats' to 'guix pack'
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 13 Jul 2021 08:03:42 -0400
with message-id <87zguqs9nl.fsf_-_ <at> gmail.com>
and subject line Re: bug#33286: Add 'list-formats' to 'guix pack'
has caused the debbugs.gnu.org bug report #33286,
regarding Add 'list-formats' to 'guix pack'
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
33286: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33286
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
I was looking at the help menu for 'guix pack' and I realized that I
didn't know what formats were available and there wasn't a flag to show
them.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[0001-pack-List-the-available-formats.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
[Message part 6 (message/rfc822, inline)]
Hello,
Efraim Flashner <efraim <at> flashner.co.il> writes:
> On Tue, Nov 06, 2018 at 04:31:59PM +0100, Ludovic Courtès wrote:
>> Hello,
>>
>> Efraim Flashner <efraim <at> flashner.co.il> skribis:
>>
>> > From af9a132a662f1d703df1c32278a45d2adca146ed Mon Sep 17 00:00:00 2001
>> > From: Efraim Flashner <efraim <at> flashner.co.il>
>> > Date: Tue, 6 Nov 2018 11:50:48 +0200
>> > Subject: [PATCH] pack: List the available formats.
>> >
>> > * guix/scripts/pack.scm (show-formats): New variable.
>> > (%options, show-help): Add 'list-formats' option.
>>
>> [...]
>>
>> > @@ -551,6 +552,18 @@ please email '~a'~%")
>> > (squashfs . ,squashfs-image)
>> > (docker . ,docker-image)))
>> >
>> > +(define (show-formats)
>> > + ;; Print the supported pack formats.
>> > + (display (G_ "The supported formats for 'guix pack' are:"))
>> > + (newline)
>> > + (display (G_ "
>> > + tarball A self-contained tarball, ready to run on another machine."))
>> > + (display (G_ "
>> > + squashfs A squashfs image, ready for 'cluster engines' and the like."))
>>
>> I’d write “Squashfs image suitable for Singularity” and remove “A” from
>> each.
>>
>> Also, since we have the ‘%formats’ alist right above, what about
>> adjusting it so that it contains each format description, and then
>> ‘show-formats’ would just traverse it?
[...]
> I do like the idea, but I haven't been able to get it to work. In the
> mean time I've committed this as db08ea40873ae20507bc40d34a56dea1b8ce8f0e
> so we at least get the benefits of having it here.
Closing.
Thank you!
Maxim
This bug report was last modified 4 years and 32 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.