[debpool] Should Allow_Version distinguish different archs?
Magnus Holmgren
holmgren at lysator.liu.se
Tue Apr 24 09:06:37 UTC 2007
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?
The $VersionDBs have to use $arch in the keys, and Set_Versions(),
Get_Version(), and Allow_Version() has to take it into consideration. I'm on
it, but I have to check out a new copy to be able to commit just that change
to Packages.pm, and also I don't know if it's worth it if the database is
going to change radically.
--
Magnus Holmgren holmgren at lysator.liu.se
(No Cc of list mail needed, thanks)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debpool-devel/attachments/20070424/f5890c55/attachment.pgp
More information about the Debpool-devel
mailing list