procedure for contributing codes to official master branch

For any question about plugins!
Post Reply
plutowing
Posts: 2
Joined: Mon Jul 19, 2021 8:04 am

procedure for contributing codes to official master branch

Post 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
daniel
Site Admin
Posts: 7383
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: procedure for contributing codes to official master branch

Post 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.
Daniel, CloudCompare admin
plutowing
Posts: 2
Joined: Mon Jul 19, 2021 8:04 am

Re: procedure for contributing codes to official master branch

Post 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
Post Reply