Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 29-08-2018, 00:01   #1
Registered User

Join Date: May 2012
Posts: 1,228
Plugins using wxWidgets 3.1.1

Is there an easy naming policy to distinguish plugins built with wxWidgets 3.11.

Do I need to make a new GitHub repository for each 3.1.1 plugin to avoid confusion?

wxGrid has needed some big changes to source code to accomodate wxWidgets 3.1.1. There will probably be others.

Mike
Rasbats is offline   Reply With Quote
Old 29-08-2018, 06:23   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,503
Re: Plugins using wxWidgets 3.1.1

Mike,,,

Probably best to create new branches in the same repo for the 3.1.1 updates. That way we keep full history in one spot.

Dave
bdbcat is offline   Reply With Quote
Old 29-08-2018, 08:22   #3
Registered User

Join Date: May 2012
Posts: 1,228
Re: Plugins using wxWidgets 3.1.1

Dave ...

But this is opposite from how you are using branches for OpenCPN on GitHub. Should the Master have the latest 3.1.1 code, leaving a branch with the old code.

Ok, and do I give the plugin a new version number to reflect the use of wxWidgets 3.1.1?

The opencpn.org plugin page could point to the release for the relevant version.

Mike
Rasbats is offline   Reply With Quote
Old 29-08-2018, 08:42   #4
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Plugins using wxWidgets 3.1.1

Mike...
The standard way to do this is to start new development in a new branch, then, when that matures merge it to master and, if needed, have another branch created at the same point to fix bugs in the older generation.
You should give the plugin a new version number with every release. With this change, I would probably increase the major version to point out that there is a break in compatibility.

Pavel
nohal is online now   Reply With Quote
Old 29-08-2018, 16:36   #5
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,503
Re: Plugins using wxWidgets 3.1.1

Mike...
I agree with Nohal.

To reiterate:
You will see a branch "o486" in the OpenCPN github repo. That branch was captured at the point of release of 4.8.6. It will build the current production release, and will be forked again to contain critical backports if required. New work goes on in "master".

The opencpn.org download page will generally point to "master" of the plugin repo for the source link. Presumably source builders will know which branch they need to pull for local builds. The download page will also point to built binaries that are compatible with the current release of base OCPN, whatever that may be at the time.

If/when we have a Beta underway that breaks compatibility, there will be another section of the .org site that provides links to plugin Beta binaries ready and available for test with the Beta base.

Dave
bdbcat is offline   Reply With Quote
Old 30-08-2018, 02:34   #6
Registered User

Join Date: May 2012
Posts: 1,228
Re: Plugins using wxWidgets 3.1.1

Dave, Nohal ...

Thanks for the policy discussion. I will start implementing this for the plugin stuff I have on GitHub.

Mike
Rasbats is offline   Reply With Quote
Reply

Tags
plug


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wxWidgets 2.9.5 version changed to 3.0.0 CarCode OpenCPN 1 17-10-2013 13:03
Installateur de plugins, Install software for plugins. Gilletarom OpenCPN 3 30-04-2013 05:57
wxWidgets Version 2.9 for OpenCPN (Experimental) bdbcat OpenCPN 8 06-06-2011 11:06
OpenCPN and wxWidgets 2.9 bdbcat OpenCPN 9 14-03-2011 22:51
Compatibility wxWidgets 2.9.0 and VC++ 2010 Netsurfer OpenCPN 4 31-05-2010 12:04

Advertise Here


All times are GMT -7. The time now is 14:04.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.