Common Project Layout, version 1… a rough draft #1
For CPL version 0 see here. A template project for CPL v1 can be found at https://gitlab.com/xgqt/xgqt-misc-template-cplv1.
To solve the repository layout problem we propose this hierarchy:
- separate the code from text/prose by clear distinction on top-level — thus the
codedir - for
codewe create this structure:authoring— authoring scripts for developerscopyright— copyright documents for the codeintegration— integration scripts, ie CI/CD scripts or Groovy sources for Jenkinssource— versioned application/library sources, each major version is assigned av<MAJOR>directory; this allows us to keep and maintain multiple versions, it is very reminiscent to having multiple package versions in a Ports (FreeBSD/Gentoo) repository- for the
v<MAJOR>dirs we separate each bag of sources or scripts into its own directory, for example:3rd-partyadminbuild-supportrun<APPNAME>-app<APPNAME>-lib
- for the