Updating ODK¶
A new version of the Ontology Development Kit (ODK) is out? This is what you should be doing:
-
Install the latest version of ODK by pulling the ODK docker images. In your terminal, run:
-
To update your repository, go to your
src/ontologydirectory. -
Create a new git branch in your usual way, then run the update command.
Note, for older ODK versions the command was
sh run.sh make update_repo, and it had to be run TWICE (the first time it could fail, as the update command needed to update itself). -
Check that all your GitHub workflows (in
.github/workflows/*.yml) are using the latest version of the ODK. For the workflows that are maintained by the ODK itself (such as.github/workflows/qc.yml), this should have been done automatically by theupdate_repocommand above, but if you have any custom workflow, you will have to update them yourself. -
Review all the changes and commit them, and make a PR the usual way. 100% wait for the PR to pass QC - ODK updates can be significant!
-
Send a reminder to all other ontology developers of your repo and tell them to install the latest version of ODK (step 1 only).