[tahoe-dev] src to generate tahoe.cfg

Callme Whatiwant nejucomo at gmail.com
Fri Jun 28 02:32:31 UTC 2013


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'




On Tue, Jun 25, 2013 at 7:28 PM, Yu Xiang <xy336699 at gwu.edu> wrote:

> Hi all,
> I am considering adding some dynamically changing parts in tahoe.cfg file,
> (each time a new node starts an automatically updated tahoe.cfg is
> generated)  but after reading the source code i am not sure where the code
> used to generate the various parts of tahoe config file lies, can anyone
> help me with this?
>
> Thanks in advance!
>
> Best,
> Yu
>
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at tahoe-lafs.org
> https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20130627/7e46ff72/attachment.html>


More information about the tahoe-dev mailing list