Loading...
 
Architecture / Installation

Architecture / Installation


Re: Every update ends with trashed website

posts: 47 France

Salut yoni,
First I must first warn you: I'm no cvs guru biggrin
The same problem will occur by me so I also want some solution.

My questions were quite unclear:
>Why are the diff so important the patching not works ?

If you cannot avoid such customizations of the scripts, then try to do them staying the closer possible of the original code. Don't change the lines order, try to make some clear blocks of your changes. Unfortunately it's certainly not allways possible frown

>are you upgrading several versions in once ?

To get success here the best is to upgrade version after version.
e.g. don't upgrade directly from 1.8.2 to 1.8.5
but do each step.
If you're CVS then make it as often as possible, that's the best.
Say each week at least, to minimize the changes to take into account.
(our fellows dev are hard workers mrgreen
You must notify that 1.8.x to 1.9 is a "big jump" as a lot of scripts & folders have been reorganized. Here the chances to get the merges between the upgrade and your own changes is quite poor cry

One thing you could do also is keep some patch from your changes:
Example: you have upgraded in 1.9, made your changes again, then
something like:

Image
Copy to clipboard
cvs -d :pserver:anonymous@cvs.sourceforge.net/cvsroot/tikiwiki rdiff -r BRANCH-1-9 tiki1.9/ > mytiki.patch


will produce you a patch file you can apply to the same version to get back your changes.
But I would not say this patch applied to a following version makes some difference compared to you update.
Perhaps you could follow the cvs version this way and be ready for a new release, I dont know.
It's nevertheless some "backup" of your changes.

> Every file ... permission set back to "root"
What do you mean?

> PS : Do you thinks that instead of trying to clean the code
> i should redo an update (removing the -q quiet option from cvs command) ?
-q does not change nothing in the upgrade, it's just setting how verbose cvs will be:
-Q > very quiet, -q > quiet, no option --> verbose.

No miracle here !
à+
--
bertrand Gugger
http://toggg.com/

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting