[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new manifest format readers?
From: |
Ludovic Courtès |
Subject: |
Re: new manifest format readers? |
Date: |
Fri, 09 Jun 2017 15:56:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hi,
Ricardo Wurmus <address@hidden> skribis:
> Can we simplify this case by adding manifest readers for different
> formats? One simple format could be plain text:
>
> # this is for compilers
> address@hidden
> address@hidden
>
> # this is for fun
> cdogs-sdl
>
> The manifest reader would just discard # comments and interpret each
> non-empty line as a spec string.
Sounds reasonable.
I guess we’d need to add a new option to read this format, or should
‘guix package -m’ try to automatically dispatch based on the file name
extension with a new --format option to override the guess?
> While I love Scheme, I don’t think anything is to be gained from
> exposing users who don’t want to use Scheme for manifests to opaque
> blobs of code and syntax they don’t want to understand.
I thought everyone needed their dose of parentheses, but maybe you’re
right. :-)
Ludo’.
Re: new manifest format readers?, Björn Höfling, 2017/06/09