Ticket #1251: wontfix-show-encoding.darcs.patch

File wontfix-show-encoding.darcs.patch, 11.4 KB (added by davidsarah, at 2011-01-03T02:23:21Z)

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

Line 
11 patch for repository davidsarah@dev.allmydata.org:/home/darcs/tahoe/trunk:
2
3Mon Jan  3 01:51:44 GMT Standard Time 2011  david-sarah@jacaranda.org
4  * 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
5
6New patches:
7
8[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
9david-sarah@jacaranda.org**20110103015144
10 Ignore-this: 45e11431f7e2e0cebcb58e1841485cf8
11] {
12hunk ./misc/build_helpers/show-tool-versions.py 41
13     print 'maxunicode: ' + str(sys.maxunicode)
14 
15 def print_python_encoding_settings():
16-    print_stderr([sys.executable, '-c', 'import sys; print >>sys.stderr, sys.stdout.encoding'], label='sys.stdout.encoding')
17-    print_stdout([sys.executable, '-c', 'import sys; print sys.stderr.encoding'], label='sys.stderr.encoding')
18     print
19     print 'filesystem.encoding: ' + str(sys.getfilesystemencoding())
20     print 'locale.getpreferredencoding: ' + str(locale.getpreferredencoding())
21hunk ./misc/build_helpers/show-tool-versions.py 44
22-    print 'os.path.supports_unicode_filenames: ' + str(os.path.supports_unicode_filenames)
23     try:
24         print 'locale.defaultlocale: ' + str(locale.getdefaultlocale())
25     except ValueError, e:
26hunk ./misc/build_helpers/show-tool-versions.py 64
27         sys.stderr.flush()
28         pass
29 
30-def print_stderr(cmdlist, label=None):
31-    print
32-    try:
33-        res = subprocess.Popen(cmdlist, stdin=open(os.devnull),
34-                               stderr=subprocess.PIPE).communicate()[1]
35-        if label is None:
36-            label = cmdlist[0]
37-        print label + ': ' + foldlines(res)
38-    except EnvironmentError:
39-        sys.stderr.write("\nGot exception invoking '%s'. Exception follows\n" % (cmdlist[0],))
40-        traceback.print_exc(file=sys.stderr)
41-        sys.stderr.flush()
42-        pass
43-
44 def print_as_ver():
45     print
46     if os.path.exists('a.out'):
47}
48
49Context:
50
51[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
52david-sarah@jacaranda.org**20101127232650
53 Ignore-this: 42a86f3eecfdc1ea7b76a7cc68626898
54]
55[docs/quickstart.html: fix redundant, badly nested tag. refs #1284
56david-sarah@jacaranda.org**20110102175159
57 Ignore-this: 2ae9cc0b47d2e87b9eb64a0f517c4eef
58]
59[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
60david-sarah@jacaranda.org**20110102174212
61 Ignore-this: e9dc57983974478200856651c5318fee
62]
63[status_web_pages_review.darcs.patch
64freestorm77@gmail.com**20110102034214
65 Ignore-this: 29f1ecb36177f10f3f846b3d56b313b2
66 
67 I make some changes on status web pages
68 
69 status.xhtml:
70 - Delete unused webform_css link
71 - Align tables on the left
72 
73 tahoe-css:
74 - Do some minor changes on code synthax
75 - changes table.status-download-events style to look like other tables
76 
77 status.py:
78 - Align table on the left
79 - Changes table header
80 - Add heading tags
81 - Modify google api graph: add image border, calculate height to feet data
82 
83 signed-off-by: zooko@zooko.com
84 fixes #1219
85]
86[test_runner: avoid unnecessary use of non-ASCII.
87david-sarah@jacaranda.org**20110101100101
88 Ignore-this: e2ff40dce6bb3b021306f2913d4e75df
89]
90[test_storage.py: fix a pyflakes unused import warning.
91david-sarah@jacaranda.org**20101231220756
92 Ignore-this: df08231540cb7dff9d2b038e47ab30ee
93]
94[test_storage.py: leave at least 512 MiB free when running test_large_share. refs #1195
95david-sarah@jacaranda.org**20101231203215
96 Ignore-this: b2144c0341c3452b5d4ba219e284ea0e
97]
98[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
99zooko@zooko.com**20100910173629
100 Ignore-this: 1304f1164c661de6d5304f993eb9b27b
101]
102[fileutil: copy in the get_disk_stats() and get_available_space() functions from storage/server.py
103zooko@zooko.com**20100910173520
104 Ignore-this: 8b15569715f710f4fc5092f7ca109253
105]
106[Update foolscap version requirement to 0.6.0, to address http://foolscap.lothar.com/trac/ticket/167
107david-sarah@jacaranda.org**20101231060039
108 Ignore-this: 98d2b8086a1a500b9f4565bca5a3810
109]
110[docs/webapi.rst: typos.
111david-sarah@jacaranda.org**20101230034422
112 Ignore-this: d1f5166d72cc711f7e0d9981eac9105e
113]
114[docs/webapi.rst: capitalization, formatting of section on URL character encoding, and a correction about Internet Explorer.
115david-sarah@jacaranda.org**20101230034049
116 Ignore-this: b3b9819d2fb264b4cdc5c8afd4e8c48d
117]
118[docs: corrections and clarifications.
119david-sarah@jacaranda.org**20101227051056
120 Ignore-this: e33202858c7644c58f3f924b164294b6
121]
122[docs: more formatting cleanups and corrections. Spell webapi and wapi as web-API.
123david-sarah@jacaranda.org**20101227050533
124 Ignore-this: 18b23cbfb780df585d8a722a1ec63e94
125]
126[NEWS: update entry for removal of Mac and Windows apps. refs #1282
127david-sarah@jacaranda.org**20101226042245
128 Ignore-this: c8099bc6e8235718d042c9a13c1e2425
129]
130[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
131david-sarah@jacaranda.org**20101226042100
132 Ignore-this: ee45f324934e1251380206dbee6346d0
133]
134[Remove unmaintained Windows GUI app, except for windows/tahoesvc.py which is moved to src/allmydata/windows. refs #1282
135david-sarah@jacaranda.org**20101226040237
136 Ignore-this: cae37b6622a7dd5940acc7d3e6a98b90
137]
138[Remove the Makefile targets relating to the Mac GUI app. refs #1282
139david-sarah@jacaranda.org**20101226025859
140 Ignore-this: 75303be783974b41138744ec62b07965
141]
142[Remove src/allmydata/util/find_exe.py which is no longer used. fixes #1150
143david-sarah@jacaranda.org**20101226023206
144 Ignore-this: 7436c9b53bf210aed34a1a973cd9cace
145]
146[NEWS: remove unmaintained Mac GUI app. refs #1282
147david-sarah@jacaranda.org**20101226020858
148 Ignore-this: 40474a07f4a550b48563d35350be7ab5
149]
150[Remove unmaintained Mac GUI app. fixes #1282
151david-sarah@jacaranda.org**20101226020508
152 Ignore-this: b3613bf1abfd284d542bf7c753ec557a
153]
154[docs/debian.rst: bring description of building dependencies from source up-to-date, and change hostname from allmydata.com to tahoe-lafs.org.
155david-sarah@jacaranda.org**20101212222912
156 Ignore-this: f38462afc88b4475195610385a28391c
157]
158[docs/architecture.rst: correct rst syntax.
159david-sarah@jacaranda.org**20101212202003
160 Ignore-this: 3fbe12feb28bec6f1c63aedbc79aad21
161]
162[docs/architecture.rst: formatting.
163david-sarah@jacaranda.org**20101212201719
164 Ignore-this: 305fa5dfc2939355eaf6d0d2161eb1ff
165]
166[docs: linkification, wording improvements.
167david-sarah@jacaranda.org**20101212201234
168 Ignore-this: 4e67287f527a8bc728cfbd93255d2aae
169]
170[docs: formatting.
171david-sarah@jacaranda.org**20101212201115
172 Ignore-this: 2e0ed394ac7726651d3a4f2c4b0d3798
173]
174[docs/configuration.rst: more formatting tweaks; which -> that.
175david-sarah@jacaranda.org**20101212195522
176 Ignore-this: a7becb7021854ca5a90edd892b36fdd7
177]
178[docs/configuration.rst: more changes to formatting.
179david-sarah@jacaranda.org**20101212194511
180 Ignore-this: 491aac33e5f5268d224359f1447d10be
181]
182[docs/configuration.rst: changes to formatting (mainly putting commands and filenames in monospace).
183david-sarah@jacaranda.org**20101212181828
184 Ignore-this: 8a1480e2d5f43bee678476424615b50f
185]
186[scripts/backupdb.py: more accurate comment about path field.
187david-sarah@jacaranda.org**20101212170320
188 Ignore-this: 50e47a2228a85207bbcd188a78a0d4e6
189]
190[scripts/cli.py: fix missing 'put' in usage example for 'tahoe put'.
191david-sarah@jacaranda.org**20101212170207
192 Ignore-this: 2cbadf066fff611fc03d3c0ff97ce6ec
193]
194[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.
195david-sarah@jacaranda.org**20101212165800
196 Ignore-this: a123ef6b564aa8624d1e79c97068ea12
197]
198[docs/frontends/CLI.rst: Unicode arguments to 'tahoe' work on Windows as of v1.7.1.
199david-sarah@jacaranda.org**20101212063740
200 Ignore-this: 3977a99dfa86ac33a44171deaf43aaab
201]
202[docs/known_issues.rst: fix title and linkify another URL. refs #1225
203david-sarah@jacaranda.org**20101212062817
204 Ignore-this: cc91287f7fb51c23440b3d2fe79c449c
205]
206[docs/known_issues.rst: fix an external link. refs #1225
207david-sarah@jacaranda.org**20101212062435
208 Ignore-this: b8cbf12f353131756c358965c48060ec
209]
210[Fix a link from uri.rst to dirnodes.rst. refs #1225
211david-sarah@jacaranda.org**20101212054502
212 Ignore-this: af6205299f5c9a33229cab259c00f9d5
213]
214[Fix a link from webapi.rst to FTP-and-SFTP.rst. refs #1225
215david-sarah@jacaranda.org**20101212053435
216 Ignore-this: 2b9f88678c3447ea860d6b61e8799858
217]
218[More specific hyperlink to architecture.rst from helper.rst. refs #1225
219david-sarah@jacaranda.org**20101212052607
220 Ignore-this: 50424c768fca481252fabf58424852dc
221]
222[Update hyperlinks between docs, and linkify some external references. refs #1225
223david-sarah@jacaranda.org**20101212051459
224 Ignore-this: cd43a4c3d3de1f832abfa88d5fc4ace1
225]
226[docs/specifications/dirnodes.rst: fix references to mutable.rst. refs #1225
227david-sarah@jacaranda.org**20101212012720
228 Ignore-this: 6819b4b4e06e947ee48b365e840db37d
229]
230[docs/specifications/mutable.rst: correct the magic string for v1 mutable containers. refs #1225
231david-sarah@jacaranda.org**20101212011400
232 Ignore-this: 99a5fcdd40cef83dbb08f323f6cdaaca
233]
234[Move .txt files in docs/frontends and docs/specifications to .rst. refs #1225
235david-sarah@jacaranda.org**20101212010251
236 Ignore-this: 8796d35d928370f7dc6ad2dafdc1c0fe
237]
238[Convert docs/frontends and docs/specifications to reStructuredText format (not including file moves).
239david-sarah@jacaranda.org**20101212004632
240 Ignore-this: e3ceb2d832d73875abe48624ddbb5622
241]
242[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.)
243david-sarah@jacaranda.org**20101130002145
244 Ignore-this: 94c003efaa20b9eb4a83503d79844ca
245]
246[relnotes.txt: fifth -> sixth labor-of-love release
247zooko@zooko.com**20101129045647
248 Ignore-this: 21c245015268b38916e3a138d256c09d
249]
250[Makefile: BB_BRANCH is set to the empty string for trunk, not the string 'trunk'.
251david-sarah@jacaranda.org**20101128233512
252 Ignore-this: 5a7ef8eb10475636d21b91e25b56c369
253]
254[relnotes.txt: eleventh -> twelfth release.
255david-sarah@jacaranda.org**20101128223321
256 Ignore-this: 1e26410156a665271c1170803dea2c0d
257]
258[relnotes.tst: point to known_issues.rst, not known_issues.txt.
259david-sarah@jacaranda.org**20101128222918
260 Ignore-this: 60194eb4544cac446fe4f60b3e34b887
261]
262[quickstart.html: fix link to point to allmydata-tahoe-1.8.1.zip.
263david-sarah@jacaranda.org**20101128221728
264 Ignore-this: 7b3ee86f8256aa12f5d862f689f3ee29
265]
266[TAG allmydata-tahoe-1.8.1
267david-sarah@jacaranda.org**20101128212336
268 Ignore-this: 9c18bdeaef4822f590d2a0d879e00621
269]
270Patch bundle hash:
271f3a328979aea9f5a4f6057ea6964f4bf9f1318ed