Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Module compatibility with minor versions

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 12-29-2021, 11:01 PM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 758
 

Default Module compatibility with minor versions

I have been working on a module for X-Cart Classic for versions 4.4.x to 4.7.x. and I have created module distribution packs with installation script. The distribution packs' code is based on the last version of each branch, ie, based on the code of versions 4.4.5 (Gold/Pro), 4.5.5 (Gold/Platinum), 4.6.6 (Gold/Platinum) and 4.7.12 (Gold/Platinum).

I have noticed though that there are some code differences between the last minor versions in a branch and some of the lower minor versions, for example, there are code differences between 4.7.12 and 4.7.5 versions and when I use the installation script of the 4.7.12 distribution pack in a 4.7.5 site, some 4.7.5 files cannot be patched via the installation procedure - they have to be patched manually. So, the distribution pack does not work for all previous minor versions in the branch.

So, I guess, I will have to create a distribution pack for each single minor version in each branch that differs from the last version, and I understand that this is a heck of a lot of extra work.

The other alternative is to leave it like that, ie, with the distribution packs being compatible only with the last minor versions (and maybe with a couple of previous minor versions, depending on their code similarity).

The last alternative would be ok if the majority of X-Cart-Classic sites out there had already upgraded to the last minor version of each branch, but is this the case?

I would appreciate any input on these thoughts.
__________________
Vasilis Vrontisis
X-Cart Development, Maintenance & Customization
https://[URL="http://www.craftforweb.com"]craftforweb.com[/url]
vasilis@craftforweb.com
Reply With Quote
  #2  
Old 12-30-2021, 12:51 AM
 
ITVV ITVV is online now
 

X-Wizard
  
Join Date: Nov 2006
Location: UK
Posts: 1,167
 

Default Re: Module compatibility with minor versions

@vasillis
Quote:
The other alternative is to leave it like that, ie, with the distribution packs being compatible only with the last minor versions (and maybe with a couple of previous minor versions, depending on their code similarity).
I think you would be OK with the above option. If people have not bothered upgrading to the latest version of there branch they are clearly not interested in maintaining there ecommerce solution.

Just my two cents

Kind regards

ITVV
__________________
X-Cart Pro 4.7.12 Active and working great with reBOOT-reDUX
X-Cart Pro 4.6.6 Retired after 6 years of first class service
X-Cart Pro 4.1.7 Retired after 9 years of first class service

Apache: 2.4.25
PHP: 7.4.5
MariaDB: 10.1.44
Arch: x86_64
Reply With Quote

The following user thanks ITVV for this useful post:
vasilis (01-02-2022)
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:30 PM.

   

 
X-Cart forums © 2001-2020