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

Move parse_yaml.py functionality into Metadata-API? #26

Open
StaffanMelin opened this issue Jun 12, 2024 · 0 comments
Open

Move parse_yaml.py functionality into Metadata-API? #26

StaffanMelin opened this issue Jun 12, 2024 · 0 comments
Assignees
Labels
discussion enhancement New feature or request

Comments

@StaffanMelin
Copy link
Member

En idé:

Metadata-API bygger sin cache på JSON-filerna som update_metadata.sh (genom parse_yaml.py) skapar, och hemsidan bygger upp resurserna genom Metadata-API.

parse-yaml.py berikar metadata (YAML-filerna) med lite mer info, ex storlek på datamängderna.

Men:

parse_yaml.py skulle kunna byggas in i Metadata-API i stället, så detta görs när Metadata-API förnyar sin cache?

Plus:
Vi behöver inte vänta på att update_metadata.sh "pullar in" nya metadata-filer som Metadata-API bygger sin cache på, utan kan anropa ex https://ws.spraakbanken.gu.se/ws/metadata/renew-cache direkt för att förnya cachen.

Minus:
vet ej?

@StaffanMelin StaffanMelin changed the title Move parse_yamk.py functionality into Metadata-API? Move parse_yaml.py functionality into Metadata-API? Jun 12, 2024
@StaffanMelin StaffanMelin added enhancement New feature or request discussion labels Jun 12, 2024
@StaffanMelin StaffanMelin self-assigned this Sep 4, 2024
@anne17 anne17 self-assigned this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants