Should bzr aliases possibly be in their own file?
Michael Gliwinski
Michael.Gliwinski at henderson-group.com
Wed Oct 20 09:52:08 BST 2010
On Thursday 14 Oct 2010 06:22:38 Martin Pool wrote:
> On 14 October 2010 10:22, Tom Browder <tom.browder at gmail.com> wrote:
> > On Wed, Oct 13, 2010 at 18:17, Tom Browder <tom.browder at gmail.com> wrote:
> >> On Wed, Oct 13, 2010 at 18:00, Martin Pool <mbp at canonical.com> wrote:
> >>> Hi Tom,
> >>>
> >>> I think the desire to split up config files so they can be merged and
> >>> copied doesn't need to be specific to aliases. Perhaps we should have
> >>> a conf.d directory, and read in the contents of all files within it.
> >
> > Sorry, I sent too soon, and Philip's e-mail crossed mine. Once more:
> >
> > Martin that sounds good, and that would satisfy system-wide values and
> > eliminate the need for an environment variable.
> >
> > But what about user changes? I still like the idea of environment
> > variables for the location of that file or files or directory in order
> > to override any default. At the moment I use symbolic links to work
> > around that.
>
> I think we would have a system and per-user configuration directory,
> and then a defined ordering within them.
All this sounds awesome, good to see things happening here.
While talking about config files, etc. have you considered the XDG base
directory specification [1]? More and more programs are moving to it as it
provides some compelling benefits. Example:
- system and user specific dirs with well defined precedence, overridable via
environment variables
- separation of real config data from caches, etc. allows e.g. easier backups
or versioning of config files
It is simple-enough to implement if you don't want additional dependencies but
there is also the PyXDG library for accessing freedesktop.org standards
(including base dir spec) [2].
[1] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
[2] http://www.freedesktop.org/wiki/Software/pyxdg
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319
**********************************************************************************************
The information in this email is confidential and may be legally privileged. It is intended solely for the addressee and access to the email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail are subject to the terms and conditions expressed in the governing client engagement leter or contract.
If you have received this email in error please notify support at henderson-group.com
John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************
More information about the bazaar
mailing list