* bug#26175: guix download fails if filename contains "@"
@ 2017-03-19 18:06 Hartmut Goebel
2017-03-20 22:22 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Hartmut Goebel @ 2017-03-19 18:06 UTC (permalink / raw)
To: 26175
guix download fails if filename contains "@":invalid character `@' in name
$ guix download
mirror://kde/stable/applications/16.12.3/src/kde-l10n/kde-l10n-ca@valencia-16.12.3.tar.xz
[...]
Starting download of /tmp/guix-file.oVF3qZ
From
http://mirror.karneval.cz/pub/kde/stable/applications/16.12.3/src/kde-l10n/kde-l10n-ca@valencia-16.12.3.tar.xz...
...cia-16.12.3.tar.xz 2.0MiB 1.4MiB/s 00:01
[####################] 100.0%
guix download: error: build failed: invalid character `@' in name
`kde-l10n-ca@valencia-16.12.3.tar.xz'
Guix version:
/gnu/store/v83285dvjy923ikq1dddncixb6kfba0k-guix-0.12.0-5.1162/bin/guix
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#26175: guix download fails if filename contains "@"
2017-03-19 18:06 bug#26175: guix download fails if filename contains "@" Hartmut Goebel
@ 2017-03-20 22:22 ` Ludovic Courtès
2017-03-20 22:30 ` Hartmut Goebel
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-03-20 22:22 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 26175
Hello,
Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:
> guix download fails if filename contains "@":invalid character `@' in name
>
>
> $ guix download
> mirror://kde/stable/applications/16.12.3/src/kde-l10n/kde-l10n-ca@valencia-16.12.3.tar.xz
> [...]
> Starting download of /tmp/guix-file.oVF3qZ
> From
> http://mirror.karneval.cz/pub/kde/stable/applications/16.12.3/src/kde-l10n/kde-l10n-ca@valencia-16.12.3.tar.xz...
> ...cia-16.12.3.tar.xz 2.0MiB 1.4MiB/s 00:01
> [####################] 100.0%
> guix download: error: build failed: invalid character `@' in name
> `kde-l10n-ca@valencia-16.12.3.tar.xz'
To address this we’d need an extra command-line option in ‘guix
download’ to specify the name to use in the store (similar to the
‘file-name’ field in <origin>.)
So one would type:
guix download --name=foo.tar.xz mirror://…/kde-l10n-ca@valencia-16.12.3.tar.xz
In the meantime, you can work around it by doing something like:
guix download -o foo.tar.xz mirror://…/kde-l10n-ca@valencia-16.12.3.tar.xz
guix hash foo.tar.xz
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#26175: guix download fails if filename contains "@"
2017-03-20 22:22 ` Ludovic Courtès
@ 2017-03-20 22:30 ` Hartmut Goebel
2017-03-21 8:57 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Hartmut Goebel @ 2017-03-20 22:30 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 26175
Am 20.03.2017 um 23:22 schrieb Ludovic Courtès:
> To address this we’d need an extra command-line option in ‘guix
> download’ to specify the name to use in the store (similar to the
> ‘file-name’ field in <origin>.)
>
> So one would type:
>
> guix download --name=foo.tar.xz mirror://…/kde-l10n-ca@valencia-16.12.3.tar.xz
IMHO this i not a good solution, since it puts the burden of handling a
non-obvious restriction to the user. This makes things complicated and
less-skilled discourages people. "guix download" should implement some
escape automatic mechanisms.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#26175: guix download fails if filename contains "@"
2017-03-20 22:30 ` Hartmut Goebel
@ 2017-03-21 8:57 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2017-03-21 8:57 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 26175
Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:
> Am 20.03.2017 um 23:22 schrieb Ludovic Courtès:
>> To address this we’d need an extra command-line option in ‘guix
>> download’ to specify the name to use in the store (similar to the
>> ‘file-name’ field in <origin>.)
>>
>> So one would type:
>>
>> guix download --name=foo.tar.xz mirror://…/kde-l10n-ca@valencia-16.12.3.tar.xz
>
> IMHO this i not a good solution, since it puts the burden of handling a
> non-obvious restriction to the user. This makes things complicated and
> less-skilled discourages people. "guix download" should implement some
> escape automatic mechanisms.
Oh right, that’s another possibility, and I agree it’d be better.
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-21 8:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-19 18:06 bug#26175: guix download fails if filename contains "@" Hartmut Goebel
2017-03-20 22:22 ` Ludovic Courtès
2017-03-20 22:30 ` Hartmut Goebel
2017-03-21 8:57 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).