Add functionality to remove misflagged packages
Sometimes the flagged page of aports-turbo (https://pkgs.alpinelinux.org/flagged) can contain bogus information, it seems useful for me to introduce some kind of removal process to aid in general validity of the said service.
There are multiple types of wrong flags:
What have i thought of?
As there are multiple causes of the mismatched flag data, multiple sulutions are proposed:
-
Non Solution: The admin has to remove the entries by hand from the SQL database (does not happen atm)
-
Solution 1: Removing the userbased flag functionality and instead referencing to Anitya for flagging (after the Flag button click)
pros | cons |
---|---|
light implementation demand | some enterprise users have time windows and possibly would not flag the package at all |
bar for spam flaggers rises, because an account has to be created at Anitya | does not directly aid in removing existing bad entries |
- Solution 2: Adding a "report false positive" button, that notifies the maintainer of the package to confirm the false positive
pros | cons |
---|---|
safegurad against bot-based deletes | if maintainer is inactive, the confirmation link will (probably) never be clicked on |
does not handle unmaintained packages well |
- Sulution 3: Solution_2() + notifying active maintainers, that have write permission to
/aports
repo after a timeout or directly if without maintainer
pros | cons |
---|---|
safegurad against bot-based deletes | maybe harder to implement |
confirmation links of inactive maintainers are forwardable to active ones | |
handles unmaintained packages |
Comments welcome!
P.S. Whether one of these solutions is approached, displaying a tooltip with a link and one to two lines of explanation towards Anitya would help imo.