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

Bug#904694: tracker.debian.org: don't complain about outdated S-V for packages only in <= stable



Control: tag -1 + newcomer

Hi Adam,

thanks for the report.

On Thu, 26 Jul 2018, Adam D. Barratt wrote:
> https://tracker.debian.org/pkg/postgresql-9.6 reports both that the
> package is "not in any development repository", and that "[t]he package
> is severely out of date with respect to the Debian Policy".
> 
> It seems silly (and apparently confusing to at least some users) to
> complain about the outdated S-V for a package that only exists in
> (old)stable, where the package won't be tracking updates to Policy.

Right. For anyone looking to fix this, the right place to look at is
distro_tracker/stdver_warnings/tracker_tasks.py

One way to fix this would be to look package.main_entry and see if the
associated repository is the default repository and generate the action
item only in this case.

Ideally a corresponding unit test would be added in
distro_tracker/stdver_warnings/tests.py.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

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


Reply to: