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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-28 18:21 UTC by Yuri Victorovich
Modified: 2020-05-28 18:21 UTC (History)
0 users

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


Attachments

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.

Testcases:
* 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.