Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use hacking checks | Tim Burke | 2022-04-08 | 1 | -1/+1 |
| | | | | Change-Id: I5ed0829d1124c813fb3457cf45152a0f175cebea | ||||
* | Add a __repr__ for ECPyECLibDriver | Tim Burke | 2021-05-10 | 1 | -0/+5 |
| | | | | Change-Id: I1a22049ee42fc5ee7832989e75c6c9b7147db232 | ||||
* | Switch from pep8 to flake8 for linting | Tim Burke | 2017-05-03 | 1 | -2/+0 |
| | | | | | | | ...and clean up the unused variables, unused imports, and inconsistent spacing that flake8 revealed. Change-Id: I3ae1e834f01f477be88dfc48de954eeaf19e43cf | ||||
* | Assorted combinatoric-test fixes | Tim Burke | 2016-11-17 | 1 | -7/+8 |
| | | | | | | | | | | | | | * Test flat_xor_hd decoding/reconstruction * Use random input * Make py3-friendly Additionally: * Accept iterables as fragment payloads, rather than just lists * Add a __repr__ for ECDrivers Change-Id: Ic5b5e5ef2420afdc318b403fcbea1ff106e16a33 | ||||
* | Disable error reporting during VALID_EC_TYPES eval | Tushar Gohad | 2015-11-23 | 1 | -4/+8 |
| | | | | | ... this should not be required after upstream liberasurecode has more configurable logging | ||||
* | Allow 'flat_xor_hd_4' from external API | Tushar Gohad | 2015-09-08 | 1 | -10/+7 |
| | | | | Add 'hd' argument back to the internal API | ||||
* | PEP8 fixes | Tushar Gohad | 2015-07-22 | 1 | -35/+43 |
| | | | | TODO: test code | ||||
* | Fix Python 3 issues | Victor Stinner | 2015-07-21 | 1 | -3/+3 |
| | | | | | | | | | * Use relative imports * Fix bytes/unicode issues in tests * Replace long() with int() * Replace a/b with a//b to get integer division * Use a key function to sort list * Replace zip() with list(zip()) in a test to get a list on Python 3 | ||||
* | Expose liberasurecode error codes in PyECLib | Tushar Gohad | 2015-07-19 | 1 | -36/+12 |
| | | | | | ... also move exception handing down to the C backend layer, so it is easier to add new error codes. Addresses #61. | ||||
* | Example of passing different exception when decode has insifficient fragments. | Kevin Greenan | 2015-07-12 | 1 | -3/+6 |
| | |||||
* | Convert remaining ECPyECLibException instances to ECDriverError | Tushar Gohad | 2015-03-13 | 1 | -6/+6 |
| | |||||
* | Replace ECPyECLibException with ECDriverError | Kevin Greenan | 2015-03-13 | 1 | -25/+14 |
| | |||||
* | Wrap calls to pyeclib_c in core.py with try/catch and wrote example | Kevin Greenan | 2015-03-10 | 1 | -8/+30 |
| | | | | test to validate exceptions. | ||||
* | Re-add in support for both HD 3 and 4 flat XOR codes... | Kevin Greenan | 2015-02-28 | 1 | -1/+3 |
| | |||||
* | Add tests for decode metadata checks. | Kevin Greenan | 2015-02-07 | 1 | -3/+7 |
| | |||||
* | Adding support for checking fragment metadata during decode and plumbing | Kevin Greenan | 2015-02-07 | 1 | -5/+15 |
| | | | | ragne parameter from python down to the C API. | ||||
* | Remove algsig integrity checks, make crc32 the default | Tushar Gohad | 2015-02-01 | 1 | -3/+1 |
| | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
* | Removing 'fragment_metadata_len' from the check metaadta API, as it is not ↵ | Kevin Greenan | 2015-01-19 | 1 | -5/+1 |
| | | | | needed. | ||||
* | Fix the checksum unit tests for crc32. | Kevin Greenan | 2015-01-19 | 1 | -4/+4 |
| | |||||
* | Add option to return fragment metadata as a dict, instead of an opaque buffer. | Kevin Greenan | 2015-01-19 | 1 | -2/+2 |
| | |||||
* | Refactor pyeclib python src tree for nosetests | Tushar Gohad | 2014-12-10 | 1 | -0/+279 |
pyeclib needs to be installed in order to run unit tests which shouldn't be the case. We should rely on in-source modules. This addresses issue#56. Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> |