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

Change provenance file to JSON format #184

Open
dbrower opened this issue Jun 21, 2021 · 2 comments
Open

Change provenance file to JSON format #184

dbrower opened this issue Jun 21, 2021 · 2 comments

Comments

@dbrower
Copy link
Collaborator

dbrower commented Jun 21, 2021

The carrel provenance file is formatted as a tab-seperated-values file. This causes problems with adding or changing metadata fields. It also causes problems with carrels whose search queries contain newlines.

There are many alternate formats we could use. I suggest JSON since it is ubiquitous and is intended as a structured way to send data from one program to another. Most languages have a library to read json files, and there is a command line tool (jq) to pull data out of a JSON formatted file.

This ticket is to change the file to have JSON format.

@ericleasemorgan
Copy link
Owner

ericleasemorgan commented Jun 21, 2021 via email

@dbrower
Copy link
Collaborator Author

dbrower commented Jun 21, 2021

I made this ticket to track the problem since I noticed some errors related to it in web gui's carrel scraper. The ticket is not saying when it (or whether) the issue should be addressed. Your concerns are noted, and this should wait until after the release.

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

2 participants