Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363519 - repoman could warn about /usr/share/doc/${P}
Summary: repoman could warn about /usr/share/doc/${P}
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-13 23:12 UTC by Hanno Böck
Modified: 2022-07-12 03:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2011-04-13 23:12:23 UTC
I recently stepped upon a bug where an ebuild wanted to move documentation into
/usr/share/doc/${P}

Which is wrong. Documentation goes into
/usr/share/doc/${PF}
but that likely get's unnoticed, especially for packages that get upstream bumps often and rarely get -r1-versions in Gentoo.

This could easily be checked with repoman. There should be no valid reason to ever use /usr/share/doc/${P} for anything, so if this string appears in an ebuild, it almost certainly is a bug.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:14 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.