public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [rfc] Criticial news item "2010-02-25-layman-storage-path-change" (GLEP 42)
@ 2010-02-25  0:15 Sebastian Pipping
  2010-02-25  2:39 ` Sebastian Pipping
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Pipping @ 2010-02-25  0:15 UTC (permalink / raw
  To: gentoo-dev; +Cc: pr@gentoo.org

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 <sping@gentoo.org>
Content-Type: text/plain
Posted: 2010-02-25
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: <app-portage/layman-1.3

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.
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

 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.
=======================================================================

Thanks for your help,



Sebastian


[1] http://bugs.gentoo.org/show_bug.cgi?id=306233
[2] http://www.gentoo.org/proj/en/glep/glep-0042.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] [rfc] Criticial news item "2010-02-25-layman-storage-path-change" (GLEP 42)
  2010-02-25  0:15 [gentoo-dev] [rfc] Criticial news item "2010-02-25-layman-storage-path-change" (GLEP 42) Sebastian Pipping
@ 2010-02-25  2:39 ` Sebastian Pipping
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Pipping @ 2010-02-25  2:39 UTC (permalink / raw
  To: gentoo-dev

On 02/25/10 01:15, Sebastian Pipping wrote:
> =======================================================================
> Title: Layman storage path changed from version 1.3.0 on
> Author: Sebastian Pipping <sping@gentoo.org>
> Content-Type: text/plain
> Posted: 2010-02-25
> Revision: 1
> News-Item-Format: 1.0
> Display-If-Installed: <app-portage/layman-1.3
> 
> 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.
> =======================================================================



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-25  2:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-25  0:15 [gentoo-dev] [rfc] Criticial news item "2010-02-25-layman-storage-path-change" (GLEP 42) Sebastian Pipping
2010-02-25  2:39 ` Sebastian Pipping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox