Skip to content

refactor(get-ahblines): Get ahblines from sqlite instead from json files #416

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

Merged

Conversation

hf-krechan
Copy link
Collaborator

@hf-krechan hf-krechan commented Jan 29, 2025

review #415 first.

@hf-krechan hf-krechan changed the title Get ahblines from sqlite instead from json files refactor(get-ahblines): Get ahblines from sqlite instead from json files Jan 29, 2025
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vllt schreibst du , nur als kommentar für uns, noch rein, wo diese spalten in dieser form herkommen. das ist janur der prototypische stand mit dem ich es gestern einmal reingehackt habe. ich würde ich der vollständigkeit und reproduzierbarkeit einfach zumindest referenzieren: https://github.com/Hochfrequenz/ahb-mig-backend/releases/tag/v0.0.1 ganz unabhängig davon ob es in diesem repo bleibt oder nicht oder wo es in zukunft herkommt: so hat man die chance die DB reproduzierbar nachzubauen, zumindest als jemand mit zugriff auf private HF repos.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done in e835315

Comment on lines +28 to +32
if (type === FileType.JSON) {
return this.getFromDatabase(pruefi, formatVersion);
} else {
return this.getFromBlobStorage(pruefi, formatVersion, type);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

das ist aber langfristig schwer zu maintainen, oder? vermute mal, das wird in einem folge-pr geändert.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wollte das feature mit den excel-files noch weiter anbieten.
Wo siehst du Bedenken?

meta: {
description: metaInfo.description || '',
direction: metaInfo.direction || '',
maus_version: '0.3.1', // TODO: Add this to the database schema
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

braucht das der lcient oder irgendwer? Ich würde das einfach auslassen

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nö brauchen wir nicht

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done in 4698ec8

hf-kklein

This comment was marked as resolved.

@hf-krechan hf-krechan merged commit adc238a into refactor-format-version-endpoint Jan 29, 2025
2 checks passed
@hf-krechan hf-krechan deleted the take-ahblines-from-sqlite branch January 29, 2025 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants