[debpool] Re: Should Allow_Version distinguish different archs?
Free Ekanayaka
freee at debian.org
Tue Apr 24 09:17:15 UTC 2007
|--==> Magnus Holmgren writes:
MH> On Tuesday 24 April 2007 10:41, Free Ekanayaka wrote:
>>it seems that the current behaviour of Allow_Version in Packages.pm is
>>to run the version check even between binary packages of different
>>archs. So unless rollback is set, the upload of foo_1.0-1_amd64 will
>>be rejected if foo_1.0-1_i386 is already present in the archive.
>>
>>How could Allow_version be changed to make debpool accept packages
>>with the same version, but different arch?
MH> The $VersionDBs have to use $arch in the keys, and Set_Versions(),
MH> Get_Version(), and Allow_Version() has to take it into consideration. I'm on
MH> it, but I have to check out a new copy to be able to commit just that change
MH> to Packages.pm, and also I don't know if it's worth it if the database is
MH> going to change radically.
Well, it's something that is probably needed to get true multi-arch
support, unless we decided to "support" this feature through the
rollback option, which is bit hacky.
Ciao,
Free
More information about the Debpool-devel
mailing list