Vladimir Diaz
7a566cf924
Ensure the URLs in mirrors.list_of_mirrors do not contain backward slashes
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-20 10:56:32 -04:00
Vladimir Diaz
0367fa4cbd
Remove the use of explcit path separators in mirrors.py
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-13 16:03:50 -04:00
Vladimir Diaz
8f65fa4154
Rename license files in modules
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-05 11:31:19 -05:00
Vladimir Diaz
3894bc4e31
Add copyright and license info to module files
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-30 13:23:38 -05:00
Vladimir Diaz
de0f2b92ed
Fix remaining linter warnings for mirrors.py
...
* Use 'junk' for unused return value
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-20 14:10:21 -05:00
Vladimir Diaz
fb0ea0b836
Fix more import statements for various modules
2017-01-11 15:41:13 -05:00
Vladimir Diaz
e138a333c5
Replace imports statements in mirrors.py
2017-01-10 10:43:37 -05:00
Vladimir Diaz
9079634f2f
Import the expected modules from ssl_commons and ssl_crypto
2016-11-09 15:10:11 -05:00
Artiom Baloian
b0156944bb
Moved util.py, now it is common
2016-11-02 09:49:37 -04:00
Artiom Baloian
b07d9a5d0f
Move some part of tufformats into the common formats
2016-10-31 19:04:14 -04:00
Artiom Baloian
8247a02737
Moved TuF exceptions and schem into the ssl_commons
2016-10-31 11:58:05 -04:00
Artiom Baloian
7098cdbc3a
Move _vendor dir and split formats into the formats and tufformats
2016-10-28 18:37:28 -04:00
Vladimir Diaz
1c8f41b0c0
Update import statements of unvendored dependencies
2015-06-02 08:29:22 -04:00
Vladimir Diaz
65f30a7bd8
Improve test coverage.
...
Update unit tests for pycrypto_keys, schema, ed25519_keys, and affected modules.
2014-05-30 12:47:33 -04:00
Vladimir Diaz
ab95a4b3aa
[WIP] Python 2+3 support.
...
Python 2+3 unicode.
libraries.
The following modules (and their tests) work in PY2.7+3.3:
keydb, hash, formats, mirrors
2014-04-29 14:27:34 -04:00
Vladimir Diaz
a7f28b9af4
[WIP] Python 2+3 support.
...
Add six, convert PY <=2.5 exception handling, dictionary iteration, libraries, 1/2 the tests.
2014-04-22 15:03:42 -04:00
vladdd
ef9922ebe9
Finish refactor of test_updater.py.
...
test_updater.py now uses repository_tool.py to update the remote repository as needed, and no longer depends on mocking and repository_setup.py.
2014-03-18 12:59:03 -04:00
Vladimir Diaz
009ddd9f37
Rename top-level role and functions of repository_tool.py. Update documentation and diagram.
...
add_key() -> add_verification_key()
remove_key() -> remove_verification_key()
release.json -> snapshot.json
Update repository_tool-diagram.png
Update README following the renamed functions and release role changes.
Minor edits, such as removing lint left over from a previous merge conflict.
2014-01-29 11:26:56 -05:00
vladdd
298f52ddb8
Modify format of paths in metadata and minor fixes.
...
Allow leading os.sep for target and restricted paths listed in metadata. Previously, '{repository directory}/targets/file.txt' was listed as 'file.txt' and unsuccessfully compared against '/', or the root-most targets directory. Now, '/file.txt' & '/' and similar examples may be compared and verified.
Fix issue where a hashed bin with empty targets was flagged as invalid because its targets did not produce a path hash prefix that matched any of those listed in the parent role. Uncovered with _ensure_all_targets_allowed().
Minor edits to code that compared paths and and used path separators.
2014-01-25 16:40:53 -05:00
vladdd
6f6f60fdff
Update the unit tests affected by the design change to log.py
2013-08-15 14:33:35 -04:00
dachshund
1367deda09
Kludges to work around #61 .
2013-04-15 21:40:09 -04:00
vladdd
dce21e4089
Modified the exception raised on invalid 'file_type' in mirrors.py. Updated test_mirrors.py to test for the changed exception raised
2013-02-27 12:33:34 -05:00
vladdd
cf58b747a5
Modified a conditional statement of mirrors.py, where introducing a new file type might lead to a bug in get_list_of_mirrors()
2013-02-26 20:26:31 -05:00
vladdd
d2a799f73f
Update affected module following review of util.py and test_util.py.
2013-02-13 10:57:01 -05:00
vladdd
a38aa4a9a0
Update download.py, mirrors.py, and test_download.py following review.
2013-02-11 22:38:01 -05:00
vladdd
abf0349b05
Move all files up one directory from 'src/'.
2013-02-10 21:38:06 -05:00