Managing rose stem sources#
Initial setup#
Before running the rose stem suite, the environment variable
UG_ANTS_SOURCES_DIRECTORY_DEFAULT needs to be set to point to a suitable
central location for the sources directory
corresponding to the version of UG-ANTS being installed. Source data to be used
in rose stem testing must be added to this directory. A version specific module
file, site-specific ug-ants-launch script, or any other appropriate method
can be used for setting the environment variable.
This process should be repeated for ug-ancillary-file-science, with the
UG_CONTRIB_SOURCES_DIRECTORY_DEFAULT environment variable. The contrib part
of the name is legacy and may change in a future release.
Sources directory structure#
It is recommended to keep a complete set of sources for the current release. It
may also be necessary to store a set of sources for head of trunk, and a number
of previous releases. The following directory structure is suggested for
UG-ANTS core and ug-ancillary-file-science
(using the legacy contrib name rather than ug-ancillary-file-science for
consistency with existing installations):
UG-ANTS
├── developer
│ ├── contrib
│ │ └── <full_source_files>
│ └── core
│ └── <full_source_files>
└── release
└── X.Y.Z
├── contrib
│ └── <full_source_files>
└── core
└── <full_source_files>
Development changes#
If a contributor has a change that adds or changes sources, then they should:
Add new source files changes to a local directory. This only needs to be the source files needed for any rose stem tests affected by the change, rather than the full set of sources.
Point to the new source files directly from the relevant
rose-app.conf.Re-run the rose stem suite to generate new KGOs, see Managing KGOs.
Seek science owner approval for source and KGO changes.
When the ticket is complete, please include a summary of the source and KGO changes on the ticket template.