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

Package:
tracker.debian.org
Source:
tracker.debian.org
Submitter:
Daniel Dehennin
Date:
2023-02-25 15:36:05 UTC
Severity:
normal
Tags:
#850409#5
Date:
2017-01-06 08:25:55 UTC
From:
To:
Dear Maintainer,

I tried to download the source package of squid3 but got a 404.

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.

Regards.

#850409#10
Date:
2017-01-06 11:08:35 UTC
From:
To:
Hi,

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,

#850409#17
Date:
2017-09-25 11:55:35 UTC
From:
To:
Happened today with:
https://tracker.debian.org/pkg/pyjwt

Paolo

#850409#22
Date:
2018-06-22 05:02:36 UTC
From:
To:
I started to work on this issue. The migration itself (both schema and data) is pretty straightforward. However, the rest of the code refactoring will take bit of time.

Could you please clarify if the "directory" field should be a part of the SourcePackageRepositoryEntry model, or a part of the Repository model?

Right now, I have it as a part of the SourcePackageRepositoryEntry model (because that is what made sense in my mind) but I wanted to double check to make sure I was on the right track.

Best,
Lev

#850409#27
Date:
2018-06-22 11:56:57 UTC
From:
To:
Hi,

I think I have been quite clear. The "directory" field should be part of
the SourcePackageRepositoryEntry model (and not the SourcePackage model
where it currently resides).

Cheers,

#850409#32
Date:
2018-07-06 09:19:47 UTC
From:
To:

#850409#39
Date:
2020-12-13 18:36:01 UTC
From:
To:
 Hi, it's me Ken. Did you have an opportunity to look at my email?