<div dir="ltr"><div style><br></div><div style>It looks like the code lives here: ./src/allmydata/scripts/create_node.py</div><div style><br></div><div style>There are various string templates there which are used to create an initial config file.</div>
<div style><br></div><div style>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).</div>
<div style><br></div><div style>Could the feature you want to implement be a modification of the main tahoe program to implement some dynamic feature?</div><div style><br></div><div style><br></div><div style>Regards,</div>
<div style>Nathan</div><div style><br></div><div style>ps: I discovered the file above with this (on a linux system inside the repository checkout directory):</div><div style><div><br></div><div><div>$ find ./src/ -type f -name '*.py' | xargs grep 'tahoe.cfg'</div>
<div><br></div></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 25, 2013 at 7:28 PM, Yu Xiang <span dir="ltr"><<a href="mailto:xy336699@gwu.edu" target="_blank">xy336699@gwu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi all,</div><div>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?</div>
<div> </div><div>Thanks in advance!</div><div> </div><div>Best,</div><div>Yu</div></div>
<br>_______________________________________________<br>
tahoe-dev mailing list<br>
<a href="mailto:tahoe-dev@tahoe-lafs.org">tahoe-dev@tahoe-lafs.org</a><br>
<a href="https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev" target="_blank">https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev</a><br>
<br></blockquote></div><br></div>