Skip to content

config.json in directory config mode should be settings.json #1104

Closed

Description

@simonw

Another knock-on effect of #992.

* ``metadata.json`` - :ref:`metadata` for those databases - ``metadata.yaml`` or ``metadata.yml`` can be used as well
* ``inspect-data.json`` - the result of running ``datasette inspect`` - any database files listed here will be treated as immutable, so they should not be changed while Datasette is running
* ``config.json`` - settings that would normally be passed using ``--config`` - here they should be stored as a JSON object of key/value pairs
* ``templates/`` - a directory containing :ref:`customization_custom_templates`
* ``plugins/`` - a directory containing plugins, see :ref:`writing_plugins_one_off`

Activity

  1. simonw commented on Nov 24, 2020

    @simonw
    OwnerAuthor

    Part of #1105

  2. added this to the Datasette 0.52 milestone on Nov 24, 2020
  3. simonw commented on Nov 24, 2020

    @simonw
    OwnerAuthor

    I'll throw an error if a config.json file is detected.

  4. added a commit that references this issue on Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions