Closed rgleason closed 8 months ago
Jon, Changes pushed up to my testplugin repos https://github.com/rgleason/testplugin_pi
Jon, take care, updating this there are some new files.
Also it looks like you need to update your submodule opencpn-libs.
I am not sure what the changes are. I can see there is a new config.yml for API 118, but not sure why this is needed. The API has nothing to do with the build process, that is internal to the plugin.
I have made the minor changes in the other files. However, opencpn-libs is only updated when needed by the plugin, the method to do this and change the branch of opencpn-libs in use is done by the use of two scripts. The opencpn-libs are not transferable to the plugins via their git, this needs to be done on the individual git repository for the build process.
Dave did the changes on pypilot, see the PR and merge in my repos. https://github.com/rgleason/pypilot_pi/commits/master/ Maybe that will help.
When I do a compare between my repo and yours I see differences between opencpn-libs which I believe should not be the case.
I believe all the latest changes are in testplugin 1.0.291.0 . The opencpn-libs are very unlikely to be a the same commit level in each of the plugins. Rather like the API version of OCPN, if you don't need it don't change it. There is a simple script to update the version of opencpn-libs when using it on your pc and you can then commit that change and push up to git, circleci will then build with that. If you are not careful you will be continuously building as opencpn-libs get updated.
Agreed. But isn't it best to keep opencpn-libs updated whenever you build?
The version of opencpn-libs in testplugin is irrelevant to plugins using this process. The contents of opencpn-libs has to be 'cloned' into each git otherwise the build will fail. Also, if the opencpn-libs is updated continuously it is highly likely that failures will occur as 'something' changes that will need to be fixed for the plugin. This would have the effect of destabalising the plugin and require significant testing. So, if you are building new capability and need new stuff from opencpn-libs then you would update the submodule (its what update_submodule_branch.sh does). Otherwise just leave it as is.
Closing
https://github.com/pypilot/pypilot_pi/issues/37#issuecomment-1871679681