vladdd
00b4c3500d
Add and fix links, move diagram to end, and rename heading.
2014-06-27 20:24:07 -04:00
Vladimir Diaz
09c3ceb993
Update README.md
...
Add extension to requirements file.
2014-06-26 09:31:09 -04:00
Vladimir Diaz
ae5c1d56df
Update README.md
...
Remove extra whitespace.
2014-06-26 09:29:49 -04:00
Vladimir Diaz
1968191cb8
Update README.md
...
Add instructions for contributors and minor edits to installation section.
2014-06-26 09:28:09 -04:00
Vladimir Diaz
707d316491
Update README.md
...
Fix target path variable name in custom data example.
2014-06-25 10:41:56 -04:00
Vladimir Diaz
31fdd2fd79
Merge pull request #230 from vladimir-v-diaz/develop
...
Implementation of custom FILEINFO and documentation changes to repository_tool.py README
2014-06-25 10:30:56 -04:00
Vladimir Diaz
5d766d3d6f
Review and update docstrings and README.
2014-06-25 09:45:55 -04:00
Vladimir Diaz
21cbaf8f63
Update README.md
...
Add example for accessing fileinfo and custom data of target objects.
2014-06-25 09:01:06 -04:00
Vladimir Diaz
2e3f6fb096
Update README.md
...
Add example of custom data included with repository.targets.add_target()
2014-06-25 08:43:52 -04:00
Vladimir Diaz
528e33dd77
Add test condition for custom data in test_updater.py.
...
The updater client may reference target information (including 'custom') by accessing the dictionary returned by updater.py.
Example:
target = updater.target('LICENSE.txt')
target['filepath']
target['fileinfo']['length']
target['fileinfo']['hashes']
target['fileinfo']['custom']
2014-06-24 10:31:05 -04:00
Vladimir Diaz
337c9f9ffc
Regenerate '/tests/repository_data/' to include example of custom data.
2014-06-24 10:17:14 -04:00
Vladimir Diaz
f6a9b7fc58
Verify that generated Targets metadata can contain custom data.
2014-06-24 09:38:47 -04:00
Vladimir Diaz
d5c56e550d
Add test condition for repository_tool.Target().add_target() custom data.
2014-06-24 08:58:29 -04:00
vladdd
88d686b258
Initial implementation of custom FILEINFO
2014-06-23 13:33:01 -04:00
vladdd
4e3b40cd95
Minor edits to repository_tool.py.
2014-06-22 20:01:28 -04:00
vladdd
a370c1e93b
Add links and Python prompts.
2014-06-21 20:18:46 -04:00
Santiago Torres
26eb5b7e35
Added relative filepath support and increased coverage
...
After seeing the coveralls report I realized the projects were not
relocatable. While this might be convenient for some uses, moving a
project from one place to another might not be optimal. This has been
changed now.
The only place where absolute filepaths are handled now is with flat
project layouts. However, it is possible to overwrite this filepath if
the targets folder is to be changed.
2014-06-21 19:07:34 -04:00
vladdd
136b45ab7d
Reorder load_signing_key() calls.
...
The Targets section of the README separated import_rsa_privatekey_from_file() from load_signing_key(). To improve readability, reorder them so that load_signing_key() calls come immediately after the key import method calls.
2014-06-20 21:28:00 -04:00
Santiago Torres
d6cfb467e7
Merge branch 'developer-tools' of github.com:SantiagoTorres/tuf into developer-tools
2014-06-20 19:40:05 -04:00
Santiago Torres
f9ce4fcb36
Added the test_developer_tool module
...
All of the neccessary test cases for the developer tool
2014-06-20 19:39:11 -04:00
Santiago Torres
91579e9c15
Fixed developer tools to match the new repository_lib file
...
As of the current version, some functions that were provided by the
repository_tool have been moved to the repository_lib module. This
commit fixes those conflicts
2014-06-20 19:38:13 -04:00
Santiago Torres
07e8ef0be7
Added the generate_repository_data.py script and its produce
...
The generate_repository_data script works in the exact same way as the
generate script and it generates a fresh batch of pre-signed metadata to
test the load_project function.
2014-06-20 19:36:42 -04:00
Santiago Torres
915f07a88a
Merge branch 'develop' of github.com:theupdateframework/tuf into developer-tools
2014-06-20 17:35:17 -04:00
Vladimir Diaz
2358830c37
Merge pull request #229 from vladimir-v-diaz/develop
...
Improve test coverage for repository_lib.py
2014-06-19 13:11:41 -04:00
Hardik Darji
f58113a673
Partial header block added
2014-06-19 12:24:13 -04:00
Vladimir Diaz
c0a61e14e0
Add test coverage for repository_lib._log_status_of_top_level_roles().
...
Verify that status() does not raise 'tuf.InsufficientKeysError' nor 'tuf.UnsignedMetadataError'.
2014-06-19 11:24:07 -04:00
Vladimir Diaz
b105c7853c
Add test condition for repository_lib.create_tuf_client_directory().
...
Verify that non-OSError.EEXist exceptions are re-raised.
2014-06-19 09:50:20 -04:00
Vladimir Diaz
f6f5cc3d75
Merge pull request #228 from vladimir-v-diaz/develop
...
Review, update, document, and test #216 .
2014-06-18 16:02:16 -04:00
vladdd
c22a3a5307
Fix expected format of the 'method_name' argument.
2014-06-18 15:17:38 -04:00
Vladimir Diaz
5102dda144
Merge branch 'dachshund-remove_target_from_bin' into develop
2014-06-18 12:45:20 -04:00
Vladimir Diaz
882871ccfc
Add missing test case for remove_target_from_bin().
2014-06-18 12:39:39 -04:00
Vladimir Diaz
9a90a808e9
Update comments and add missing docstrings in PR #216 .
...
Update add_target_to_bin() and remove_target_from_bin().
2014-06-18 12:39:01 -04:00
Vladimir Diaz
fd60208782
Merge branch 'remove_target_from_bin' of https://github.com/dachshund/tuf into dachshund-remove_target_from_bin
2014-06-18 09:22:42 -04:00
Vladimir Diaz
49a3a4990b
Fix comment / typo in unsafe_download() test condition
2014-06-18 09:06:49 -04:00
Vladimir Diaz
2ff17021df
Merge pull request #227 from vladimir-v-diaz/develop
...
Update test_download.py comments and test case.
2014-06-17 14:25:25 -04:00
Vladimir Diaz
a57c97749a
Fix test_download.py comments for the test case dealing with incorrect file lengths.
2014-06-17 13:45:42 -04:00
Vladimir Diaz
5487a5b497
Merge pull request #226 from vladimir-v-diaz/develop
...
Add self-signed certificates, simple_https_server.py, and a test case for https downloads
2014-06-17 13:38:51 -04:00
Vladimir Diaz
6dafddc10f
Add test case for https connection.
2014-06-17 10:28:56 -04:00
Vladimir Diaz
9d087389a9
Add the simple https server module.
2014-06-17 10:25:16 -04:00
Vladimir Diaz
e83045f162
Add self-signed certificates to be used by simple_https_server.py
2014-06-17 10:20:57 -04:00
JustinCappos
3279e465df
Update README.md
2014-06-16 16:22:58 -04:00
JustinCappos
643ff87c88
Update README.md
2014-06-16 16:22:22 -04:00
JustinCappos
5745de44a6
Update README.md
2014-06-16 16:21:57 -04:00
JustinCappos
8edd0ddfe1
Update METADATA.md
2014-06-16 16:19:25 -04:00
JustinCappos
766f27f885
Update METADATA.md
2014-06-16 16:18:45 -04:00
Vladimir Diaz
68b2337fbf
Merge pull request #225 from vladimir-v-diaz/develop
...
Santiago's #224 pull request (with minor edit) and cosmetic edits to miscellaneous modules
2014-06-16 13:28:35 -04:00
vladdd
40a6539f45
Merge branch 'SantiagoTorres-generate_switches' into develop
2014-06-16 13:18:52 -04:00
vladdd
f0ac659110
Move optparse import statement.
...
Organize import statements of standard Python and TUF modules into separate blocks.
2014-06-16 13:11:35 -04:00
vladdd
f26f6dc4b2
Merge branch 'generate_switches' of https://github.com/SantiagoTorres/tuf into SantiagoTorres-generate_switches
2014-06-16 13:04:21 -04:00
vladdd
8a47f5fe4d
Minor cosmetic edits to formats.py
2014-06-15 22:02:07 -04:00