Ticket #1311: clarify-tahoe-cfg-sections.darcs.patch

File clarify-tahoe-cfg-sections.darcs.patch, 13.6 KB (added by davidsarah, at 2011-01-15T21:27:21Z)

create_node.py: add comments to default tahoe.cfg to clarify the meaning of each section. refs #1311

Line 
11 patch for repository davidsarah@dev.allmydata.org:/home/darcs/tahoe/trunk:
2
3Sat Jan 15 20:52:30 GMT Standard Time 2011  david-sarah@jacaranda.org
4  * create_node.py: add comments to default tahoe.cfg to clarify the meaning of each section. refs #1311
5
6New patches:
7
8[create_node.py: add comments to default tahoe.cfg to clarify the meaning of each section. refs #1311
9david-sarah@jacaranda.org**20110115205230
10 Ignore-this: 1f140ea600642121e52830d4f4a33ed0
11] {
12hunk ./src/allmydata/scripts/create_node.py 115
13     write_node_config(c, config)
14 
15     c.write("[client]\n")
16+    c.write("# Which services should this client connect to?")
17     c.write("introducer.furl = %s\n" % config.get("introducer", ""))
18     c.write("helper.furl =\n")
19     c.write("#key_generator.furl =\n")
20hunk ./src/allmydata/scripts/create_node.py 120
21     c.write("#stats_gatherer.furl =\n")
22+    c.write("\n")
23+    c.write("# What encoding parameters should this client use for uploads?")
24     c.write("#shares.needed = 3\n")
25     c.write("#shares.happy = 7\n")
26     c.write("#shares.total = 10\n")
27hunk ./src/allmydata/scripts/create_node.py 129
28 
29     boolstr = {True:"true", False:"false"}
30     c.write("[storage]\n")
31+    c.write("# Shall this node provide storage service?")
32     storage_enabled = not config.get("no-storage", None)
33     c.write("enabled = %s\n" % boolstr[storage_enabled])
34     c.write("#readonly =\n")
35hunk ./src/allmydata/scripts/create_node.py 139
36     c.write("\n")
37 
38     c.write("[helper]\n")
39+    c.write("# Shall this node run a helper service that clients can use?")
40     c.write("enabled = false\n")
41     c.write("\n")
42 
43}
44
45Context:
46
47[misc/build_helpers/test-with-fake-dists.py: clean up directories and files only if they exist.
48david-sarah@jacaranda.org**20110115053011
49 Ignore-this: 7aa8fec370e12c62d9b56afcd55d17f
50]
51[misc/build_helpers/test-with-fake-dists.py: wrong arguments in comment.
52david-sarah@jacaranda.org**20110115045325
53 Ignore-this: 89322306ed4fb478af4988675fd4c968
54]
55[Attempt to fix test-with-fake-dist build step.
56david-sarah@jacaranda.org**20110115022651
57 Ignore-this: 9d7195dca59b79f93a5f527b1ae9e79e
58]
59[bin/tahoe-script.template: improve the error message if we end up running under Python 3. refs #1302
60david-sarah@jacaranda.org**20110112211628
61 Ignore-this: ee78f8e4bbd197e620cb0cc6b995ac46
62]
63[Makefile: Fix uploading of tarballs on trunk builds.
64david-sarah@jacaranda.org**20110109065851
65 Ignore-this: 864b06e39103f46dbb6ccb74e1e333d3
66]
67[docs/frontends/CLI.rst: fix the rst syntax to be as actually intended :-)
68david-sarah@jacaranda.org**20110109014057
69 Ignore-this: c11331670ba89d8601ba3782ffc4f32c
70]
71[docs/frontends/CLI.rst: really fix rst syntax error this time.
72david-sarah@jacaranda.org**20110109013914
73 Ignore-this: 59550154c9ab41488ddfdee8938d7bda
74]
75[docs/frontends/CLI.rst: fix rst syntax error.
76david-sarah@jacaranda.org**20110109010943
77 Ignore-this: 427444f5572115059c75fa1bd8371d51
78]
79[docs/frontends/CLI.rst: discuss commandline/output quoting issues and wildcards. refs #1135
80david-sarah@jacaranda.org**20110109010119
81 Ignore-this: 533938d89be878b404a8540aebdf68ad
82]
83[setup.py: add Python 2.7 trove classifier.
84david-sarah@jacaranda.org**20110108211212
85 Ignore-this: b479c0a1adf9b7a2d1fdc54abc6582e6
86]
87[docs/FTP-and-SFTP.rst: document issue in ref #1297. Remove known issue #1045 which is fixed. Also some cosmetic changes.
88david-sarah@jacaranda.org**20110108061038
89 Ignore-this: 8d9aa2e33f1054545f7bed47bf0e647d
90]
91[misc/build_helpers/show-tool-versions.py: remove attempts to show stdout.encoding and stderr.encoding that always printed None due to redirection. Also remove code to show os.path.supports_unicode_filenames which is not useful. refs #1251
92david-sarah@jacaranda.org**20110103015144
93 Ignore-this: 45e11431f7e2e0cebcb58e1841485cf8
94]
95[NEWS: 'top' for node processes, WUI formatting, removal of GUI apps, documentation updates, foolscap dependency. refs #174, #1219, #1225
96david-sarah@jacaranda.org**20110106005727
97 Ignore-this: f61ac58b4d10e635feb6f7391b1b48fe
98]
99[Makefile: update 'clean' target for files in bin/
100david-sarah@jacaranda.org**20110103052738
101 Ignore-this: 2bdbc4a50e13e508b66d0f65718c79b2
102]
103[docs: update performance.rst to describe the difference between already-uploaded and not-already-uploaded, to parameterize segment size, and to use "~A" to mean "approximately A"
104zooko@zooko.com**20110104065455
105 Ignore-this: 8df0d79a062ee19854c0211bd202f606
106]
107[bin/tahoe-script.template: On non-Windows, invoke support/bin/tahoe directly as a script (rather than via python), so that 'top' for example will show it as 'tahoe'. On Windows, simplify some code that set argv[0], which is never used. fixes #174
108david-sarah@jacaranda.org**20101127232650
109 Ignore-this: 42a86f3eecfdc1ea7b76a7cc68626898
110]
111[test_runner: avoid unnecessary use of non-ASCII.
112david-sarah@jacaranda.org**20110101100101
113 Ignore-this: e2ff40dce6bb3b021306f2913d4e75df
114]
115[docs/quickstart.html: fix redundant, badly nested tag. refs #1284
116david-sarah@jacaranda.org**20110102175159
117 Ignore-this: 2ae9cc0b47d2e87b9eb64a0f517c4eef
118]
119[docs/quickstart.html: information about 'troublesome dependencies' and 'verified systems' de-emphasized by smaller italic font. Re-wrap so that the HTML source is readable (just about) as text. Minor wording tweaks. Improve organization by adding 'Windows Caveats' subsection. fixes #1284
120david-sarah@jacaranda.org**20110102174212
121 Ignore-this: e9dc57983974478200856651c5318fee
122]
123[NEWS: update entry for removal of Mac and Windows apps. refs #1282
124david-sarah@jacaranda.org**20101226042245
125 Ignore-this: c8099bc6e8235718d042c9a13c1e2425
126]
127[Move dependency imports from windows/depends.py (which has gone away) into src/allmydata/windows/tahoesvc.py. Also fix a pyflakes warning, and change the service display name from 'Allmydata Tahoe Node' to 'Tahoe-LAFS node'. refs #1282
128david-sarah@jacaranda.org**20101226042100
129 Ignore-this: ee45f324934e1251380206dbee6346d0
130]
131[Remove unmaintained Windows GUI app, except for windows/tahoesvc.py which is moved to src/allmydata/windows. refs #1282
132david-sarah@jacaranda.org**20101226040237
133 Ignore-this: cae37b6622a7dd5940acc7d3e6a98b90
134]
135[Remove the Makefile targets relating to the Mac GUI app. refs #1282
136david-sarah@jacaranda.org**20101226025859
137 Ignore-this: 75303be783974b41138744ec62b07965
138]
139[NEWS: remove unmaintained Mac GUI app. refs #1282
140david-sarah@jacaranda.org**20101226020858
141 Ignore-this: 40474a07f4a550b48563d35350be7ab5
142]
143[Remove unmaintained Mac GUI app. fixes #1282
144david-sarah@jacaranda.org**20101226020508
145 Ignore-this: b3613bf1abfd284d542bf7c753ec557a
146]
147[Remove src/allmydata/util/find_exe.py which is no longer used. fixes #1150
148david-sarah@jacaranda.org**20101226023206
149 Ignore-this: 7436c9b53bf210aed34a1a973cd9cace
150]
151[status_web_pages_review.darcs.patch
152freestorm77@gmail.com**20110102034214
153 Ignore-this: 29f1ecb36177f10f3f846b3d56b313b2
154 
155 I make some changes on status web pages
156 
157 status.xhtml:
158 - Delete unused webform_css link
159 - Align tables on the left
160 
161 tahoe-css:
162 - Do some minor changes on code synthax
163 - changes table.status-download-events style to look like other tables
164 
165 status.py:
166 - Align table on the left
167 - Changes table header
168 - Add heading tags
169 - Modify google api graph: add image border, calculate height to feet data
170 
171 signed-off-by: zooko@zooko.com
172 fixes #1219
173]
174[test_storage.py: fix a pyflakes unused import warning.
175david-sarah@jacaranda.org**20101231220756
176 Ignore-this: df08231540cb7dff9d2b038e47ab30ee
177]
178[test_storage.py: leave at least 512 MiB free when running test_large_share. refs #1195
179david-sarah@jacaranda.org**20101231203215
180 Ignore-this: b2144c0341c3452b5d4ba219e284ea0e
181]
182[storage: use fileutil's version of get_disk_stats() and get_available_space(), use mockery/fakery in tests, enable large share test on platforms with sparse files and if > 4 GiB of disk space is currently available
183zooko@zooko.com**20100910173629
184 Ignore-this: 1304f1164c661de6d5304f993eb9b27b
185]
186[fileutil: copy in the get_disk_stats() and get_available_space() functions from storage/server.py
187zooko@zooko.com**20100910173520
188 Ignore-this: 8b15569715f710f4fc5092f7ca109253
189]
190[Update foolscap version requirement to 0.6.0, to address http://foolscap.lothar.com/trac/ticket/167
191david-sarah@jacaranda.org**20101231060039
192 Ignore-this: 98d2b8086a1a500b9f4565bca5a3810
193]
194[docs/webapi.rst: typos.
195david-sarah@jacaranda.org**20101230034422
196 Ignore-this: d1f5166d72cc711f7e0d9981eac9105e
197]
198[docs/webapi.rst: capitalization, formatting of section on URL character encoding, and a correction about Internet Explorer.
199david-sarah@jacaranda.org**20101230034049
200 Ignore-this: b3b9819d2fb264b4cdc5c8afd4e8c48d
201]
202[docs: corrections and clarifications.
203david-sarah@jacaranda.org**20101227051056
204 Ignore-this: e33202858c7644c58f3f924b164294b6
205]
206[docs: more formatting cleanups and corrections. Spell webapi and wapi as web-API.
207david-sarah@jacaranda.org**20101227050533
208 Ignore-this: 18b23cbfb780df585d8a722a1ec63e94
209]
210[docs/debian.rst: bring description of building dependencies from source up-to-date, and change hostname from allmydata.com to tahoe-lafs.org.
211david-sarah@jacaranda.org**20101212222912
212 Ignore-this: f38462afc88b4475195610385a28391c
213]
214[docs/architecture.rst: correct rst syntax.
215david-sarah@jacaranda.org**20101212202003
216 Ignore-this: 3fbe12feb28bec6f1c63aedbc79aad21
217]
218[docs/architecture.rst: formatting.
219david-sarah@jacaranda.org**20101212201719
220 Ignore-this: 305fa5dfc2939355eaf6d0d2161eb1ff
221]
222[docs: linkification, wording improvements.
223david-sarah@jacaranda.org**20101212201234
224 Ignore-this: 4e67287f527a8bc728cfbd93255d2aae
225]
226[docs: formatting.
227david-sarah@jacaranda.org**20101212201115
228 Ignore-this: 2e0ed394ac7726651d3a4f2c4b0d3798
229]
230[docs/configuration.rst: more formatting tweaks; which -> that.
231david-sarah@jacaranda.org**20101212195522
232 Ignore-this: a7becb7021854ca5a90edd892b36fdd7
233]
234[docs/configuration.rst: more changes to formatting.
235david-sarah@jacaranda.org**20101212194511
236 Ignore-this: 491aac33e5f5268d224359f1447d10be
237]
238[docs/configuration.rst: changes to formatting (mainly putting commands and filenames in monospace).
239david-sarah@jacaranda.org**20101212181828
240 Ignore-this: 8a1480e2d5f43bee678476424615b50f
241]
242[scripts/backupdb.py: more accurate comment about path field.
243david-sarah@jacaranda.org**20101212170320
244 Ignore-this: 50e47a2228a85207bbcd188a78a0d4e6
245]
246[scripts/cli.py: fix missing 'put' in usage example for 'tahoe put'.
247david-sarah@jacaranda.org**20101212170207
248 Ignore-this: 2cbadf066fff611fc03d3c0ff97ce6ec
249]
250[docs/frontends/CLI.rst: changes to formatting (mainly putting commands and filenames in monospace), and to command syntax to reflect that DIRCAP/... is accepted. Clarify the syntax of 'tahoe put' and other minor corrections. Tahoe -> Tahoe-LAFS.
251david-sarah@jacaranda.org**20101212165800
252 Ignore-this: a123ef6b564aa8624d1e79c97068ea12
253]
254[docs/frontends/CLI.rst: Unicode arguments to 'tahoe' work on Windows as of v1.7.1.
255david-sarah@jacaranda.org**20101212063740
256 Ignore-this: 3977a99dfa86ac33a44171deaf43aaab
257]
258[docs/known_issues.rst: fix title and linkify another URL. refs #1225
259david-sarah@jacaranda.org**20101212062817
260 Ignore-this: cc91287f7fb51c23440b3d2fe79c449c
261]
262[docs/known_issues.rst: fix an external link. refs #1225
263david-sarah@jacaranda.org**20101212062435
264 Ignore-this: b8cbf12f353131756c358965c48060ec
265]
266[Fix a link from uri.rst to dirnodes.rst. refs #1225
267david-sarah@jacaranda.org**20101212054502
268 Ignore-this: af6205299f5c9a33229cab259c00f9d5
269]
270[Fix a link from webapi.rst to FTP-and-SFTP.rst. refs #1225
271david-sarah@jacaranda.org**20101212053435
272 Ignore-this: 2b9f88678c3447ea860d6b61e8799858
273]
274[More specific hyperlink to architecture.rst from helper.rst. refs #1225
275david-sarah@jacaranda.org**20101212052607
276 Ignore-this: 50424c768fca481252fabf58424852dc
277]
278[Update hyperlinks between docs, and linkify some external references. refs #1225
279david-sarah@jacaranda.org**20101212051459
280 Ignore-this: cd43a4c3d3de1f832abfa88d5fc4ace1
281]
282[docs/specifications/dirnodes.rst: fix references to mutable.rst. refs #1225
283david-sarah@jacaranda.org**20101212012720
284 Ignore-this: 6819b4b4e06e947ee48b365e840db37d
285]
286[docs/specifications/mutable.rst: correct the magic string for v1 mutable containers. refs #1225
287david-sarah@jacaranda.org**20101212011400
288 Ignore-this: 99a5fcdd40cef83dbb08f323f6cdaaca
289]
290[Move .txt files in docs/frontends and docs/specifications to .rst. refs #1225
291david-sarah@jacaranda.org**20101212010251
292 Ignore-this: 8796d35d928370f7dc6ad2dafdc1c0fe
293]
294[Convert docs/frontends and docs/specifications to reStructuredText format (not including file moves).
295david-sarah@jacaranda.org**20101212004632
296 Ignore-this: e3ceb2d832d73875abe48624ddbb5622
297]
298[scripts/cli.py: remove the disclaimer in the help for 'tahoe cp' that it does not handle non-ASCII filenames well. (At least, we intend to handle them.)
299david-sarah@jacaranda.org**20101130002145
300 Ignore-this: 94c003efaa20b9eb4a83503d79844ca
301]
302[relnotes.txt: fifth -> sixth labor-of-love release
303zooko@zooko.com**20101129045647
304 Ignore-this: 21c245015268b38916e3a138d256c09d
305]
306[Makefile: BB_BRANCH is set to the empty string for trunk, not the string 'trunk'.
307david-sarah@jacaranda.org**20101128233512
308 Ignore-this: 5a7ef8eb10475636d21b91e25b56c369
309]
310[relnotes.txt: eleventh -> twelfth release.
311david-sarah@jacaranda.org**20101128223321
312 Ignore-this: 1e26410156a665271c1170803dea2c0d
313]
314[relnotes.tst: point to known_issues.rst, not known_issues.txt.
315david-sarah@jacaranda.org**20101128222918
316 Ignore-this: 60194eb4544cac446fe4f60b3e34b887
317]
318[quickstart.html: fix link to point to allmydata-tahoe-1.8.1.zip.
319david-sarah@jacaranda.org**20101128221728
320 Ignore-this: 7b3ee86f8256aa12f5d862f689f3ee29
321]
322[TAG allmydata-tahoe-1.8.1
323david-sarah@jacaranda.org**20101128212336
324 Ignore-this: 9c18bdeaef4822f590d2a0d879e00621
325]
326Patch bundle hash:
3271d23bd4d3bb3c38c06eb5abcbc428142293dd950