Bug 246817 - ports-mgmt/portscout: portscout shows deleted tags
Summary: ports-mgmt/portscout: portscout shows deleted tags
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kubilay Kocak
Depends on:
Reported: 2020-05-28 18:21 UTC by Yuri Victorovich
Modified: 2020-08-05 19:00 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (koobs)


Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2020-05-28 18:21:14 UTC
When upstreams delete tags portscout doesn't delete them and then shows them forever.

* misc/nn-insight (my upstream): I made a mistake and created a wrong tag 9d95926 that I later deleted. Yet, portscout still shows it.
* devel/xeus: portscout shows 0.23.15 when the latest tag on GitHub is 0.23.14 They likely created and deleted the tag, but portscout picked it up while it was there and now still has it.

Desired behavior:
For each port, when a new set of tags is harvested old tags should be removed from the database before saving a new set of tags. It seems like portscout just inserts new tags and keeps all old tags in the database which leads to the erroneous behavior.
Comment 1 Yuri Victorovich freebsd_committer 2020-08-05 19:00:09 UTC
Now there is one more: dns/coredns

These appear because of somebody's mistake, and then never disappear when these mistakes are fixed.