Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503304 - app-portage/layman migrate to repos.conf
Summary: app-portage/layman migrate to repos.conf
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-03 12:24 UTC by David Heidelberg (okias)
Modified: 2014-07-25 23:22 UTC (History)
1 user (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 David Heidelberg (okias) 2014-03-03 12:24:27 UTC
I'd like to discuss what should be default directory for repos/overlays.

Momentally is used /var/lib/layman, because layman. When we migrate to repos.conf, there should be some recommended location, where place overlays.

I'd propose /var/lib/overlays .
Any ideas, suggestions?

Thank you

Reproducible: Always
Comment 1 Sebastian Luther (few) 2014-03-03 16:33:30 UTC
(In reply to David Heidelberger (okias) from comment #0)
> Momentally is used /var/lib/layman, because layman. When we migrate to
> repos.conf, there should be some recommended location, where place overlays.

What does repos.conf change here? It's just a different way the configure repositories than PORTDIR and PORTDIR_OVERLAY.

I don't think layman is going away, so most overlays will stay there anyway.

> I'd propose /var/lib/overlays .
> Any ideas, suggestions?
> 

How should we encourage people to use that?
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2014-03-03 17:06:23 UTC
Layman can be configured to install anywhere in the filesystem.

There is going to be a change in the default tree location. There is a whole big bikeshed thread in the -dev mail list a little more than a year ago.  They couldn't decide where exactly it should be in /var.  

That said.  It is closer to becoming a reality.  One of the biggest hurdles to moving the default location has been catalyst which produces the stages.  I have been re-writing catalyst's code to make it easily configurable.  Once the new code is in use producing stages for everyone's use.  The tree move can happen.

I'll see what happens then.

Also this seems more like a layman bug than a portage one.  I do both, so...
I do need to migrate layman to the repos.conf format.  But I'll probably wait a bit longer and incorporate the new sync system we're developing in portage to be done.  Then layman overlays can be synced via emerge --sync if configured for it. While still being managed otherwise by layman.
Comment 3 David Heidelberg (okias) 2014-03-03 19:07:36 UTC
I plan prepare script for layman => repos.conf migration. I'll poke you when it will be done.

(In reply to Brian Dolbec from comment #2)
> Layman can be configured to install anywhere in the filesystem.
> 
> There is going to be a change in the default tree location. There is a whole
> big bikeshed thread in the -dev mail list a little more than a year ago. 
> They couldn't decide where exactly it should be in /var.  
> 
> That said.  It is closer to becoming a reality.  One of the biggest hurdles
> to moving the default location has been catalyst which produces the stages. 
> I have been re-writing catalyst's code to make it easily configurable.  Once
> the new code is in use producing stages for everyone's use.  The tree move
> can happen.
> 
> I'll see what happens then.
> 
> Also this seems more like a layman bug than a portage one.  I do both, so...
> I do need to migrate layman to the repos.conf format.  But I'll probably
> wait a bit longer and incorporate the new sync system we're developing in
> portage to be done.  Then layman overlays can be synced via emerge --sync if
> configured for it. While still being managed otherwise by layman.
Comment 4 Devan Franchini (RETIRED) gentoo-dev 2014-07-11 22:30:26 UTC
The layman-9999 ebuild can handle repos.conf configuration when installing new ebuilds. However, I'll leave this open until we get a new release.
Comment 5 Devan Franchini (RETIRED) gentoo-dev 2014-07-25 23:22:43 UTC
layman-2.1.0 adds repos.conf support.

A known bug is that it currently doesn't check to see if the repos.conf exists prior to writing to it, and this will cause issues. So be sure to create the repos.conf file (default location: /etc/portage/repos.conf/layman.conf) prior to attempting to use the repos.conf functionality.

This bug will be fixed in the next release, which should be within the next month.