-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from casework/revise_workflow
Revise workflow and document new generation process
- Loading branch information
Showing
451 changed files
with
6,964 additions
and
5,107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ | |
__pycache__ | ||
.ipynb_checkpoints | ||
.venv-pre-commit | ||
all-*.mk | ||
venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Maintenance | ||
|
||
This repository derives JSON-LD "stub" dictionaries from the ontologies in CDO. | ||
|
||
The generation process for these ontologies uses `make`, with some balance of hard-coding and source-including to save on code redundancy. | ||
|
||
The maintenance necessary for this repository occurs when a new ontology is released. In most cases, this will be the necessary script to follow: | ||
|
||
```bash | ||
# (On a fresh Git clone.) | ||
make clean | ||
make -j | ||
git add templates | ||
git commit -s -m "Regenerate Make-managed files" | ||
# Editing and updating README.md to refresh the implemented CASE version should come next. | ||
``` | ||
|
||
(Note: Some `make`s assume infinite CPU resources if `-j` (`--jobs`) does not have a following numeric argument. On, e.g., macOS, you might want to follow that flag with the number of cores on your system.) | ||
|
||
In the event a new ontology (i.e., a new namespace with `owl:Class`es) is added, a new directory under `/templates` will need to be created and given a `Makefile`. Copying `/templates/uco-core/Makefile` into the new directory and adapting its hard-coded prefix IRI will enable the workflow to function again. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.