Skip to content
Permalink
Browse files

Remove section of Makefile: 'Migrate Configuration from PURL.org' and…

… remove empty example_terms and entries arrays from dpo.yml and xao.yml
  • Loading branch information...
Michael Cuffaro
Michael Cuffaro committed Feb 21, 2019
1 parent 9598d39 commit b5ea77f63895486c5c133855f553b80158628e2a
Showing with 0 additions and 24 deletions.
  1. +0 −20 Makefile
  2. +0 −3 config/dpo.yml
  3. +0 −1 config/xao.yml
@@ -144,26 +144,6 @@ safe-update:
tools/safe-update.py


### Migrate Configuration from PURL.org
#
# Given an ontology ID (usually lower-case),
# fetch and translate a PURL.org XML file
# into a YAML configuration file.
# This should be a one-time migration.
# Do not overwrite existing config file.
PURL_XML = https://purl.org/admin/purl/?target=&seealso=&maintainers=&explicitmaintainers=&tombstone=false&p_id=

.PHONY: migrate-%
migrate-%:
@test ! -s config/$*.yml \
|| (echo 'Refusing to overwrite config/$*.yml'; exit 1)
mkdir -p migrations
test -s migrations/$*.xml \
|| curl --fail -o migrations/$*.xml "$(PURL_XML)/obo/$**"
mkdir -p config
tools/migrate.py $* migrations/$*.xml config/$*.yml


### Code style and lint checks for python source files.
#
# Note that `|| true` is appended to force make to ignore the exit code in both cases
@@ -10,6 +10,3 @@ products:
- dpo.owl: https://raw.githubusercontent.com/FlyBase/flybase-controlled-vocabulary/master/releases/dpo.owl

term_browser: ontobee
example_terms:

entries:
@@ -8,7 +8,6 @@ products:
- xao.obo: http://ontologies.berkeleybop.org/xao.obo

term_browser: ontobee
example_terms:

entries:
- prefix: /tracker/

0 comments on commit b5ea77f

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.