Граф коммитов

58 Коммитов

Автор SHA1 Сообщение Дата
Chris AtLee ec7f494f37 Add support for SHA384 signatures (#20) 2016-12-30 14:58:19 -05:00
Chris AtLee 81d4c7fca0 Test fixes (#19)
* We don't actually need lzma yet

* try and fix windows paths

* specify file mode

* fix coverage
2016-12-23 12:17:53 -05:00
Chris AtLee 88fc0c6010 Apply new project template (#18)
* cookify project

* update travis

* fix up manifest

* fix import sorting

* disable pypy, py36 on travis for now

* fix up readme
2016-12-23 11:06:56 -05:00
Chris AtLee 958aad5fb3 mar2
rewrite using construct
2016-12-23 10:29:24 -05:00
Chris AtLee 4372088540 Merge pull request #14 from catlee/master
Fixing coveralls/travis
2015-10-16 18:05:36 -04:00
Chris AtLee 0ccbc150f7 Fixing coveralls/travis 2015-10-16 18:05:08 -04:00
Chris AtLee 65ff80c900 Merge pull request #13 from catlee/master
passing travis environment to tox
2015-10-16 17:40:18 -04:00
Chris AtLee 3bde9205c7 passing travis environment to tox 2015-10-16 17:39:48 -04:00
Chris AtLee d81c3c751a Merge pull request #12 from catlee/master
Update coverage badge
2015-10-16 17:34:50 -04:00
Chris AtLee 18240ba0c8 Update coverage badge 2015-10-16 17:34:23 -04:00
Chris AtLee 80ca5db7b9 Merge pull request #11 from catlee/master
Adding from_bytes methods to objects
2015-10-16 16:28:59 -04:00
Chris AtLee e37ab88585 Merge branch 'master' of https://github.com/mozilla/build-mar 2015-10-16 16:05:23 -04:00
Chris AtLee d2d11789b4 Merge pull request #10 from rail/fileobj
Support reading/writing from file objects
2015-10-16 16:02:44 -04:00
Rail Aliiev 4e8ce31402 Move fileobj 2015-10-16 13:29:17 -04:00
Rail Aliiev 1c56a0a594 Add tests 2015-10-16 12:23:43 -04:00
Rail Aliiev 78e344eeff Initial support for fileobj 2015-10-16 11:28:41 -04:00
Chris AtLee 08523ae4f3 allow extracting to a file object 2015-10-15 16:44:04 -04:00
Chris AtLee 592cf34e72 Add a from_bytes method to AdditionalInfo 2015-10-15 16:10:05 -04:00
Chris AtLee b76137079f bump version to 1.3pre 2015-10-15 15:58:31 -04:00
Chris AtLee 015f7310f0 specify python versions 2015-10-06 09:07:13 -04:00
Chris AtLee c62f5972b6 experimenting using hypothesis for testing 2015-10-05 18:18:14 -04:00
Chris AtLee b143516e27 use bytearrays 2015-09-10 10:49:07 -04:00
Chris AtLee e90b09dba4 Merge pull request #8 from catlee/master
refactor additional sections
add tests for verifying signatures
add support for writing additional sections
2015-02-03 18:16:04 -05:00
Chris AtLee 9a08f8a330 Implement writing additional info sections 2015-02-03 18:04:26 -05:00
Chris AtLee da2137ff10 test extractall 2015-02-03 17:04:42 -05:00
Chris AtLee 47dbbac4de test adding directories 2015-02-03 17:00:15 -05:00
Chris AtLee 5851bdf57a Add test to verify mar signatures 2015-02-03 15:54:27 -05:00
Chris AtLee c451b2b78d store additional info sections 2015-01-20 18:02:34 -05:00
Chris AtLee 802b404352 refactor _read_index 2015-01-20 17:41:37 -05:00
Rail Aliiev 72a9868762 Merge pull request #7 from catlee/master
v1.2 - signature validation & mardor!
2015-01-20 16:44:57 -05:00
Chris AtLee b0cfff355d Bump version 2015-01-20 14:52:37 -05:00
Chris AtLee 93118480ba Refactor into modules
Rename module to mardor so we don't conflict with mar.py script
Get signature verification working
2015-01-20 14:38:39 -05:00
Chris AtLee 6221e06559 refactoring __init__ 2015-01-19 14:36:48 -05:00
Chris AtLee 68f9f44d81 refactoring add() 2015-01-19 14:31:49 -05:00
Chris AtLee b006ab6109 test writing/extracting bz2 mars 2015-01-19 14:27:20 -05:00
Chris AtLee d5cedfbe7f removing debugging code 2015-01-19 14:10:01 -05:00
Chris AtLee bc22fa44a3 Fix writing mars without signatures 2015-01-19 14:07:23 -05:00
Chris AtLee 23cbadcb4f Implement safe path joining so we can't extract out of the target
directory

Add tests that written contents match the original files
2015-01-19 14:06:38 -05:00
Rail Aliiev e9c1ef48bd Merge pull request #6 from catlee/master
Code cleanup, and adding tests
2015-01-19 13:09:12 -05:00
Chris AtLee 72954cfe7e Adding tests for writing 2015-01-19 12:35:11 -05:00
Chris AtLee edfc06566a get rid of __del__ 2015-01-19 12:30:33 -05:00
Chris AtLee 25ee832cbb simplify while True blocks for reading file data 2015-01-19 12:30:33 -05:00
Chris AtLee 3d791522db Add some tests for BZ2MarFile 2015-01-19 12:30:33 -05:00
Rail Aliiev b09a6e1d32 Merge pull request #5 from catlee/master
Fix badges
2015-01-19 12:10:19 -05:00
Chris AtLee ff808f7b54 move main script logic into main() 2015-01-19 12:02:54 -05:00
Chris AtLee 32cdaef6d3 Use with statements for main mar script 2015-01-19 12:01:27 -05:00
Chris AtLee 3e4874b436 Fix badges 2015-01-19 11:58:27 -05:00
Rail Aliiev 159ba457b1 Merge pull request #4 from rail/master
Update coverage/build status links
2015-01-17 12:37:39 -05:00
Rail Aliiev de672fccb3 Update coverage/build status links 2015-01-17 12:33:03 -05:00
Rail Aliiev 1ff3b9b322 Bump version 2015-01-17 12:19:09 -05:00