CONTRIBUTING TO THE CODE

The following pages will guide you through the steps required for developing the model.

You will notice that we use submodules to facilitate collaboration with projects like OpenIFS and Nemo. With submodules, the EC-Earth 4 repository encapsulate these components own repository. In that context, we refer to the You will notice that we use submodules to facilitate collaboration with projects like OpenIFS and Nemo. With submodules, the EC-Earth 4 repository encapsulates these components’ own repository. In that context, we refer to the EC-Earth 4 repository as a superproject.

We have also protected the EC-Earth 4 project on GitLab. You can read it and clone it but will not be able to write to it. We will show how to use forks (your own We have also protected the EC-Earth 4 project on GitLab. You can read it and clone it but will not be able to write to it. We will show how to use forks (your own copies on GitLab) for sharing your work.

The required setup for contributors is presented in the Environment setup page and needs to be done only once. The steps to create and work with a branch that can eventually be merged into the reference repository are given in the Daily work page. When working on a feature that takes a significant amount of time, you will want to get the latest updates from the main line of development. The procedure is presented in Synchronizing your branch with main.