HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Upgrading to patch releases

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#39857 (In Topic #8967)
Avatar

Community saint

(Discussion moved from the comment topic for a patch release)

I might skip this one and wait for the next.
It all looks good though.
Keep up the good work.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#40034
Avatar

Honoured member

I would like to upgrade. However, since we have modified quite a number of files it's becoming an increasingly complex task. Would it be possible for you to issue a upgrade package with just the files from the last version to the new? (ie. just the files that have changed from ver 3.2.8 to 3.2.9)
Back to the top
 
Posted
Rating:
#40035
Avatar

Community saint

@ ocpaul

The link in the 'system' entry at the top takes you to the 'patch' upgrade, i.e. only files that the staff know have been changed from the first files of the version release upto and including the current patch.

You will find it is incremental, because their crystal ball is a bit cloudy about what the users have changed, but if you take that version and do a 'dif' evaluation of each file, making comparison with the same file you have on your server, correcting/editing the changes you've already made, you should be good to go. If you've been really smart (unlike me) you've probably already got your modded files in the various 'custom_' menus, which automatically take preference. But, my take on that is, if the user has made massive modifications to CSS and template files, then it is wiser to do a 'dif' check in any case to catch anything that has been newly introduced!

I say this because that is the way I introduce my patch upgrades. And although it is a PITA checking each patch release file against the ones already in use, it is the only method I feel comfortable with. Of course, it helps that I've kept a note of each file I've edited (modded) in the past.

Good luck.

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#40044
Avatar

Hi Paul,

My natural bit of advice would be to check the modification times on the files as a first step, but I've just checked and they are all set to when we build the upgrade. I'll look into changing that. A new patch release is coming soon anyway, so I'd suggest skipping over this one.

Thanks for the reply also Fletch :).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#40062
Avatar

Honoured member

Fletch/Chris,

Thanks for the advice.

I have tried a couple of methods for keeping on top of this, each has it's pro's and con's.

I like the idea of the _custom directories, the problem is that it's hard to do a file comparison when the directory structures don't match. Since, I want to include the new changes in my custom files I don't really want an override. So I keep my modified files in the _custom directories until I do an upgrade, then I note down the files that I have changed (for reference), then copy them into the standard directories. Then I can do a file compare (I use Beyond Compare). The problem is that the number of files to deal with each time is growing.

I'm not the best at documenting my code changes, so sometimes it's hard to know which code to keep and which to overwrite. So I was just looking for a way to minimise the number of files to deal with.

Back to the top
 
Posted
Rating:
#40063
Avatar

I was able to get the upgrades showing the modification times, so in the future you'll be able to take the tar, do a windows search to find all the files older than the last time you updated, and delete them - before continuing to patch against just the changed files :).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: