HPO Editors guide for releases
There are two ways to run an HPO release:
- Run an HPO release using GitHub actions
- Run an HPO release manually (preferred)
Run an HPO release using GitHub actions
EDIT: As of today (Wed 5 Oct, 2022), this does not work without passing a GitHub token into https://github.com/obophenotype/human-phenotype-ontology/blob/master/.github/workflows/deploy.yml, which permits access to the HPOA repo which is currently private.
- Go to the Deploy HPO Action
- Click on
Dispatch workflow
on the right to trigger the workflow. It will build HPO, HPOA and everything else related to the release - When it is done, go to your pull requests and merge the release PR (ideally after QC is finished, although nothing QC worthy will have been touched)
- After merging, go to https://github.com/obophenotype/human-phenotype-ontology/releases. You should see a draft release. Fill in all relevant information as you see fit, then
- Hit
Publish release
.
Run an HPO release manually:
- Make sure all non-draft pull requests are merged.
- Locally switch to the
master
branch, and make sure it is up-to-date (git pull
) - Switch to
src/ontology
in terminal - Run
sh build-without-imports.sh
. This will first build all HPO related files, then all HPOA related files - Make a pull request with the newly generated files, merge when QC passes
- ALT1: On GitHub, create a new release manually (remember to set the correct tag, i.e.
v2022-10-30
, the rest is up to you). Attach all release files:- hp.owl
- hp.obo
- hp.json
- hp-base.owl
- hp-base.obo
- hp-base.json
- hp-full.owl
- hp-full.obo
- hp-full.json
- hp-simple-non-classified.owl
- hp-simple-non-classified.obo
- hp-simple-non-classified.json
- tmp/hpoa/phenotype.hpoa
- tmp/hpoa/genes_to_phenotype.txt
- tmp/hpoa/phenotype_annotation_negated.tab
- tmp/hpoa/phenotype_annotation.tab
- tmp/hpoa/phenotype_to_genes.txt
- ALT2: If you have
gh
installed, you can use the following pipeline:make public_release GHVERSION=v2022-10-05
(nosh run.sh
!). This will automate the above step (6). When the draft release is successfully created, you should see a link in your console, likehttps://github.com/obophenotype/human-phenotype-ontology/releases/tag/untagged-a230b72fb7457a460e79
(final line of output). Go to this link with your browser. Edit the draft release in whatever way you wish. Usually you want to copy the contents from reports/difference_release_base.md into the description. - Click on
Publish release
. - Add to the release notes in github
- announce on hpo-mailing list (groups.io) - this is the most important part, where we have to take a bit of time to formulate the mail and align with Peter, Nicole, etc. (all the people that actively worked on hpo for this release)
- Announce on twitter (groups.io gives you a publicly available link the email from the previous step -> use this)
- There is a repo called hpo-web-config () where we can add a “news item” to the hpo-website (jax). Again, we use the link to the email of the hpo-mailing list (groups.io)