Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ms.yml #1014

Merged
merged 5 commits into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 31 additions & 11 deletions config/ms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ idspace: MS
base_url: /obo/ms

products:
- ms.owl: https://github.com/HUPO-PSI/psi-ms-CV/releases/latest/download/psi-ms.owl
- ms.owl: https://github.com/HUPO-PSI/psi-ms-CV/releases/latest/download/ms.owl
- ms.obo: https://github.com/HUPO-PSI/psi-ms-CV/releases/latest/download/psi-ms.obo

term_browser: ontobee
Expand All @@ -13,20 +13,40 @@ example_terms:
- MS_0000000

entries:
- prefix: /releases/
jamesaoverton marked this conversation as resolved.
Show resolved Hide resolved
replacement: https://github.com/HUPO-PSI/psi-ms-CV/releases/download/v
tests:
- from: /releases/4.1.86/psi-ms.owl
to: https://github.com/HUPO-PSI/psi-ms-CV/releases/download/v4.1.86/psi-ms.owl
- from: /releases/4.1.86/psi-ms.obo
to: https://github.com/HUPO-PSI/psi-ms-CV/releases/download/v4.1.86/psi-ms.obo

- exact: /tracker
replacement: https://github.com/HUPO-PSI/psi-ms-CV/issues

# intercept exact matches before version prefix blindly grabs everything
- exact: /ms.owl
replacement: https://github.com/HUPO-PSI/psi-ms-CV/releases/latest/download/ms.owl
- exact: /psi-ms.owl
jamesaoverton marked this conversation as resolved.
Show resolved Hide resolved
replacement: https://github.com/HUPO-PSI/psi-ms-CV/releases/latest/download/psi-ms.owl
- exact: /ms.obo
replacement: https://github.com/HUPO-PSI/psi-ms-CV/releases/latest/download/psi-ms.obo
- exact: /psi-ms.obo
replacement: https://github.com/HUPO-PSI/psi-ms-CV/releases/latest/download/psi-ms.obo


- prefix: /about/
replacement: https://psidev.info/groups/controlled-vocabularies

- prefix: /
replacement: https://raw.githubusercontent.com/HUPO-PSI/psi-ms-CV/master/
- prefix: /home
replacement: https://github.com/HUPO-PSI/psi-ms-CV

# preserve prior PURLs
- prefix: /releases/
replacement: https://github.com/HUPO-PSI/psi-ms-CV/releases/download/v
tests:
- from: /4.1.186/ms.owl
to: https://github.com/HUPO-PSI/psi-ms-CV/releases/download/v4.1.186/ms.owl
- from: /4.1.186/psi-ms.obo
to: https://github.com/HUPO-PSI/psi-ms-CV/releases/download/v4.1.186/psi-ms.obo

# support directly resolving versioned IRIs
- prefix: /
replacement: https://github.com/HUPO-PSI/psi-ms-CV/releases/download/v
tests:
- from: /4.1.186/ms.owl
to: https://github.com/HUPO-PSI/psi-ms-CV/releases/download/v4.1.186/ms.owl
- from: /4.1.186/psi-ms.obo
to: https://github.com/HUPO-PSI/psi-ms-CV/releases/download/v4.1.186/psi-ms.obo
Loading