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

Store metadata in a configuration file #154

Open
martinvonk opened this issue Jan 17, 2025 · 1 comment
Open

Store metadata in a configuration file #154

martinvonk opened this issue Jan 17, 2025 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@martinvonk
Copy link
Contributor

martinvonk commented Jan 17, 2025

@dbrakenhoff is working on storing a configuration file (json format) in the Pastastore. It would be a nice addition to store some metadata in this configuration file as well. Maybe formatted in a certain manner. This way people can store some information on the purpose of the PastaStore, what the (different) models represent etc. Would be nice to print this information when loading the PastaStore as well maybe?

@martinvonk martinvonk added good first issue Good for newcomers enhancement New feature or request labels Jan 17, 2025
@dbrakenhoff
Copy link
Member

I propose a pstore.info attribute (ideally nicely formatted)? This can either be a new file in the database folder, or we can add it to the existing .pastastore file.

  • We could store this in the .pastastore file for databases that write to the local disk. For non-disk databases an info message should be written to the zip file if exported?
  • If we want to add it to the .pastastore file, one challenge to deal with is that currently this .pastastore file is overwritten at every initialize of a connector. So we'd have to find a way to persist this info message, or only update the relevant parts of .pastastore file on load. Maybe a separate readme info file makes more sense?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants