[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Localisation of template files



This one time, at band camp, Pierre Habouzit said:
> Le Jeu 3 Novembre 2005 12:39, Aurélien Labrosse a écrit :
> > On Jeu 3 novembre 2005 12:21, Stephen Gran a écrit :
> > > This one time, at band camp, Aurélien Labrosse said:
> > >> What do you think about?
> > >
> > > It depends on how extensible the templating is, I would think.  If
> > > dspam can look in subdirectories of the template directory, just
> > > put a symlink to /etc/dspam/templates, so that local admins can
> > > override the defaults. If it can't look in subdirectories, then you
> > > are forced to put the whole templates directory somewhere in /etc,
> > > I'm afraid.
> > >
> > > Shipping config files in /usr/share is a policy violation for a
> > > reason.
> >
> > What to you think about this solution? install templates into
> > /usr/share/dspam/upstream-templates/ and link this directory to
> > /usr/share/dspam/templates/, and add some comments about template
> > customization into the README.Debian?
> 
> I don't want to seem rude, but dspam CGI takes the TEMPLATE directory as 
> a configuration
> 
> my guess is to let things live in the right place (/usr/share) and put 
> an note in README.Debian suggesting to adjust $CONFIG['TEMPLATES'] to 
> the path where the sysadmin put the new templates.
> 
> and if he just want to make a 'little' patch, he can just symlink the 
> one he don't modify and copy the ones he does.
> 
> you just have to make configure.pl a config file , e.g. let it be a 
> symlink to /etc/dspam/dspam-cgi.conf

That seems reasonable - a note in README.Debian about how to set up a
new template directory (e.g., copy the old one, add new templates, etc)
is probably all that's needed in this case.

No need to cc: me, BTW - I do read the list.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature


Reply to: