[tahoe-dev] src to generate tahoe.cfg

Zancas Dearana zancas at leastauthority.com
Fri Jun 28 18:36:39 UTC 2013


On Thu, Jun 27, 2013 at 8:32 PM, Callme Whatiwant <nejucomo at gmail.com>wrote:

>
> It looks like the code lives here: ./src/allmydata/scripts/create_node.py
>
> There are various string templates there which are used to create an
> initial config file.
>
> I'm curious why you choose to automatically modify the config file?  I'm
> not sure about the core developers, but I prefer to keep a clean separation
> between files which are only read by lafs and only edited by humans versus
> files which are read/written by lafs but not edited by humans (except for
> unusual situations).
>
> Could the feature you want to implement be a modification of the main
> tahoe program to implement some dynamic feature?
>
>
> Regards,
> Nathan
>
> ps: I discovered the file above with this (on a linux system inside the
> repository checkout directory):
>
> $ find ./src/ -type f -name '*.py' | xargs grep 'tahoe.cfg'
>
>
>
Nice pattern.

-- 
-- ظ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20130628/c13086c7/attachment.html>


More information about the tahoe-dev mailing list