pcp
[Top] [All Lists]

Re: pcp updates - compilation warning and configuration files in packagi

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: pcp updates - compilation warning and configuration files in packaging
From: fche@xxxxxxxxxx (Frank Ch. Eigler)
Date: Sun, 16 Dec 2012 11:39:10 -0500
Cc: pcp@xxxxxxxxxxx
In-reply-to: <1355600643.5399.84.camel@xxxxxxxxxxxxxxxxxxxxxxx> (Ken McDonell's message of "Sun, 16 Dec 2012 06:44:03 +1100")
References: <1353702995.2573.10.camel@xxxxxxxxxxxxxxxxxxxxxxx> <y0m38zyvnkp.fsf@xxxxxxxx> <1353787979.2573.43.camel@xxxxxxxxxxxxxxxxxxxxxxx> <20121125020818.GC32625@xxxxxxxxxx> <1353873879.2573.65.camel@xxxxxxxxxxxxxxxxxxxxxxx> <20121125220602.GE32625@xxxxxxxxxx> <1355600643.5399.84.camel@xxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
Hi, Ken -

kenj wrote:

> [...]
> I have two questions for the gallery ...

Peanut Gallery present and fully charged, Sir!

> 1. Should the default setting for $PCP_SYSCONF_DIR be /etc or /etc/pcp.
> [...]
> I prefer collecting all these directories below /etc/pcp and minimizing
> the name pollution (and possible collisions) in /etc.

Agreed.


> 2. Just how should the migration work?  My initial thought is that as a
> _pre_ install task we ...
> [...]
>         [copy-update old-config-dir files to the new-config-dir]
> [...]

Sure.

>         Try to delete the old directory.

I suggest *not* deleting anything explicitly, the same way as a
make-install doesn't delete previous versions of files/libraries.
Instead, rely on the packaging system's normal uninstall facilities,
applied to the previous package to get rid of the old stuff.  (Our
src/GNUmakefiles don't have an uninstall target; they probably
should.)

- FChE

<Prev in Thread] Current Thread [Next in Thread>