Vladimir Diaz
65d23fa5a7
Reference all metadata in <version>.rolename.json format
2016-07-14 10:31:16 -04:00
Vladimir Diaz
bd5b398ee4
Remove repository.status() (used for testing) from generate.py
2016-06-28 16:54:18 -04:00
Vladimir Diaz
2a9e4c28ad
Add latest repository example and unit test fixes
2016-06-27 17:02:27 -04:00
Vladimir Diaz
8e0e5a19e8
Generate metadata following change to Ed25519 keys
2016-06-17 09:56:13 -04:00
Vladimir Diaz
c55f548551
Generate Ed25519 keys for tests/repository_data
2016-06-17 09:54:46 -04:00
Vladimir Diaz
ba0f9ca936
Initial changes for multihash keyid algorithms support on write
2016-06-08 16:49:13 -04:00
Vladimir Diaz
e27371113f
Update developer tool
2016-04-14 16:53:48 -04:00
Vladimir Diaz
c0958f11f2
Modify repository data to use new snapshot format
...
snapshot.json should list the hash(es) of root metadata, rather than version number
2016-04-14 08:11:34 -04:00
Vladimir Diaz
28e738ed8c
Repository data that contains the correct number of delegated roles in snapshot.json
2016-03-28 17:51:43 -04:00
Vladimir Diaz
6611efbf09
Add the new delegation structure to repository_data
2016-03-02 12:03:39 -05:00
Vladimir Diaz
14ca0d1565
Update the repository test data following the addition of the 'compression algorithms' key in root.json
2015-10-20 09:14:21 -04:00
Vladimir Diaz
d993ccf35e
Generate a repository for the unit tests that contains the changes to the snapshot role
2015-10-15 09:53:54 -04:00
Vladimir Diaz
b7cf7e6588
Improve each module's code coverage to at least 90%
...
Update unit tests for download.py, repository_lib.py, repository_tool.py, and updater.py.
Re-generate repository data so that compressed metadata may be tested.
2015-02-11 13:22:46 -05:00
Vladimir Diaz
59b45fdfe5
Merge branch 'SantiagoTorres-developer-tools' of https://github.com/vladimir-v-diaz/tuf into develop
2014-07-01 07:47:47 -04:00
vladdd
2f520dd140
Review and update pull request #188 .
2014-06-30 14:04:01 -04:00
Vladimir Diaz
5d766d3d6f
Review and update docstrings and README.
2014-06-25 09:45:55 -04:00
Vladimir Diaz
337c9f9ffc
Regenerate '/tests/repository_data/' to include example of custom data.
2014-06-24 10:17:14 -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
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
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
Santiago Torres
5a097faaf8
Added switches to the generate script
...
Added two switches to the generate script:
-k (or --keys), which forces the creation of new keys.
-d (or --dry-run), which skips the actual writing or copying phases
The second option might be useful in the future, and helped me debug the
optparse module, so I left it there.
2014-06-13 15:33:07 -04:00
vladdd
744be00cbc
Initial implementation of authoritative delegations.
2014-06-07 20:29:18 -04:00
Vladimir Diaz
797bab5ddc
Fix Python 2 + 3 JSON consistency issue and re-generate repository data.
...
Explicitly specify the JSON separators for Python 2 + 3 consistency.
2014-06-05 11:17:30 -04:00
Vladimir Diaz
80ad012bc3
Re-generate repository data.
2014-06-03 14:28:46 -04:00
vladdd
5f94d5be0d
Support ISO 8601, vendor iso8601, clean codebase.
2014-04-19 14:27:53 -04:00
Vladimir Diaz
25e800a59c
Re-generate 'tests/repository_data' to include metadata unix timestamps.
2014-04-15 12:43:12 -04:00
Vladimir Diaz
63afb1e99f
Re-add repository data for the tests.
2014-04-03 08:52:16 -04:00