On Fri, 13 Jul 2018 19:50:00 +0200 Ulrich Mueller wrote: > >>>>> On Fri, 13 Jul 2018, Brian Dolbec wrote: > > > I would like the council to put an end to the current "moving > > default location of portage tree" bikeshed thread by making the > > decision of our new defaults. > > I think we should have proposal ready for vote at the council meeting, > because I don't expect that discussion of individual paths during the > meeting would lead to anything. > > > This includes: > > - main "gentoo" ebuild tree > > - distfiles > > - packages > > Trying to summarise the discussion in -dev, and in #-portage: Everyone > seems to agree that all of these should be somewhere under /var, and > possible candidates are /var/lib, /var/cache, and /var/db. Note that > /var/db is not specified by the FHS, but it exists in all the BSDs. > Also, I am disregarding suggestions like /var/gentoo or /var/portage > for now. > > For both /var/lib and /var/cache the FHS requires a > subdirectory. Unless we want this to be "portage", we could use > "package-manager" (since virtual/package-manager is a package), > or pretend that "pm" is an alias for it. This would lead us to the > following paths, respectively: > > /var/lib/{package-manager,pm}/gentoo > /var/cache/{package-manager,pm}/distfiles > /var/cache/{package-manager,pm}/packages > I think it is a mistake to group distfiles and packages directly beside the repositories. One of the big reasons I feel this way, is so that configuration can be made more plugin friendly. With all repositories under one subdir. It could be possible for a package manager to scan the subdir for repositories. Details of repo configuration data may be included in the repository. This could eliminate the need for a /etc/portage/repos.conf. Or at the very least, eliminate the need to specify location if it is in the default base path. (just food for thought) If under the same /var/lib/pm, then the repositories should be in it's own "repos" subdir still for the above mentioned reasons, just like the example below for /var/db/. If that puts more weight on the /var/db prefix due to FHS..., then that is fine, it just happens to be my configuration already ;) > Alternatively, we could place either the gentoo tree, or all three of > the above under /var/db (which doesn't follow the FHS, so no subdir > requirement): > > /var/db/repos/gentoo > /var/db/distfiles > /var/db/packages > > > - snapshot name > > Simply gentoo-20180712.tar.xz instead of portage-20180712.tar.xz? > Or is that not specific enough? > > Ulrich snapshot name is good and follows the repo naming convention. :) Which ever of the above locations that becomes the default, I would change layman to the new default repos location as well. -- Brian Dolbec