Commit Graph

4035 Commits

Author SHA1 Message Date
Zooko O'Whielacronx
049d8d1576 pyfec: more progress indicators, handling of already-existent outfile 2007-04-14 16:00:59 -07:00
Zooko O'Whielacronx
554be1ba6a pyfec: argparse: add a feature of exclusivecreate to the argparse FileType 2007-04-14 16:00:33 -07:00
Zooko O'Whielacronx
c5c7605d54 pyfec: argparse: simplify 2007-04-14 15:43:41 -07:00
Zooko O'Whielacronx
7bc14c45ee pyfec: fix up docs, version numbers, bump version to 1.0.0a1-0-STABLE 2007-04-14 12:54:51 -07:00
Zooko O'Whielacronx
f9b0ea3416 pyfec: update README and bump version number to 0.9.9-0-STABLE 2007-04-14 12:02:18 -07:00
Zooko O'Whielacronx
ee66b02989 pyfec: add bin/fec and bin/unfec, do better handling and reporting of various errors 2007-04-14 12:00:10 -07:00
Zooko O'Whielacronx
7c3b35d286 pyfec: new filefec with compressed metadata, better error handling, much better unit tests 2007-04-14 11:19:24 -07:00
Zooko O'Whielacronx
2bd0a2c3a1 pyfec: import a copy of the argparse module 2007-04-14 11:05:54 -07:00
Zooko O'Whielacronx
7aba6f1dd7 pyfec: import a copy of mathutil.py from the pyutil library 2007-04-14 10:54:43 -07:00
Zooko O'Whielacronx
2d858d8a6d pyfec: import a copy of fileutil.py from the pyutil library 2007-04-14 10:54:02 -07:00
Zooko O'Whielacronx
89f036c012 pyfec: add easyfec.Decoder(), which is easier to use than fec.Decoder() 2007-04-14 10:52:45 -07:00
Zooko O'Whielacronx
50353b982b pyfec: tighten internal datatype from int to short and undo attempt to make it unsigned (Python doesn't do unsigned short) 2007-04-14 10:51:48 -07:00
Zooko O'Whielacronx
3a2056a16f give it a version number -- v0.9
I intend to bump it to 1.0 after adding the cmdline tools.
2007-04-11 10:49:33 -07:00
Zooko O'Whielacronx
8a86d3edc3 import Version from pyutil 2007-04-11 10:48:44 -07:00
Zooko O'Whielacronx
c8b1eec75a merge changes and fix wrong type -- k and m need more than 8 bits (because they are the count rather than the index, i.e. they are 1-indexed) 2007-04-11 10:34:27 -07:00
Zooko O'Whielacronx
1b23579715 pyfec: make unit test failures print out a few useful bytes instead of kibibytes 2007-01-31 19:02:57 -07:00
Zooko O'Whielacronx
18de69456c pyfec: add variant of randomized test which happens to match the interface to benchutil 2007-01-31 22:55:28 -07:00
Zooko O'Whielacronx
367faeef6a pyfec: make randomized unit tests more comprehensive 2007-01-31 19:02:24 -07:00
Zooko O'Whielacronx
7b9630d59c pyfec: tighten internal C types 2007-01-31 13:55:31 -07:00
Zooko O'Whielacronx
10530a25bc pyfec: fix precondition checks on k and m to actually check the value before coercing it into a smaller type (oops) 2007-01-31 19:01:40 -07:00
Zooko O'Whielacronx
9c50c156dd pyfec: loosen preconditions -- you can have up to 256 total shares, not up to 255 total shares 2007-01-31 16:53:16 -07:00
Zooko O'Whielacronx
f7ddd89a90 silence warning when building 2007-04-11 08:50:59 -07:00
Zooko O'Whielacronx
08bdde9e4a port GNUmakefile to Windows, cygwin, Linux, MacOSX/PPC, MacOSX/Intel
And of course it may well work on lots of other modern unixes, too, especially the more GNUish ones.
2007-04-10 12:24:32 -07:00
Zooko O'Whielacronx
c8ac7a1a11 merge TODO into roadmap.txt 2007-04-10 10:33:38 -07:00
Zooko O'Whielacronx
19b1b80b5f add TODO: port to Windows 2007-04-10 09:27:58 -07:00
Zooko O'Whielacronx
746b247bfc update TODO (add operational TODOs) 2007-04-09 16:20:34 -07:00
Zooko O'Whielacronx
a1bec401a3 tweak README 2007-04-09 16:14:44 -07:00
Brian Warner
64ea644a48 test_util: add more coverage for assertutil.py 2007-04-08 13:02:13 -07:00
Brian Warner
6f4280cc38 test_util: add full coverage for mathutil.py 2007-04-08 12:43:01 -07:00
Brian Warner
d8b71b85f8 download: retrieve share hashes when downloading. We don't really do much validation with them yet, though. 2007-04-06 22:51:19 -07:00
Brian Warner
9a64a9f76e codec: remove more unused debugging code 2007-04-06 20:56:39 -07:00
Brian Warner
5b0ece6ece node: enable Tub.logLocalFailures now that we require foolscap-0.1.2 2007-04-06 20:55:59 -07:00
Brian Warner
245d318409 codec: remove some unused debugging code 2007-04-06 20:55:37 -07:00
Brian Warner
98491a24fd debian: remove the lines that install the now-removed .tac files 2007-04-06 20:51:32 -07:00
Brian Warner
3687b37c60 misc cleanup: remove old .tac files, move old stuff into misc/ 2007-04-06 20:37:38 -07:00
Brian Warner
fe786350dc test_system: bump up timeouts for the sake of slow slave1, give each test a separate base directory 2007-04-06 20:34:32 -07:00
Brian Warner
5d66cc4c76 include pyfec in the trial tests 2007-04-06 18:17:23 -07:00
Brian Warner
5168c7c8d6 encode: add more logging to investigate occasional test failures 2007-04-06 18:04:38 -07:00
Brian Warner
dd673370ec figleaf output: include a stats.out for parsing by a munin plugin 2007-04-06 17:41:01 -07:00
Brian Warner
6a6631a92e test_util.py: sigh, one last minor python-2.5 issue 2007-04-06 17:21:25 -07:00
Brian Warner
736fbe6ea5 test_util.py: fix another minor python-2.5 issue 2007-04-06 17:12:26 -07:00
Brian Warner
e74e370d00 test_util.py: fix problems 2007-04-06 16:36:22 -07:00
Brian Warner
d432099880 more allmydata.util test coverage, rename the test case to be more correct 2007-04-06 16:33:22 -07:00
Brian Warner
1a4cf6f7b7 add test coverage for stuff in allmydata/utils 2007-04-06 16:29:25 -07:00
Brian Warner
97a40bf20f encode/upload: add more logging, to understand the test failure on a slow buildslave 2007-04-06 15:45:45 -07:00
Brian Warner
654854635a chunk: add IncompleteHashTree for download purposes, plus tests 2007-04-06 09:09:57 -07:00
Brian Warner
8d2def5b04 encode: clean up some weirdness that was there to make unit tests easier to write 2007-04-05 22:36:18 -07:00
Brian Warner
919ca3e902 rename encode_new.py to encode.py, now that there isn't an old one anymore 2007-04-05 21:17:42 -07:00
Brian Warner
070ebd00ab update roadmap: add download-peer-selection 2007-04-05 12:34:22 -07:00
Brian Warner
e495db255b add more useful text to the README 2007-04-04 17:55:35 -07:00