Update from prior version?

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
6/1/2013 12:36:58 PM
Gravatar
Total Posts 10

Update from prior version?

Okay, considering updating code from version 2.3.9.5 to the latest (2.3.9.7).

Locally on my workstation, I originally downloaded via TortoiseHG to a directory mojoportal2395.  I copied this code to a new directory mojoportal.  I have been working in mojoportal directory (essentially just updating a skin).  I believe i am pretty safe here however i may have modified some code outside of the skin directory ( essentially i forked it).

That is what I did.  I recognize now that it may not have been the best approach but i am here now.  It seems the right approach is to add code to the branch (in an additive way) so that i can get latest without losing my changes.

Today, i got the latest 2.3.9.7 (updating the 2395 directory above) from the repository.  I can file diff with my version and try to merge my changes back in the the 2.3.9.7 code. I think this can be done.  Q. What is the best approach if I want to modify code delivered from the repository? (seems that everytime i get latest i would lose my code).

Q, I am not sure if there are any sql server updates with 2.3.9.7 (how would i identify any of these and update my sql database?)

I believe i am just working through new work procedures for modifying/updating source from someone elses repository.

 

thanks for your help

-dave

 

 

6/1/2013 1:08:06 PM
Gravatar
Total Posts 18444

Re: Update from prior version?

Sorry but I cannot offer any support or advice for forked versions. I recommend don't modify any mojoPortal code and don't add code to the mojoPortal projects. Custom code should be in your own projects so they are compiled into your own dlls not in our dlls. Once you've gone down that path of forking the code or adding your own code to be compiled in with mojoPortal code you are on your own and if you decide to stay on that path you will have to figure out your own strategy for merging any updates from our repository.

Note that version numbers only coincide with database changes, ie the version number only changes when we need to run an upgrade script on the database. Lots of other changes and progress happens in the repository without any change to the version number.

For people who don't modify the code it is easy to update at any time from the repository, the steps are: pull changes, apply changes to working copy, rebuild solution, visit /Setup/Default.aspx in case there are any new scripts that need to run.

We have a whole series of training videos that shows the recommended way to develop a custom content feature that plugs into mojoPortal without modifying any mojoPortal code.

6/1/2013 1:23:43 PM
Gravatar
Total Posts 10

Re: Update from prior version?

Good information thank you.  As mentioned, I am going to try to get back to the non-forked version.

 

You must sign in to post in the forums. This thread is closed to new posts.