Jeremy,

I would like to help you to upgrade it.
Let me know what is the problem with upgrading.

In general, what you have to do to upgrade is:

1. Export the existing documents (in the old
   DocBookWiki) to XML/DocBook format, and 
   backup them.

2. Install properly the new version of DocBookWiki.

3. Import the documents in the new DocBookWiki.

In case that you have customized (modified) 
DocBookWiki (and I know that you have done it), then
you should also "export/import" the customizations
of the software. This can be done using diff and
patch.

First of all find out what modifications you have
made:

1. Get a copy of the original DBW that you have
   installed, e.g. book-0.7.3.tar.gz

2. Extract it in a working directory, named 'compare/'
   (or anything else).

3. Copy there also your current version (that you
   have modified).

4. Remove any CVS directories:
   bash$ cd compare/
   bash$ find . -name CVS | xargs rm -rf

5. Remove also the content of the current version:
   bash$ mybooks/content/clean.sh all

6. Compare and find the differences:
   bash$ diff -rubB book-0.7.3/ mybooks/ > d.diff
   bash$ diff -rubBq book-0.7.3/ mybooks/ > dl.diff
   Inspect dl.diff and if neccessary delete some files
   from mybooks/ and repeat these commands again.

Now that you know what changes you have made, you can
go and patch them to the new version. In general, it
can be done like this:

bash$ cd ../newbooks/
bash$ patch -p0 -ulE -i ../compare/d.diff --dry-run
bash$ patch -p0 -ulE -i ../compare/d.diff

But you may also need to do any manual intervention
if some patches fail.

I hope that this will help you. I don't know why I
spend time explaining you things that everybody
should know. Next time you will have to pay me for
the support.

Dashamir

--- Jeremy Malcolm <[EMAIL PROTECTED]> wrote:

> Dashamir Hoxha wrote:
> > I made a new release (books-0.8.9) a few days ago.
> > Are you talking about this one, or you have an
> > old version? Sorry for not sending a notification
> > in the list about the new release.
> 
> I missed the new version, but the offending part of
> the old code was:
> 
>    <xsl:template match="[EMAIL PROTECTED]">
> 
> which I notice has been changed in the new version
> so chances are it may 
> work now.  I'm not in a position to upgrade to test
> it though.
> 
> -- 
> Jeremy Malcolm LLB (Hons) B Com
> Internet and Open Source lawyer, IT consultant,
> actor
> host -t NAPTR 1.0.8.0.3.1.2.9.8.1.6.e164.org|awk -F!
> '{print $3}'
> 
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get
> the chance to share your
> opinions on IT & business topics through brief
> surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Doc-book-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/doc-book-users
> 



 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Doc-book-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doc-book-users

Reply via email to