as the original writer of the topic upgrading part of UpgradeTWiki
(though mine was really just a test / proof of concept) I would agree,
that right now, it would be best not to use the debian package on a
large complex twiki config - I'm intending it to become better, and am
working on UpgradeTWiki for the next release, but it is a slow process.

Thanks for the interest, and the pointers, it has helped both pique my
interest, and given me a direction to work in wrt the deb. (I hope one
day to be able to call UpgradeTopics from postinst, but at the moment,
it scares me too much - there is way too much testing needed to confirm
that the upgrade worked, and too much manual labour when things are not
simple.

Sven


On Thu, 2005-02-24 at 10:00 +0100, Olivier Berger wrote:
> Christopher Huhn <[EMAIL PROTECTED]> writes:
> 
> > Olivier Berger wrote:
> >
> >>It's about upgrading the data (i.e. the standard set of pages, the
> >>preferences, the templates, all kind of stuff that twiki uses in order
> >>to work well, beyond the scripts).
> >>
> > /var/lib/twiki/templates is correctly managed by dpkg and there
> > shouldn't be an automatic merge of local changes for the standard set
> > of files.
> > Instead of changes to these files one should have set up a custom skin.
> >
> 
> Probably right... unless there is something changed on runtime into
> templates/ by twiki... I don't know enough about how templates work in
> twiki to say for sure.
> 
> > For the debian package UpgradeTwiki should not handle anything but
> > /var/lib/twiki/data/... and the conffiles (that's all it does I think).
> > That should be ok with dpkg as it does not manage /var/lib/twiki/data/...
> >
> 
> Yep.
> 
> >>But anyways, this will require a human intervention at all
> >>cases... and a bit of understanding of a diff/merge tool.
> >>
> >>
> > What's wrong about running it from postinst on upgrade?
> >
> 
> From my experience in using it in a recent upgrade, there were
> unresolvable conflicts that needed to taken care of... as it may
> involve the security of the webs, for instance in case of variables
> like ALLOWxxxCHANGES, I think it is wise to let the admin of the twiki
> do the work.
> 
> That's a bit tricky since much of twiki's configuration is done in its
> data... not so good for an application which sould be upgradable
> automatically :(
> 
> I think the first step is to add it to the package (or a similar tool,
> only dedicated to the data), and see how it goes with the Debian
> users...
> 
> In any case, once you setup a complex and fairly customised twiki, it
> may be wise not to use the Debian package but a custom installation ?
> ;)
> 
> My 2 cents.
> 
> Best regards,



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to