Skip to content

HPO releases with ODK and github

Sebastian Köhler edited this page Nov 8, 2019 · 23 revisions

Running the release pipeline

Preparation

  • get and install docker + set docker memory to ~8GB

Step 1

  • lock hp (via mailinglist)

  • docker pull obolibrary/odkfull

  • cd src/ontology

  • sh run.sh make prepare_release >> log.txt

Step 2

... wait ...

Step 3

if something goes wrong. panic and call seb or nico.

Step 4

  • Semantic diff: sh run.sh robot diff --left ../../hp.owl --right-iri http://purl.obolibrary.org/obo/hp.owl -o hp_robot_diff.txt

Step 5

Push the generated files to github. ONLY DO THIS IF YOU REALLY WANT TO RELEASE! (the purl directs to the master branch)

make the release on github web interface

Step 6

announce:

  • monarch-list
  • hpo-list
  • twitter
  • hpo-web

Notes:

Implemented a system which allows bypassing of mirroring and imports using parameters.

you can now use:

sh run.sh make IMP=false prepare_release

to prevent both import and mirror generation and

sh run.sh make MIR=false prepare_release

to prevent mirror generation (but still recreated the imports).