Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683912 - sys-apps/portage: warn about /distfiles, /local, and /packages in ebuild repositories
Summary: sys-apps/portage: warn about /distfiles, /local, and /packages in ebuild repo...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All All
: Normal normal with 1 vote (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on: 683434
Blocks: 240187
  Show dependency tree
 
Reported: 2019-04-20 18:25 UTC by Zac Medico
Modified: 2019-10-19 19:15 UTC (History)
2 users (show)

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 Zac Medico gentoo-dev 2019-04-20 18:25:00 UTC
With the latest portage release, tracked by bug 683434, the default configuration no longer nests /distfiles and /packages inside the main ebuild repository (bug 378603). Once the release tracked by bug 683434 has been stabilized, it makes sense to begin warning about nested directories like these. Eventually these directories can be dropped from the excludes that were added for bug 666554:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=b587fc874ce95064139ba85552e146da957cce9e
Comment 1 Zac Medico gentoo-dev 2019-04-20 18:52:24 UTC
The warning can suggest to migrate to the new locations approved by the council, as shown in this commit for bug 378603:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=ef8469befbd7b61f1bae8f21ffd95e0c0306a4f8

DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

For a /local subdirectory, it can take /var/db/repos/gentoo as an example, and suggest to use /var/db/repos/local instead.
Comment 2 Zac Medico gentoo-dev 2019-07-28 22:10:10 UTC
Note that default RPMDIR also used to be under /usr/portage (see bug 687734), but apparently practically nobody used it, since it was never a member of the default excludes.