[Pkg-bazaar-maint] Bug#541859: Bug#541859: bzr-builddeb: Unable to import history from snapshot.d.n or a file

James Westby jw+debian at jameswestby.net
Mon Aug 17 23:44:37 UTC 2009


Yavor Doganov wrote:
> Package: bzr-builddeb
> Version: 0.95
> Severity: normal
> 
> I am trying to use the import-dsc command to import the history of the
> `kazehakase' package.  Following the documentation,
> 
> $ bzr import-dsc --initial --snapshot kazehakase *.dsc
> bzr: ERROR: No such file: 'http://snapshot.debian.net/archive/pool/k/kazehakase/source/Sources.gz'
> 
> There is indeed no such file, and snapshot.debian.net seems
> unmaintained these days.  Maybe the plugin needs to be updated not to
> look for Sources.gz?

We need the Sources.gz to know what files are available. I don't fancy
screen-scraping the directory indices and working it out. Once
snapshot.debian.org is available then we can just convert to that
and drop support for .net.

> I tried to put all links to the .dsc's in a file (I can send it to you
> if you want) and issued
> 
> $ bzr import-dsc --initial --to kazehakase --file=/tmp/kz.bzr
> bzr: ERROR: exceptions.TypeError: run() got an unexpected keyword argument 'file'
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 835, in exception_to_return_code
>     return the_callable(*args, **kwargs)
>   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 1030, in run_bzr
>     ret = run(*run_argv)
>   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 647, in run_argv_aliases
>     return self.run(**all_cmd_args)
> TypeError: run() got an unexpected keyword argument 'file'

Ouch. That one I can fix, thanks.

James






More information about the Pkg-bazaar-maint mailing list