-
Notifications
You must be signed in to change notification settings - Fork 57
Description
The prepare_release target copies all the built release artefacts from the src/ontology directory to the top-level directory.
This step includes the copying of:
a) any subsets in the src/ontology/subsets directory to the top-level subsets directory;
b) any releasable mapping set (a set marked in the config with release_mappings=True, or all sets if release_mappings=True is set on the entire sssom_mappingset_group) from the src/mappings directory to the top-level mappings directory;
c) pattern-derived files (definitions.owl and pattern.owl) from the src/patterns directory to the top-level patterns directory.
Those three sets of files are currently not ignored by Git (they are not in .gitignore), meaning that they are set to be committed to the repository by default.
We decided a little while ago that release artefacts should not, by default, be committed (#1144), but the associated PR (#1183) only took care of the “main” release artefacts, completely ignoring the subsets, the mappings, and the pattern-derived files.
It makes no sense to commit “secondary” release artefacts while the “main” artefacts are not committed, so we should add the top level subsets/, mappings/, and patterns/ directory to the .gitignore file.