[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#245250: apt-get source --tar-only should work with upstream version only



On Thu, Apr 22, 2004 at 09:11:23AM -0700, Matt Zimmerman wrote:
> tags 245250 wontfix
> thanks
> 
> On Thu, Apr 22, 2004 at 08:38:27AM +0200, Ralf Treinen wrote:
> 
> > I would like to use apt-get source --tar-only to retrieve the upstream
> > tarball by providing the upstream version number but not the debian
> > release number. Currently this is not possible :
> > 
> > apt-get source --tar-only <package>=<upstream-version>
> > 
> > fails, I currently have to say
> > 
> > apt-get source --tar-only <package>=<upstream-version>-<debian-release>
> 
> The name of the upstream tarball is defined in the .dsc, and in order to
> fetch the .dsc we must know the full version number of the package.

OK, but if it is only to get the name of the upstream tarball then
you can take any available .dsc of the requested upstream version.

Maybe I should explain why I want this feature: We are having an
alioth projetc for collaborative maintainership of the packages
related to ocaml. Currently we store for every package the
debian directory and the orig.tar.gz. We would like to stop
uploading orig tar balls to alioth, which is a waste of resources,
and rather have our internal build script retrieve upstream 
tarballs, either by using apt-get source (hence my wishlist
request), or if this fails use the information in the debian/watch
file to retrieve it directly from upstream.

-Ralf.
-- 



Reply to: