xoops forums

fabou78

Friend of XOOPS
Posted on: 2016/1/26 16:06
fabou78
fabou78 (Show more)
Friend of XOOPS
Posts: 43
Since: 2012/6/16
#1

What is the best method to handle patching

Hi guys,

Not really a XOOPS specific question but most likely looking for advises in patching.

At the moment I am fine-tuning my web site and I end up modifying loads of file offline mainly from xbootstrap theme and newbb module. So what I do is that I run a find command on my Linux test server looking for all files modified recently and assemble all those file into a gz archive. Then I just upload the patch file to the public server.

I there any other way of doing this? What method are you using for controlling patching? I had a look into git but find it a bit scary.

Mamba

Moderator
Posted on: 2016/1/26 17:05
Mamba
Mamba (Show more)
Moderator
Posts: 10988
Since: 2004/4/23
#2

Re: What is the best method to handle patching

If you didn't touch any of the files on the server, and only worked on them off-line, then copy all of them (those changed and not changed) over to the server and you're done. There is no need to spend any extra time for patching!

However, if you want to do it, you can copy the files from the server to another directory on your PC, and you can use something like WinMerge to compare the "original" folder with the one you worked on, and then you can select the files that you've changed and create a patch as a zip file.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

fabou78

Friend of XOOPS
Posted on: 2016/1/26 20:18
fabou78
fabou78 (Show more)
Friend of XOOPS
Posts: 43
Since: 2012/6/16
#3

Re: What is the best method to handle patching

Thanks,

I get the idea, and didn't think of it. Can't use winmerge 2 as I am working under Linux but could use diff or rsync on command line or some other flavor if those in GUI.

Dante7237

Friend of XOOPS
Posted on: 2016/1/26 21:12
Dante7237
Dante7237 (Show more)
Friend of XOOPS
Posts: 288
Since: 2008/5/28
#4

Re: What is the best method to handle patching

FileZilla has a "Mirror" function that would work too.
It makes sure local directories are updated to match remote directories .

fabou78

Friend of XOOPS
Posted on: 2016/1/28 13:53
fabou78
fabou78 (Show more)
Friend of XOOPS
Posts: 43
Since: 2012/6/16
#5

Re: What is the best method to handle patching

didn't know that, will give it a try. thanks