Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#60145 - [namcap] Check validity of PKGBUILD url field

Attached to Project: Arch Linux
Opened by Antony Lee (anntzer) - Friday, 21 September 2018, 09:41 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 27 September 2018, 03:59 GMT
Task Type Feature Request
Category Arch Projects
Status Assigned
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


It would be nice if namcap could check that the PKGBUILD url field is valid, to prevent them from becoming stale.
Optionally warning on redirections would be nice though (e.g. being redirected to a generic "not-found" page), although there can be false positives (e.g. sometimes redirects to https://bitbucket/foo/bar/src though it's clearly the first one that I want to list in url).

Additional info:
namcap 3.2.8-2

Steps to reproduce:
Create a PKGBUILD with an invalid url and check that namcap doesn't warn about it.
This task depends upon