Check validity of PKGBUILD url field
Task Info (Flyspray) | |
---|---|
Opened By | Antony Lee (anntzer) |
Task ID | 60145 |
Type | Feature Request |
Project | Arch Linux |
Category | Arch Projects |
Version | None |
OS | All |
Opened | 2018-09-21 09:41:37 UTC |
Status | Assigned |
Assignee | Kyle Keen (keenerd) |
Details
Description: 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. https://bitbucket.org/foo/bar 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.