[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#850409: tracker.debian.org: .dsc link to packages in update is broken



Control: tag -1 + confirmed newcomer

Hi,

On Fri, 06 Jan 2017, Daniel Dehennin wrote:
> Package: tracker.debian.org
> Severity: normal
> 
> I figure out that the link is broken:
>     http://httpredir.debian.org/debian/pool/updates/main/s/squid3/squid3_3.4.8-6+deb8u4.dsc
> 
> It should be
>     http://httpredir.debian.org/debian/pool/main/s/squid3/squid3_3.4.8-6+deb8u4.dsc
> 
> The “/updates/” should not be there.

Right. The problem is that the package first appeared on
security.debian.org, the "directory" field of the Sources entry was
associated to the source package and when the package moved to the main
mirror it was not updated.

This is a problem with the data model used by the tracker. The "directory"
field should never have been associated to a SourcePackage but to
its associated SourcePackageRepositoryEntry. After all the package can
reside on two mirrors in different locations while still being the same
package.

This fix is not hard but not trivial either since we have to handle a
database schema update and adjust the code accordingly. We will also have
to adjust some code to have a way to force an update of the field.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/


Reply to: