Page 1 of 1

procedure for contributing codes to official master branch

Posted: Mon Jul 19, 2021 8:40 am
by plutowing
My colleages and I have developed some codes to work as a plugin in CloudCompare in my organization for in-house use.
Now we want to contribute the codes back to the official master branch for the public to use.
How should I proceed? Need to add test cases scripts before code review?
Pls help.
Thanks,
Pluto

Re: procedure for contributing codes to official master branch

Posted: Tue Jul 20, 2021 11:48 am
by daniel
Hi,

Contributions are always welcome!

Ideally, you should first upload/host your plugin sources on a separate git repository (see for instance https://github.com/hvs-ait/mplane-plugin).

Then you can make a simple pull-request on our master branch, where you add your plugin as a submodule (in 'CloudCompare/plugins/core/Standard' typically). It will let us test it and potentially make some feedback on your plugin repository directly.

Re: procedure for contributing codes to official master branch

Posted: Tue Jul 20, 2021 12:48 pm
by plutowing
Hi Daniel,
Thanks for the link and suggested procedures.
Will discuss with my colleagues and proceed soon with git submodule, git fork and pull request.
Thanks,
Pluto