Re: [gentoo-dev] [rfc] Criticial news item "2010-02-25-layman-storage-path-change" (GLEP 42)

2010-02-24 Thread Sebastian Pipping
On 02/25/10 01:15, Sebastian Pipping wrote:
> ===
> Title: Layman storage path changed from version 1.3.0 on
> Author: Sebastian Pipping 
> Content-Type: text/plain
> Posted: 2010-02-25
> Revision: 1
> News-Item-Format: 1.0
> Display-If-Installed:  
> Layman has been using /usr/local/portage/layman to store
> overlay checkouts from version 1.2.3 on.  As that path
> was violating the concept of keeping portage away from
> /usr/local the default of this storage location moves to
> 
>   /var/lib/layman
> 
> from version 1.3.0 on.  If you have never modified /etc/layman.cfg
> manually before, you may be tempted to let tools like etc-update
> or cfg-update blindly accept this new version of layman.cfg.

Err: /etc/layman/layman.cfg not /etc/layman.cfg

Fixed:

from version 1.3.0 on.  If you have never touched the file
/etc/layman/layman.cfg manually before, you may be tempted to let
tools like etc-update or cfg-update blindly accept this new version
of layman.cfg.



> As that would hide all your currently installed overlays from layman
> it's probably not what you want.  Your options are:
> 
>  A) Moving
>Move your current location to /var/lib/layman before upgrading

Forgot about PORTDIR_OVERLAY:

 A) Moving
   Move your current location to /var/lib/layman before upgrading.
   Also update PORTDIR_OVERLAY in make.conf accordingly.


> 
>  B) A symlink
>Put a symlink to your current storage location at /var/lib/layman
>before upgrading layman.
> 
>  C) Configuration
>Reject the path change for layman.cfg when running tools like
>etc-update or cfg-update blindly.  Be aware with this way you'll
>have to do it for each layman update again.
> 
> PS: This news item is a reaction to users having run into this problem
> (see bug #306233).  Thanks to Volker Hemmann for reporting.
> ===



[gentoo-dev] [rfc] Criticial news item "2010-02-25-layman-storage-path-change" (GLEP 42)

2010-02-24 Thread Sebastian Pipping
Hello!


As a proper solution to bug #306233 [1] I have prepared a draft for a
related glep-42-style [2] news item, my first such item ever.  This is
my request for review.

If I don't hear anything for the next 72 hours I may put it online, as I
understand the GLEP.  If you'd need more time for a proper review just
let me know.

Here we go:

===
Title: Layman storage path changed from version 1.3.0 on
Author: Sebastian Pipping 
Content-Type: text/plain
Posted: 2010-02-25
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: http://bugs.gentoo.org/show_bug.cgi?id=306233
[2] http://www.gentoo.org/proj/en/glep/glep-0042.html