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