1 | Sat Jul 17 05:47:47 GMT Daylight Time 2010 david-sarah@jacaranda.org |
---|
2 | * CLI: add 'tahoe unlink' as an alias to 'tahoe rm', for forward-compatibility. |
---|
3 | |
---|
4 | New patches: |
---|
5 | |
---|
6 | [CLI: add 'tahoe unlink' as an alias to 'tahoe rm', for forward-compatibility. |
---|
7 | david-sarah@jacaranda.org**20100717044747 |
---|
8 | Ignore-this: 2b88f7344284e42b03f4c031e01d3621 |
---|
9 | ] { |
---|
10 | hunk ./src/allmydata/scripts/cli.py 432 |
---|
11 | ["put", None, PutOptions, "Upload a file into the grid."], |
---|
12 | ["cp", None, CpOptions, "Copy one or more files."], |
---|
13 | ["rm", None, RmOptions, "Unlink a file or directory on the grid."], |
---|
14 | + ["unlink", None, RmOptions, "Unlink a file or directory on the grid (same as rm)."], |
---|
15 | ["mv", None, MvOptions, "Move a file within the grid."], |
---|
16 | ["ln", None, LnOptions, "Make an additional link to an existing file."], |
---|
17 | ["backup", None, BackupOptions, "Make target dir look like local dir."], |
---|
18 | hunk ./src/allmydata/scripts/cli.py 547 |
---|
19 | "put": put, |
---|
20 | "cp": cp, |
---|
21 | "rm": rm, |
---|
22 | + "unlink": rm, |
---|
23 | "mv": mv, |
---|
24 | "ln": ln, |
---|
25 | "backup": backup, |
---|
26 | hunk ./src/allmydata/test/test_cli.py 2446 |
---|
27 | self.failUnlessIn("error:", err) |
---|
28 | self.failUnlessReallyEqual(out, "") |
---|
29 | d.addCallback(_check) |
---|
30 | + |
---|
31 | + d.addCallback(lambda ign: self.do_cli("unlink", "afile")) |
---|
32 | + d.addCallback(_check) |
---|
33 | return d |
---|
34 | |
---|
35 | def test_rm_with_nonexistent_alias(self): |
---|
36 | hunk ./src/allmydata/test/test_cli.py 2463 |
---|
37 | self.failUnlessIn("nonexistent", err) |
---|
38 | self.failUnlessReallyEqual(out, "") |
---|
39 | d.addCallback(_check) |
---|
40 | + |
---|
41 | + d.addCallback(lambda ign: self.do_cli("unlink", "nonexistent:afile")) |
---|
42 | + d.addCallback(_check) |
---|
43 | return d |
---|
44 | |
---|
45 | |
---|
46 | } |
---|
47 | |
---|
48 | Context: |
---|
49 | |
---|
50 | [Rename stringutils to encodingutil, and drop open_unicode (since the Python 'open' function works fine with Unicode paths). |
---|
51 | david-sarah@jacaranda.org**20100713042715 |
---|
52 | Ignore-this: fa2bb6b5d48ce9ba7ea2b1afc9f3b7b4 |
---|
53 | ] |
---|
54 | [Resolve conflicts between NFC normalization changes, and post-1.7 branch. |
---|
55 | david-sarah@jacaranda.org**20100618021642 |
---|
56 | Ignore-this: ed3d0d71b761b1317cff9a4c92c2f5cb |
---|
57 | ] |
---|
58 | [trivial: a copy of tiny code-cleanups suggested by Kevan in reviewing #967 |
---|
59 | zooko@zooko.com**20100617045339 |
---|
60 | Ignore-this: 274b3fdbf1531aa053f484a5d47d7447 |
---|
61 | ] |
---|
62 | [minor code clean-up in dirnode.py |
---|
63 | zooko@zooko.com**20100221052527 |
---|
64 | Ignore-this: b01bfb47638f5a64256bb306e0022066 |
---|
65 | Impose micro-POLA by passing only the writekey instead of the whole node object to {{{_encrypt_rw_uri()}}}. Remove DummyImmutableFileNode in nodemaker.py, which is obviated by this. Add micro-optimization by precomputing the netstring of the empty string and branching on whether the writekey is present or not outside of {{{_encrypt_rw_uri()}}}. Add doc about writekey to docstring. |
---|
66 | ] |
---|
67 | [Move EncryptedTemporaryFile from SFTP frontend to allmydata.util.fileutil, and make the FTP frontend also use it (fixing #1083). |
---|
68 | david-sarah@jacaranda.org**20100711213721 |
---|
69 | Ignore-this: e452e8ca66391aa2a1a49afe0114f317 |
---|
70 | ] |
---|
71 | [Add tests of caps from the future that have non-ASCII characters in them (encoded as UTF-8). The changes to test_uri.py, test_client.py, and test_dirnode.py add tests of non-ASCII future caps in addition to the current tests. The changes to test_web.py just replace the tests of all-ASCII future caps with tests of non-ASCII future caps. We also change uses of failUnlessEqual to failUnlessReallyEqual, in order to catch cases where the type of a string is not as expected. |
---|
72 | david-sarah@jacaranda.org**20100711200252 |
---|
73 | Ignore-this: c2f193352369d32e06865f8f3e951894 |
---|
74 | ] |
---|
75 | [Allow URIs passed in the initial JSON for t=mkdir-with-children, t=mkdir-immutable to be Unicode. Also pass the name of each child into nodemaker.create_from_cap for error reporting. |
---|
76 | david-sarah@jacaranda.org**20100711195525 |
---|
77 | Ignore-this: deac32d8b91ba26ede18905d3f7d2b93 |
---|
78 | ] |
---|
79 | [docs/logging.txt: note that setting flogging vars might affect tests with race conditions. |
---|
80 | david-sarah@jacaranda.org**20100712050721 |
---|
81 | Ignore-this: fc1609d215fcd5561a57fd1226206f27 |
---|
82 | ] |
---|
83 | [test_storage.py: potential fix for failures when logging is enabled. |
---|
84 | david-sarah@jacaranda.org**19700713040546 |
---|
85 | Ignore-this: 5815693a0df3e64c52c3c6b7be2846c7 |
---|
86 | ] |
---|
87 | [SFTP: address some of the comments in zooko's review (#1106). |
---|
88 | david-sarah@jacaranda.org**20100712025537 |
---|
89 | Ignore-this: c3921638a2d4f1de2a776ae78e4dc37e |
---|
90 | ] |
---|
91 | [upcase_since_on_welcome |
---|
92 | terrellrussell@gmail.com**20100708193903] |
---|
93 | [server_version_on_welcome_page.dpatch.txt |
---|
94 | freestorm77@gmail.com**20100605191721 |
---|
95 | Ignore-this: b450c76dc875f5ac8cca229a666cbd0a |
---|
96 | |
---|
97 | |
---|
98 | - The storage server version is 0 for all storage nodes in the Welcome Page |
---|
99 | |
---|
100 | |
---|
101 | ] |
---|
102 | [NEWS: add NEWS snippets about two recent patches |
---|
103 | zooko@zooko.com**20100708162058 |
---|
104 | Ignore-this: 6c9da6a0ad7351a960bdd60f81532899 |
---|
105 | ] |
---|
106 | [directory_html_top_banner.dpatch |
---|
107 | freestorm77@gmail.com**20100622205301 |
---|
108 | Ignore-this: 1d770d975e0c414c996564774f049bca |
---|
109 | |
---|
110 | The div tag with the link "Return to Welcome page" on the directory.xhtml page is not correct |
---|
111 | |
---|
112 | ] |
---|
113 | [tahoe_css_toolbar.dpatch |
---|
114 | freestorm77@gmail.com**20100622210046 |
---|
115 | Ignore-this: 5b3ebb2e0f52bbba718a932f80c246c0 |
---|
116 | |
---|
117 | CSS modification to be correctly diplayed with Internet Explorer 8 |
---|
118 | |
---|
119 | The links on the top of page directory.xhtml are not diplayed in the same line as display with Firefox. |
---|
120 | |
---|
121 | ] |
---|
122 | [runnin_test_tahoe_css.dpatch |
---|
123 | freestorm77@gmail.com**20100622214714 |
---|
124 | Ignore-this: e0db73d68740aad09a7b9ae60a08c05c |
---|
125 | |
---|
126 | Runnin test for changes in tahoe.css file |
---|
127 | |
---|
128 | ] |
---|
129 | [runnin_test_directory_xhtml.dpatch |
---|
130 | freestorm77@gmail.com**20100622201403 |
---|
131 | Ignore-this: f8962463fce50b9466405cb59fe11d43 |
---|
132 | |
---|
133 | Runnin test for diretory.xhtml top banner |
---|
134 | |
---|
135 | ] |
---|
136 | [stringutils.py: tolerate sys.stdout having no 'encoding' attribute. |
---|
137 | david-sarah@jacaranda.org**20100626040817 |
---|
138 | Ignore-this: f42cad81cef645ee38ac1df4660cc850 |
---|
139 | ] |
---|
140 | [quickstart.html: python 2.5 -> 2.6 as recommended version |
---|
141 | david-sarah@jacaranda.org**20100705175858 |
---|
142 | Ignore-this: bc3a14645ea1d5435002966ae903199f |
---|
143 | ] |
---|
144 | [SFTP: don't call .stopProducing on the producer registered with OverwriteableFileConsumer (which breaks with warner's new downloader). |
---|
145 | david-sarah@jacaranda.org**20100628231926 |
---|
146 | Ignore-this: 131b7a5787bc85a9a356b5740d9d996f |
---|
147 | ] |
---|
148 | [docs/how_to_make_a_tahoe-lafs_release.txt: trivial correction, install.html should now be quickstart.html. |
---|
149 | david-sarah@jacaranda.org**20100625223929 |
---|
150 | Ignore-this: 99a5459cac51bd867cc11ad06927ff30 |
---|
151 | ] |
---|
152 | [setup: in the Makefile, refuse to upload tarballs unless someone has passed the environment variable "BB_BRANCH" with value "trunk" |
---|
153 | zooko@zooko.com**20100619034928 |
---|
154 | Ignore-this: 276ddf9b6ad7ec79e27474862e0f7d6 |
---|
155 | ] |
---|
156 | [trivial: tiny update to in-line comment |
---|
157 | zooko@zooko.com**20100614045715 |
---|
158 | Ignore-this: 10851b0ed2abfed542c97749e5d280bc |
---|
159 | (I'm actually committing this patch as a test of the new eager-annotation-computation of trac-darcs.) |
---|
160 | ] |
---|
161 | [docs: about.html link to home page early on, and be decentralized storage instead of cloud storage this time around |
---|
162 | zooko@zooko.com**20100619065318 |
---|
163 | Ignore-this: dc6db03f696e5b6d2848699e754d8053 |
---|
164 | ] |
---|
165 | [docs: update about.html, especially to have a non-broken link to quickstart.html, and also to comment out the broken links to "for Paranoids" and "for Corporates" |
---|
166 | zooko@zooko.com**20100619065124 |
---|
167 | Ignore-this: e292c7f51c337a84ebfeb366fbd24d6c |
---|
168 | ] |
---|
169 | [TAG allmydata-tahoe-1.7.0 |
---|
170 | zooko@zooko.com**20100619052631 |
---|
171 | Ignore-this: d21e27afe6d85e2e3ba6a3292ba2be1 |
---|
172 | ] |
---|
173 | Patch bundle hash: |
---|
174 | baff29f1695597684160514631238bb8f515d1e0 |
---|