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

External metadata.json #238

Closed
simonw opened this issue Apr 25, 2018 · 3 comments
Closed

External metadata.json #238

simonw opened this issue Apr 25, 2018 · 3 comments

Comments

@simonw
Copy link
Owner

simonw commented Apr 25, 2018

A frustration I'm having with https://register-of-members-interests.datasettes.com/ is that I keep coming up with new canned queries but I don't want to redeploy the whole thing just to add them to metadata.json

Maybe Datasette could optionally take a --metadata-url option which causes it to load from a URL instead and occasionally check for updates.

@simonw
Copy link
Owner Author

simonw commented Apr 25, 2018

On further thought: this is actually only an issue for immutable deployments to platforms like Zeit Now and Heroku.

As such, adding it to datasette serve feels clumsy. Maybe datasette publish should instead gain the ability to optionally install an extra mechanism that periodically pulls a fresh copy of metadata.json from a URL.

@simonw simonw added this to the Next release milestone Jul 24, 2018
@simonw
Copy link
Owner Author

simonw commented Aug 11, 2018

On further thought, I'd much rather implement this using some kind of metadata plugin hook - see #357

@simonw simonw added the plugins label Aug 11, 2018
@simonw simonw removed this from the Next release milestone May 13, 2019
@simonw
Copy link
Owner Author

simonw commented Jun 24, 2019

I'm not going to do this - there are plenty of smarter ways of achieving a similar goal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant