Re: Problem with entities in RSS

Georg Bauer <gb-BRhJDZTO+/[email protected]> Tue, 27 Apr 2004 08:43:12 +0200
Newsgroups gmane.comp.python.pyds.user
Message-ID <[email protected]>
Hi!

> How do I upgrade from 0.7.1? I got the snapshot ok, do I just
> python setup.py install ?
>
> I don't want to replace the templates in my install...

Since this is a question that shows up regularily: Update is just 
python setup.py install, yes. Templates are not overwritten. Templates 
are stored in two different places:

$PREFIX/share/pyds/
$HOME/.PyDS/templates

The first path is in your installation prefix for PyDS. There the 
default templates are stored. You shouldn't change them, as they are 
overwritten with every install.

The second path is automatically filled with templates as soon as the 
program tries to use one. If the template the program needs isn't 
there, PyDS fetches the default template and copies it to your user 
templates. So you can change every template in that path, they won't be 
overwritten.

If you want to get the default templates again, after changing the user 
templates, just remove the template in question and restart PyDS. On 
next access to that template, PyDS will fetch the default template 
again.

With upgrades you usually just make a diff of templates in the first 
and second path to see what changed - and integrate those changes 
manually.

bye, Georg