Commit graph

3274 commits

Author SHA1 Message Date
Vladimir Diaz
1e0cde9279 Ensure developer_tool.py imports the correct tuf.formats module 2016-11-09 14:53:07 -05:00
Vladimir Diaz
4135487c2d Make cosmetic changes and import expected tuf.ssl_commons.exceptions module 2016-11-09 14:46:05 -05:00
Vladimir Diaz
b4fb6fa25f Remove tufformats from tufcli.py 2016-11-09 14:42:10 -05:00
Vladimir Diaz
1f40a11fcb Retrieve latest changes from ssl_crypto submodule 2016-11-09 14:34:46 -05:00
Vladimir Diaz
5d14de8a61 Merge branch 'tuf_merge' of https://github.com/baloyan/tuf into baloyan-tuf_merge
Conflicts:
	tests/test_formats.py
	tests/test_updater.py
	tuf/client/updater.py
	tuf/formats.py
	tuf/repository_lib.py
2016-11-09 14:32:59 -05:00
Vladimir Diaz
9bb47822ae Merge pull request #400 from theupdateframework/update_readme
Update README.md
2016-11-08 15:00:48 -05:00
Vladimir Diaz
5859b495d7 Update README.md
Identify the format of a (1) command entered by the reader, (2) the output of a commands, and (3) comments.
2016-11-08 15:00:17 -05:00
Vladimir Diaz
11210e92e0 Update README.md
Identify the format of a (1) command entered by the reader, (2) the output of a commands, and (3) comments.
2016-11-08 14:52:04 -05:00
Vladimir Diaz
526d7507fa Merge pull request #399 from theupdateframework/FelixWang1994-develop
Fix for issue #390.  Copy (rather than link) target file to consistent target
2016-11-08 12:45:37 -05:00
Vladimir Diaz
8bd76376e0 Expand comment on copying target to consistent target 2016-11-08 12:43:55 -05:00
Kejian Wang
fa7d4d1c02 Fix Issue #390
Copy target files into digest files if write_consistent_targets is True.
Update the docstring
2016-11-08 12:18:39 -05:00
Kejian Wang
4f505911ab Fix Issue #390
Copy target files into digest files if write_consistent_targets is True.
2016-11-08 11:55:40 -05:00
Kejian Wang
e6283fe530 Merge pull request #2 from theupdateframework/develop
Synchronize from base
2016-11-08 11:48:42 -05:00
Vladimir Diaz
8953f65bf6 Merge pull request #397 from theupdateframework/update_docs_for_updater.target
Replace target() with get_one_valid_targetinfo() in updater.py's README
2016-11-07 14:37:00 -05:00
Vladimir Diaz
79668a0a64 Replace target() with get_one_valid_targetinfo() in updater.py's README 2016-11-07 14:31:23 -05:00
Vladimir Diaz
4418c39890 Merge pull request #396 from theupdateframework/rename_target_to_get_one_valid_targetinfo
Rename updater.py's target() to get_one_valid_targetinfo()
2016-11-07 12:34:19 -05:00
Vladimir Diaz
c65129ad7e Update tests following rename of target() 2016-11-07 12:33:08 -05:00
Vladimir Diaz
01ad2d6821 Rename target() -> get_one_valid_targetinfo() in updater.py 2016-11-07 12:32:37 -05:00
Vladimir Diaz
2a19d5d375 Merge pull request #395 from theupdateframework/rename_targetfile_schema
Rename TARGETFILE_SCHEMA to TARGETINFO_SCHEMA
2016-11-07 11:42:13 -05:00
Vladimir Diaz
e6a4b5eef0 Rename TARGETFILE_SCHEMA to TARGETINFO_SCHEMA 2016-11-07 11:41:34 -05:00
Vladimir Diaz
3e08ea3b0b Merge pull request #394 from theupdateframework/FelixWang1994-develop
Felix wang1994 develop
2016-11-07 10:50:59 -05:00
Vladimir Diaz
75f4ef6079 Merge pull request #392 from FelixWang1994/develop
Fix Issue #391
2016-11-07 10:09:24 -05:00
Vladimir Diaz
85f3129607 Minor edit to comments 2016-11-04 11:53:30 -04:00
Vladimir Diaz
f5e2bec287 Expand a few comment blocks and make sure consistent root is written if consistent snapshot = False 2016-11-04 11:25:15 -04:00
Vladimir Diaz
ea886ac9f5 Do not store exception message in a variable 2016-11-03 16:43:28 -04:00
Artiom Baloian
c12fa6a3bc Fixed tox.ini 2016-11-03 14:42:30 -04:00
Artiom Baloian
0944ccede1 Changed submodules path 2016-11-03 14:25:20 -04:00
Artiom Baloian
b4c5fdabb6 Add ssl_crypto and ssl_commons submodules 2016-11-03 11:05:25 -04:00
Vladimir Diaz
fe1bc7160d Remove (temporarily for now) outdated lines of test code 2016-11-03 10:00:19 -04:00
Vladimir Diaz
c1e07e7049 Make cosmetic changes
Move comment around, and do not use 'message' variable to hold exception message
2016-11-03 09:58:39 -04:00
Artiom Baloian
299ff68edd Now crypto related files are in ssl_crypto and ssl_commons 2016-11-02 17:44:32 -04:00
Kejian Wang
202c74dc48 Fix Issue #391 2016-11-02 17:27:45 -04:00
Kejian Wang
c5d0970c0f Merge pull request #1 from theupdateframework/develop
Merge from main branch
2016-11-02 14:57:01 -04:00
Artiom Baloian
1bf7ec1135 Moved pycrypto_keys, now it is common 2016-11-02 12:35:02 -04:00
Artiom Baloian
a4dae8e1ff Moved pyca_crypto_keys, now it is common 2016-11-02 11:50:21 -04:00
Artiom Baloian
b0156944bb Moved util.py, now it is common 2016-11-02 09:49:37 -04:00
Artiom Baloian
b793c81739 Added simple_settings, now it is a requirement of TuF.
Rename conf.py into the settings.py an changed import call.
2016-11-01 15:38:40 -04:00
Artiom Baloian
b21ad871b9 Now ed25519_keys.py and hash.py modules are common for
TuF and in-toto
2016-11-01 10:55:23 -04:00
Artiom Baloian
812a85c393 Finish splitinf formats.py file, now there is formats.py for commons
and tufformats which is TuF specific
2016-10-31 20:02:29 -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
Vladimir Diaz
455496a36a Add repository that lists updated role names (all lower case). 2016-10-31 09:08:01 -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
d04811ff0a Fix instances of former format of rolenames and update test_formats.py 2016-10-28 17:33:03 -04:00
Vladimir Diaz
1c51ae173b Begin renaming role names used in _type field 2016-10-28 16:33:36 -04:00
Vladimir Diaz
0ce016b7b1 Merge pull request #389 from vladimir-v-diaz/develop
Fix for repository.status()
2016-10-27 16:57:35 -04:00
Vladimir Diaz
ab35f07583 Unmark dirty role after successful repository.write(rolename) 2016-10-27 16:55:25 -04:00
Vladimir Diaz
0e6e3418d2 Add code coverage for non-dirty roles given to role.db.unmark_dirty() 2016-10-27 16:38:07 -04:00
Vladimir Diaz
0324263988 Verify the changed behavior of status() 2016-10-27 16:30:30 -04:00
Vladimir Diaz
909bd78a5d Fix for status(), where it was causing roles to be dirty and not resetting changes 2016-10-27 16:29:28 -04:00