[ckan-dev] CKAN config - definitions

Adrià Mercader adria.mercader at okfn.org
Thu May 16 09:01:34 UTC 2013


On 15 May 2013 14:46, Toby Dacre <toby.okfn at gmail.com> wrote:
> On 15 May 2013 14:40, Sean Hammond <sean.hammond at okfn.org> wrote:
>> This looks good to me. What about files like deployment.ini_tmpl, will
>> they be autogenerated from this config_options.ini? It's probably good
>> if they are, otherwise there's potential confusion between the default
>> values as defined in config_options.ini and the values of uncommented
>> config options in deployment.ini_tmpl.
There's a bunch of stuff in deployment.ini_tmpl that we don't want to
manage/document ourselves (logging, beaker) so perhaps only the ckan
specific part could be autogenerated.

What about extensions? Will there be an interface for adding config options?


Adrià




>>
>
> Maybe the end outcome is we just delete deployment.ini_tmpl and
> generate the file directly from the config options.  We'd need to add
> the 'comments' for the .ini file too.  That would be part 2 of this
> work
>
> part one
> ------------
>
> new definitions
> config -> templates -> config etc
> auto documentation
>
> part two
> -----------
> deployment.ini_tmpl
> extensions
> deprecations/renames
> code tests for mis-use etc
>
>
>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> --
> Toby Dacre
>
> The Open Knowledge Foundation
>
> Empowering through Open Knowledge
> http://okfn.org/  |  @okfn
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev




More information about the ckan-dev mailing list