On Thu, Jun 02, 2011 at 06:39:36PM +0300, Timo Juhani Lindfors wrote:
> today I tried to download all packages that are installed in the
> system. I generated commands like
> 
> debsnap -aamd64 ca-certificates 20080809
> [snip]
> 
> but then realized that this only works for architecture specific
> packages. For example
> 
> debsnap -aamd64 libdb4.3-ruby1.8 0.6.5-2
> 
> does nothing.

Right, since the architecture for that package is all.

> Should I change debsnap to allow multiple architectures so that one
> could say 
> 
> debsnap -aamd64 -aall libdb4.3-ruby1.8 0.6.5-2
> 
> to download either version?

That sounds like a good idea.  Just committed the implementation.

> Or should "-aall" always be implicit?

I'd prefer being explicit.

This did make me think of another idea, though.  There's currently no
easy way to say “download all binary packages for this source package”.
It seems that would be a useful bit to add.  I think modeling it after
the BTS might make sense:

    debsnap -b src:libdb-ruby

Although, it could be confusing if src: only changes behavior when -b is
used.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>

Attachment: signature.asc
Description: Digital signature

Reply via email to