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

Add script or wrapper to manage vocabularies (or all imported data?) in jskos-server instances #4

Open
3 of 5 tasks
stefandesu opened this issue Jan 10, 2024 · 0 comments

Comments

@stefandesu
Copy link
Member

stefandesu commented Jan 10, 2024

In our old cocoda-services repo, we had a import-vocabularies.sh script that uses a vocabularies.txt file to manage imported vocabularies and concepts. It would make sense to extend this to other data types as well, in particular imported concordances and their mappings.

To-Dos:

  • Implement equivalent of old import-vocabularies script (done via data import with no target)
  • Add filtering (ideally with two separate parameters, one for the instance/target (first "column" in vocabularies.txt), one for scheme URI)
  • Potentially adjust how jskos-data repository is included here (problem: making sure all dependencies for all vocabularies are working correctly is annoying; it might be easier to move that to a Docker image as well where dependencies are easier to track)
  • Fix issue with reset requiring confirmation for every single entry (low priority)
  • Support .env files for determining baseUrl (low priority)
stefandesu added a commit that referenced this issue Feb 20, 2024
- Use argument parser instead of manually parsing arguments
- Add help section
- Add warning for not yet implemented functionality
stefandesu added a commit that referenced this issue Feb 21, 2024
stefandesu added a commit that referenced this issue Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant