datasette/docs
Simon Willison dbbe707841
publish_subcommand hook + default plugins mechanism, used for publish heroku/now (#349)
This change introduces a new plugin hook, publish_subcommand, which can be
used to implement new subcommands for the "datasette publish" command family.

I've used this new hook to refactor out the "publish now" and "publish heroku"
implementations into separate modules. I've also added unit tests for these
two publishers, mocking the subprocess.call and subprocess.check_output
functions.

As part of this, I introduced a mechanism for loading default plugins. These
are defined in the new "default_plugins" list inside datasette/app.py

Closes #217 (Plugin support for datasette publish)
Closes #348 (Unit tests for "datasette publish")
Refs #14, #59, #102, #103, #146, #236, #347
2018-07-25 22:15:59 -07:00
..
.gitignore Added initial docs, including a changelog 2017-11-16 07:11:00 -08:00
advanced_export.png Renamed 'stream all records' to 'stream all rows', refs #266 2018-06-18 07:25:44 -07:00
auto-build.sh Added --load-extension argument to datasette serve 2017-11-16 08:48:49 -08:00
changelog.rst Release notes for 0.24 release 2018-07-23 21:34:38 -07:00
conf.py Update conf.py 2018-05-12 09:08:11 -03:00
config.rst New force_https_urls option, refs #333 2018-07-23 08:58:29 -07:00
csv_export.rst Renamed 'stream all records' to 'stream all rows', refs #266 2018-06-18 07:25:44 -07:00
custom_templates.rst Hyperlink to www.srihash.org 2018-05-26 12:46:24 -07:00
datasette-package-help.txt 'Usage: datasette', not 'Usage: cli' - refs #336 2018-07-24 09:03:07 -07:00
datasette-publish-heroku-help.txt publish_subcommand hook + default plugins mechanism, used for publish heroku/now (#349) 2018-07-25 22:15:59 -07:00
datasette-publish-now-help.txt publish_subcommand hook + default plugins mechanism, used for publish heroku/now (#349) 2018-07-25 22:15:59 -07:00
datasette-serve-help.txt 'Usage: datasette', not 'Usage: cli' - refs #336 2018-07-24 09:03:07 -07:00
facets.png Added screenshots to facets and full_text_search docs, refs #255 2018-05-16 08:27:24 -07:00
facets.rst Updated default facet limits in docs 2018-05-18 08:50:37 -07:00
full_text_search.png Added screenshots to facets and full_text_search docs, refs #255 2018-05-16 08:27:24 -07:00
full_text_search.rst SQL syntax highlighting in docs 2018-05-31 06:17:53 -07:00
getting_started.rst Docs for datasette publish and package, closes #337 2018-07-10 19:05:46 -07:00
index.rst Docs for datasette publish and package, closes #337 2018-07-10 19:05:46 -07:00
installation.rst Release notes for 0.23.2 2018-07-07 22:28:45 -07:00
introspection.rst Link to /-/plugins example 2018-05-20 21:07:26 -07:00
json_api.rst ?_json_infinity=1 for handling Infinity/-Infinity - fixes #332 2018-07-23 20:07:57 -07:00
Makefile Added initial docs, including a changelog 2017-11-16 07:11:00 -08:00
metadata.rst Streaming mode for downloading all rows as a CSV (#315) 2018-06-17 20:21:02 -07:00
plugins.rst publish_subcommand hook + default plugins mechanism, used for publish heroku/now (#349) 2018-07-25 22:15:59 -07:00
publish.rst publish_subcommand hook + default plugins mechanism, used for publish heroku/now (#349) 2018-07-25 22:15:59 -07:00
spatialite.rst SQL syntax highlighting in docs 2018-05-31 06:17:53 -07:00
sql_queries.rst Release notes for 0.24 release 2018-07-23 21:34:38 -07:00