Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562812 - app-portage/repoman: repoman should test for variables in HOMEPAGE
Summary: app-portage/repoman: repoman should test for variables in HOMEPAGE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2015-10-11 10:50 UTC by Jonas Stein
Modified: 2017-08-24 20:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Stein gentoo-dev 2015-10-11 10:50:40 UTC
devmanual says:
Never refer to a variable name in the string; include only raw text. 

This should be tested by repoman. As of today there are 180 packages using variables. [1]

Some look like a testcase for a parser:

[1] tested with:
qgrep -NC HOMEPAGE= | grep "\\$" 

Reproducible: Always
Comment 1 Sebastian Pipping gentoo-dev 2015-10-11 14:41:50 UTC
What do you mean by "Some look like a testcase for a parser"?
Comment 2 Jonas Stein gentoo-dev 2015-10-11 15:09:15 UTC
just a comment on "${PN##*-}/" which makes it not trivial to get the URL from the .ebuild file.
Comment 3 Jonas Stein gentoo-dev 2017-08-24 20:56:55 UTC
working example code to check for server status in HOMEPAGE and SRC_URI: