Re: queries about apt-ftparchive
Am 28. Mai 2010 03:11:31 UTC+2 schrieb Karl Goetz <karl@kgoetz.id.au>:
> On Tue, 25 May 2010 20:29:48 +0200
> David Kalnischkies <kalnischkies+debian@gmail.com> wrote:
>> If i am right dak uses a file list to achieve it, but the behavior you
>> see is the default - i think it can be changed with a Filename Pattern
>> in the settings, but i would need to look that up and i am short on
>> time currently…
>
> Strange default. It may not be worth finding the cause and documenting
> if the new version changes the behaviour? If I have time I'll have a
> quick look through the commit log for any obviously related changes.
The "old" default is strange - yes. It is caused by the default to
parse all files matching *.deb for Packages - the new default
will be "*_$(ARCH).deb" or "*_all.deb" if one or more architectures
are given - if not it will continue to use *.deb - as this is what you
will want if you create a very simple flat archive for example.
I guess it is simply a relict from the times apt-ftparchive had no
"generate" command in which everything was put together manually -
and nobody cared to change it until recently…
>> The version currently in experimental (or to be specific since
>> 0.7.26~exp1) changes this behavior: It will work as (you) expected
>> with your configuration. As 0.7.26 is a registered transition it will
>> likely by included in squeeze, so time will fix it automatically. ;)
>
> oh, sweet. I might rebuild it on stable for my use until squeeze
> appears.
What you need should be in revision [0], but i suspect it will not apply
cleanly on top of apt/lenny…
good luck and best regards,
David Kalnischkies
[0] http://bzr.debian.org/loggerhead/apt/apt/debian-experimental-ma/revision/1875.3.3
Reply to: