#901500 tracker.debian.org: does not remove the versions panel when the package has been removed entirely

#901500#5
Date:
2018-06-14 07:54:24 UTC
From:
To:
If you look at https://tracker.debian.org/pkg/jenkins it looks like that
jenkins is still in unstable with version 1.565.3-6 but in fact it has
been removed everywhere (the "package is gone" panel is a proof).

So the code updating the "versions" panel is not pruning the last entry
correctly when the package has been entirely removed from all known
repositories.

The relevant code is in distro_tracker/core/retrieve_data.py in the
UpdateVersionInformation object.

The execute function should really have some logic to drop the PackageData
entries for packages that have no associated source_package_versions.

Cheers,

#901500#14
Date:
2024-02-11 12:13:25 UTC
From:
To:
Hacking app atikal hacking
#901500#19
Date:
2026-11-02 21:31:16 UTC
From:
To:
Hello,

Bug #901500 in tracker.debian.org reported by you has been fixed in the Git repository.
You can see the commit message below and you can check the diff of the fix at:

https://salsa.debian.org/qa/distro-tracker/-/commit/72cc3dbe6da3e1e0fff7fbba20524c2ee92dba32
------------------------------------------------------------------------ Merge branch 'removed-package-versions' into 'master' Drop the stale versions panel of removed packages Closes #44 Closes: #901500 See merge request qa/distro-tracker!124 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/901500
#901500#24
Date:
2026-11-02 21:31:16 UTC
From:
To:
Hello,

Bug #901500 in tracker.debian.org reported by you has been fixed in the Git repository.
You can see the commit message below and you can check the diff of the fix at:

https://salsa.debian.org/qa/distro-tracker/-/commit/3686852a1834901100de9e4e4118d066cdb4b741
------------------------------------------------------------------------ core: drop versions data of packages that are gone When a package leaves its last repository, UpdateRepositoriesTask turns its SourcePackageName into a plain PackageName. UpdateVersionInformation then fails to look it up during the cleanup and keeps the last known versions, so the versions panel still shows the package in unstable. Delete the versions data of all names that are no longer source packages. This also cleans the stale data left by older removals. Closes: #901500 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/901500