Bugzilla – Bug 6546
No version number in nightly noCPAN tarball filename
Last modified: 2011-03-16 04:39:21 UTC
I've been looking at the SqueezeCenter nightlies and, in particular, at the noCPAN flavour as I'm putting together a Gentoo ebuild. I've noticed that the noCPAN flavour's filename doesn't include the version number, eg: /downloads/nightly/SqueezeCenter_v2008-01-04/squeezecenter-noCPAN.tgz Contrast that with the ZIP version: /downloads/nightly/SqueezeCenter_v2008-01-04/SqueezeCenter_trunk_v2008-01-04.ZIP Unfortunately that creates a problem on Gentoo as the downloaded tarballs for all packages are placed into the same directory and so the names for different nightly versions will clash. Gentoo will then believe that the package has been corrupted and won't install it - effectively preventing us putting a Gentoo package together. I've talked to the official Gentoo SlimServer package maintainer (Joe Peterson) and he doesn't think there's any workaround and so the filename will need to change to be unique for each version. I wonder whether this is something that could be fixed? I know there has been some jiggling around of the nightly build process and so this might be a side-effect of that. I first raised this in the following forum thread: http://forums.slimdevices.com/showthread.php?t=41743
As Stuart says, it is difficult to reference tarballs within Gentoo that do not contain distinct versions within their filenames (since they are ambiguous as pulled directly from the source). Looks like 2008-01-02 is the last nightly to have the date string in the tarball name.
As noted in the beta forum the nightlies from 8/1/08 have a new filename structure that includes the svn revision to ensure they are unique. That fixes this for me so I think this an be closed. I've pushed an updated ebuild for the new filename structure to Joe.
The new filename is squeezecenter-[version #]-[build #]-noCPAN.tgz, which is much more maintainable and understandable. It works for the Gentoo ebuilds, and matches our RPM and DEB file names.