Ticket #636: add-missing-synopsis-and-descriptions-for-alias-commands_.dpatch

File add-missing-synopsis-and-descriptions-for-alias-commands_.dpatch, 7.0 KB (added by azazel, at 2009-02-21T00:38:20Z)
Line 
1Sat Feb 21 01:31:06 CET 2009  Alberto Berti <alberto@metapensiero.it>
2  * Add missing synopsis and descriptions for alias commands.
3
4New patches:
5
6[Add missing synopsis and descriptions for alias commands.
7Alberto Berti <alberto@metapensiero.it>**20090221003106
8 Ignore-this: 8aedd03d36d92d912102c7f29e4ca697
9] {
10hunk ./src/allmydata/scripts/cli.py 61
11         self.alias = alias
12         self.cap = cap
13 
14+    def getSynopsis(self):
15+        return "%s add-alias ALIAS DIRCAP" % (os.path.basename(sys.argv[0]),)
16+
17+    longdesc = """Add a new alias for an existing directory."""
18+
19 class CreateAliasOptions(VDriveOptions):
20     def parseArgs(self, alias):
21         self.alias = alias
22hunk ./src/allmydata/scripts/cli.py 70
23 
24+    def getSynopsis(self):
25+        return "%s create-alias ALIAS" % (os.path.basename(sys.argv[0]),)
26+
27+    longdesc = """Creates a new directory and adds an alias for it."""
28+
29 class ListAliasOptions(VDriveOptions):
30hunk ./src/allmydata/scripts/cli.py 76
31-    pass
32+    longdesc = """Displays a table of all configured aliases."""
33 
34 class ListOptions(VDriveOptions):
35     optFlags = [
36}
37
38Context:
39
40[interfaces.py: allow add/renew/cancel-lease to return Any, so that 1.3.1 clients (the first to use these calls) can tolerate future storage servers which might return something other than None
41warner@lothar.com**20090218192903
42 Ignore-this: dcbb704a05416ecc66d90fb486c3d75b
43] 
44[docs/debian.txt: minor edit
45warner@lothar.com**20090218032212
46 Ignore-this: 64ff1fb163ffca4bcfd920254f1cf866
47] 
48[add --add-lease to 'tahoe check', 'tahoe deep-check', and webapi.
49warner@lothar.com**20090218013243
50 Ignore-this: 176b2006cef5041adcb592ee83e084dd
51] 
52[change RIStorageServer.remote_add_lease to exit silently in case of no-such-bucket, instead of raising IndexError, because that makes the upcoming --add-lease feature faster and less noisy
53warner@lothar.com**20090218013053
54 Ignore-this: 6fdfcea2c832178f1ce72ab0ff510f3a
55] 
56[CLI #590: convert 'tahoe deep-check' to streaming form, improve display, add tests
57warner@lothar.com**20090217231511
58 Ignore-this: 6d88eb94b1c877eacc8c5ca7d0aac776
59] 
60[interfaces.py: document behavior of add_lease/renew_lease/cancel_lease, before I change it
61warner@lothar.com**20090217194809
62 Ignore-this: 703c6712926b8edb19d55d790b65a400
63] 
64[test_backupdb: improve error messages if the test fails
65warner@lothar.com**20090217170838
66 Ignore-this: ef657e87c66e4304d3e0aca9831b84c
67] 
68[webapi #590: add streaming deep-check. Still need a CLI tool to use it.
69warner@lothar.com**20090217053553
70 Ignore-this: a0edd3d2a531c48a64d8397f7e4b208c
71] 
72[test_web.Grid: change the CHECK() function to make it easier to test t= values with hyphens in them
73warner@lothar.com**20090217050034
74 Ignore-this: 410c08735347c2057df52f6716520228
75] 
76[test_web: improve checker-results coverage with a no-network -based test, enhance no-network harness to assist, fix some bugs in web/check_results.py that were exposed
77warner@lothar.com**20090217041242
78 Ignore-this: fe54bb66a9ae073c002a7af51cd1e18
79] 
80[web: fix handling of reliability page when Numeric is not available
81warner@lothar.com**20090217015658
82 Ignore-this: 9d329182f1b2e5f812e5e7eb5f4cf2ed
83] 
84[test/no_network: update comments with setup timing: no_network takes 50ms, SystemTestMixin takes 2s (on my laptop)
85warner@lothar.com**20090217000643
86 Ignore-this: cc778fa3219775b25057bfc9491f8f34
87] 
88[test_upload: rewrite in terms of no-network GridTestMixin, improve no_network.py as necessary
89warner@lothar.com**20090216234457
90 Ignore-this: 80a341d5aa3036d24de98e267499d70d
91] 
92[test_download: rewrite in terms of no-network GridTestMixin, improve no_network.py as necessary
93warner@lothar.com**20090216233658
94 Ignore-this: ec2febafd2403830519120fb3f3ca04e
95] 
96[test_dirnode.py: convert Deleter to new no-network gridtest
97warner@lothar.com**20090216232348
98 Ignore-this: 8041739442ec4db726675e48f9775ae9
99] 
100[test_cli.py: modify to use the new 'no-network' gridtest instead of SystemTestMixin, which speeds it up from 73s to 43s on my system
101warner@lothar.com**20090216232005
102 Ignore-this: ec6d010c9182aa72049d1fb894cf890e
103] 
104[tests: fix no_network framework to work with upload/download and checker
105warner@lothar.com**20090216231947
106 Ignore-this: 74b4dbd66b8384ae7c7544969fe4f744
107] 
108[client.py: improve docstring
109warner@lothar.com**20090216231532
110 Ignore-this: bbaa9e3f63fdb0048e3125c4681b2d1f
111] 
112[test_cli: add test coverage for help strings
113warner@lothar.com**20090216210833
114 Ignore-this: d2020849107f687448e159a19d0e5dab
115] 
116[test/no_network: new test harness, like system-test but doesn't use the network so it's faster
117warner@lothar.com**20090216205844
118 Ignore-this: 31678f7bdef30b0216fd657fc6145534
119] 
120[interfaces.py: minor docstring edit
121warner@lothar.com**20090216205816
122 Ignore-this: cec3855070197f7920b370f95e8b07bd
123] 
124[setup: if you sdist_dsc (to produce the input files for dpkg-buildpackage) then run darcsver first
125zooko@zooko.com**20090216201558
126 Ignore-this: b85be51b3d4a9a19a3366e690f1063e2
127] 
128[doc: a few edits to docs made after the 1.3.0 release
129zooko@zooko.com**20090216201539
130 Ignore-this: dbff3b929d88134d862f1dffd1ef068a
131] 
132[test_cli: improve test coverage slightly
133warner@lothar.com**20090216030451
134 Ignore-this: e01ccc6a6fb44aaa4fb14fe8669e2065
135] 
136[test_util: get almost full test coverage of dictutil, starting with the original pyutil tests as a base. The remaining three uncovered lines involve funny cases of ValueOrderedDict that I can't figure out how to get at
137warner@lothar.com**20090216023210
138 Ignore-this: dc1f0c6d8c003c0ade38bc8f8516b04d
139] 
140[provisioning/reliability: add tests, hush pyflakes, remove dead code, fix web links
141warner@lothar.com**20090215222451
142 Ignore-this: 7854df3e0130d9388f06efd4c797262f
143] 
144[util/statistics: add tests, fix mean_repair_cost
145warner@lothar.com**20090215222326
146 Ignore-this: c576eabc74c23b170702018fc3c122d9
147] 
148[test_repairer: hush pyflakes
149warner@lothar.com**20090215222310
150 Ignore-this: 875eb52e86077cda77efd02da77f8cfa
151] 
152[lossmodel.lyx: move draft paper into docs/proposed/, since it's unfinished
153warner@lothar.com**20090215221905
154 Ignore-this: 7f7ee204e47fd66932759c94deefe68
155] 
156[build a 'reliability' web page, with a simulation of file decay and repair over time
157warner@lothar.com**20090213234234
158 Ignore-this: 9e9623eaac7b0637bbd0071f082bd345
159] 
160[More lossmodel work, on repair.
161Shawn Willden <shawn-tahoe@willden.org>**20090116025648] 
162[Loss model work (temp1)
163Shawn Willden <shawn@willden.org>**20090115030058] 
164[Statistics module
165Shawn Willden <shawn-tahoe@willden.org>**20090114021235
166 
167 Added a statistics module for calculating various facets of
168 share survival statistics.
169] 
170[docs: relnotes-short.txt
171zooko@zooko.com**20090215163510
172 Ignore-this: 683649bb13499bbe0e5cea2e1716ff59
173 linkedin.com imposed a strict limit on the number of characters I could post.  This forced me to prune and prune and edit and edit until relnotes.txt was a quarter of its former size.  Here's the short version.
174] 
175[TAG allmydata-tahoe-1.3.0
176zooko@zooko.com**20090214000556
177 Ignore-this: aa6c9a31a14a58ad2298cb7b08d3ea70
178] 
179Patch bundle hash:
180a689308e4599c2e0b09fa72b90d8f1753ea37a54