GNU bug report logs - #30113
SVN checkouts without descriptive file names

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Sun, 14 Jan 2018 16:04:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 30113 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 30113 <at> debbugs.gnu.org, boskovits <at> gmail.com, leo <at> famulari.name
Subject: Re: bug#30113: SVN checkouts without descriptive file names
Date: Sun, 14 Jan 2018 17:53:11 +0100
On Sun, 14 Jan 2018 17:43:27 +0100
Tobias Geerinckx-Rice <me <at> tobias.gr> wrote:

> Gábor Boskovits wrote on 14/01/18 at 17:13:
> > Maybe we could use guix to check for these, and some
> > other things could also be spotted.
> > WDYT?  
> 
> Agreed, I think.

Yeah, +1

> We should be able to improve the quality of these guesses: the
> repository URI is about as likely to be foo://bar/<package>... as a
> regular tarball URI.
> 
> Or we make a file-name mandatory for certain methods.

I agree that some heuristics to figure out the file-name from (svn-reference-url ref) would be nice.

It's not that important that the store filenames are meaningful to humans, it's just nice-to-have.  So I'd say heuristic it and be done with it.

On second thought, maybe even default file-name to the Guix package name (if possible at this point in Guix).  The hash value will make it unique regardless (for example if there are multiple svn-download blocks in the same package)




This bug report was last modified 6 years and 143 days ago.

Previous Next


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