Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dalito committed Sep 1, 2023
2 parents 9d854d9 + e75aeb5 commit bda8993
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ body:
id: version
attributes:
label: Observed in version
description: "Please provide the vocabulary version."
validations:
required: false

- type: textarea
id: description
attributes:
label: Description
render: markdown
description: Which issue did you observe?
validations:
required: false
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/improvement.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ body:
id: description
attributes:
label: Description
render: markdown
description: What do you propose?
validations:
required: false
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/request-ids.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ body:
- type: textarea
id: message
attributes:
label: Additional information on your plans.
render: markdown
label: Additional information.
description: Optionally tell us more about your plans.
6 changes: 5 additions & 1 deletion .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,13 @@ jobs:
python -m pip install --upgrade pip setuptools wheel
# install tagged version
python -m pip install git+https://github.com/nfdi4cat/voc4cat-tool.git@v0.7.0
python -m pip install git+https://github.com/nfdi4cat/voc4cat-tool.git@v0.7.4
# python -m pip install git+https://github.com/nfdi4cat/voc4cat-tool.git@main
# install custom pylode 2.x (adds sorted collections,
# uses URIs as fragment IDs and is git-installable)
python -m pip install git+https://github.com/dalito/pyLODE.git@nfdi4cat-2.x
# Example for installing from private repo:
# python -m pip install git+https://anon:${{ SECRETS.READ_PAT_VOC4CAT }}@github.com/dalito/voc4cat-tool.git@main
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This action runs on merges to main.
# This action runs on merges of turtle files to main.
#
# Workflow steps:
# - checkout gh-pages for updating
Expand All @@ -7,11 +7,13 @@
# - build docs
# - publish docs, vocabulary-turtle files and excel-file to gh-pages

name: Build & Publish
name: Build
on:
push:
branches:
- main
paths:
- 'vocabularies/**.ttl'
workflow_dispatch:

env:
Expand Down Expand Up @@ -48,9 +50,12 @@ jobs:
python -m pip install --upgrade pip setuptools wheel
# install tagged version
python -m pip install git+https://github.com/nfdi4cat/voc4cat-tool.git@v0.7.0
python -m pip install git+https://github.com/nfdi4cat/voc4cat-tool.git@v0.7.4
# python -m pip install git+https://github.com/nfdi4cat/voc4cat-tool.git@main
# install custom pylode 2.x
python -m pip install git+https://github.com/dalito/pyLODE.git@nfdi4cat-2.x
- name: Set dynamic environment variables.
run: |
echo "VOC4CAT_MODIFIED=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# - build docs
# - publish docs, vocabulary-turtle files and excel-file to gh-pages

name: Build & Publish
name: Publish
on:
push:
tags:
Expand Down Expand Up @@ -50,9 +50,12 @@ jobs:
python -m pip install --upgrade pip setuptools wheel
# install tagged version
python -m pip install git+https://github.com/nfdi4cat/voc4cat-tool.git@v0.7.0
python -m pip install git+https://github.com/nfdi4cat/voc4cat-tool.git@v0.7.4
# python -m pip install git+https://github.com/nfdi4cat/voc4cat-tool.git@main
# install custom pylode 2.x
python -m pip install git+https://github.com/dalito/pyLODE.git@nfdi4cat-2.x
- name: Set dynamic environment variables.
run: |
echo "VOC4CAT_MODIFIED=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
Expand Down
5 changes: 5 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"communities": [
{"identifier": "nfdi4cat"}
]
}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[![](https://github.com/nfdi4cat/voc4cat-template/workflows/Publish/badge.svg)](https://github.com/nfdi4cat/voc4cat-template/actions)
[![](https://github.com/nfdi4cat/voc4cat-template/workflows/Build/badge.svg)](https://github.com/nfdi4cat/voc4cat-template/actions)`

# A SKOS vocabulary for the catalysis disciplines

> **The first collection of terms was just published (June-2023)**.
Expand Down Expand Up @@ -47,6 +50,9 @@ We also provide links to turtle files of individual concepts and collections:
- for the latest release `https://w3id.org/nfdi4cat/voc4cat_{NUMERIC-ID}.ttl`<BR>for example https://w3id.org/nfdi4cat/voc4cat_0000123
- for releases by date-tag `https://w3id.org/nfdi4cat/voc4cat/{release-tag}/voc4cat_{NUMERIC-ID}.ttl`<BR>for example https://w3id.org/nfdi4cat/voc4cat/v2023-08-17/voc4cat_0000123

In addition to the specific versions, an [index page](https://nfdi4cat.github.io/voc4cat/) is generated that links to all tagged releases.
It is placed at the root of gh-pages.

## Contributing to vocabularies

To discuss about the **voc4cat**-vocabulary maintained here, create an [issue](https://github.com/nfdi4cat/voc4cat/issues).
Expand Down

0 comments on commit bda8993

Please sign in to comment.