guix: lint: Warn only if GitHub URI is not same as the package URI.
authorArun Isaac <arunisaac@systemreboot.net>
Mon, 7 Jan 2019 17:41:58 +0000 (23:11 +0530)
committerArun Isaac <arunisaac@systemreboot.net>
Thu, 10 Jan 2019 10:09:35 +0000 (15:39 +0530)
commit40fa21c22e1d11b741515fd38f5204a5fa57fbaa
tree4467c710160509287c73d40fc40e646b52d9278b
parent394207c1ee05c4bb148896852f5dd90cdbff4bb5
guix: lint: Warn only if GitHub URI is not same as the package URI.

* guix/scripts/lint.scm (check-github-url): Warn only if the GitHub URI
obtained after following redirects is not same as the original URI.
* tests/lint.scm ("github-url: already the correct github url"): New test.
guix/scripts/lint.scm
tests/lint.scm