Commit graph

1325 commits

Author SHA1 Message Date
Vladimir Diaz
e5492dcf7b Merge pull request #264 from vladimir-v-diaz/review-pankh-interposition
Review interposition PR #254
2015-02-09 20:58:03 -05:00
Vladimir Diaz
4bcfead253 Review remainder of updater.py 2015-02-09 20:08:38 -05:00
Vladimir Diaz
a0ab601b7f Review up to download_target() 2015-02-09 16:04:40 -05:00
Vladimir Diaz
daf0d561b2 Review & edit updater.py up to __init__() 2015-02-06 14:55:01 -05:00
Vladimir Diaz
fc80976fc4 Remove extraneous closing parenthesis 2015-02-06 14:51:57 -05:00
Vladimir Diaz
7d91e6e225 Add docstring header to __init__.py and TODOs 2015-02-06 14:49:27 -05:00
Vladimir Diaz
623820c6ac Cosmetic edits to test_interpose_updater.py 2015-02-05 15:24:43 -05:00
Vladimir Diaz
fdbc4e98a8 Cosmetic edits to updater.py 2015-02-05 14:22:25 -05:00
Vladimir Diaz
e2a4d9fe2c Test interposition with real example and fix issues encountered
Fix issues with 'configuration' variable name and incorrect reference to 'six.moves.urllib.request.Request'.
2015-02-05 14:22:01 -05:00
Vladimir Diaz
948b596fc7 Do not use logging.warn() - deprecated in Python 3 2015-02-04 17:55:30 -05:00
Vladimir Diaz
90a283d589 Add initial Python 2+3 compatibility 2015-02-04 17:45:24 -05:00
Vladimir Diaz
1d6f997e55 Do not capitalize the 'logger' variable name 2015-02-02 10:03:02 -05:00
Vladimir Diaz
cb06aee960 Reviewed and edits configuration.py
Add missing docstring labels (to be fully populated in a future pull request that includes unit tests and that validates arguments.
Add missing header block.
Renamed 'Logger' object to 'logger, to be consistent with the rest of the modules.
Minor formatting edits.
2015-01-30 14:05:56 -05:00
Vladimir Diaz
9887bb976d Re-add option 2 example of interposition 2015-01-30 11:37:25 -05:00
Vladimir Diaz
705d396dff Review and make minor edits to __init__.py 2015-01-30 11:33:07 -05:00
Vladimir Diaz
2efe923c8d Edit interposition text 2015-01-29 17:18:58 -05:00
Vladimir Diaz
6be5ce8c08 Edit the docstrings of the interposition Exceptions
Modified the docstrings of interposition's Exception classes to be less specific.
2015-01-28 15:28:00 -05:00
Vladimir Diaz
dbd7e27d69 Fix for issue #260
Fixed the typographical errors in SECURITY.md reported by @hartwork.

Thank you for the suggestions, Sebastian.
2015-01-25 18:42:02 -05:00
Vladimir Diaz
e4ff6ce34e Merge pull request #257 from hellais/patch-1
Minor typo fixes
2015-01-05 10:20:46 -05:00
Arturo Filastò
db0ba6d0f1 Minor typo fixes 2015-01-02 14:42:33 +01:00
Vladimir Diaz
4c4286cc63 Merge branch 'develop' of https://github.com/Pankh/tuf into Pankh-develop 2014-12-15 12:54:33 -05:00
Pankh
ee1331205e Add tuf.interposition.refresh in tuf.interposition.README.md 2014-11-10 13:57:47 -05:00
Pankh
c0f1936faf Add tuf.interposition.refresh in tuf.interposition.README.md 2014-11-10 13:52:36 -05:00
Pankh
045e7c4bcd Remove unnecessary explanation from README.md 2014-10-22 14:52:22 -04:00
Pankh
f6e0fecf07 Add header to test_interpose_updater 2014-10-22 14:44:31 -04:00
Pankh
6f9f4ef302 Merge branch 'develop' of https://github.com/theupdateframework/tuf into develop 2014-10-22 14:34:51 -04:00
Vladimir Diaz
f61f058a7b Merge pull request #251 from SantiagoTorres/revise-develooper-tool-doc
Updated spelling and code examples for consistency
2014-10-09 15:12:18 -04:00
Pankh
b843684aee To merge the updates of Master branch 2014-09-29 14:45:24 -04:00
Pankh
7f64aad061 Test cases for tuf.interposition.updater with 98% coverage 2014-09-29 14:34:11 -04:00
Pankh
a2928d60b2 Exceptions updater in tuf.interposition.updater 2014-09-29 14:21:12 -04:00
Santiago Torres
8382bf5576 Updated spelling and code examples for consistency
README-developer-tools had a minor spelling mistake. I also ran the code
examples step by step to ensure they could be ran as-is.
2014-09-23 11:45:07 -04:00
Vladimir Diaz
3c9b1d0068 Add missed test coverage for updater.py's init().
Add test condition for missing previous directory in init().
2014-09-02 14:46:36 -04:00
Vladimir Diaz
f649749e10 Add whitespace to logger strings in updater.py and keydb.py 2014-09-02 14:36:44 -04:00
Vladimir Diaz
25440ecd95 Fix white space in 'tuf/client/updater.py'. 2014-08-20 13:00:53 -04:00
Vladimir Diaz
419b1ca85e Log debug message for roles that are skipped in util.find_delegated_role(). 2014-08-20 12:27:06 -04:00
Vladimir Diaz
42a89063d3 Ignore coverage files stored in 'htmlcov/*'. 2014-08-20 12:24:54 -04:00
Vladimir Diaz
5b09f56b9a Merge pull request #248 from vladimir-v-diaz/develop
Properly load the paths of nested delegations.
2014-08-20 10:29:11 -04:00
Vladimir Diaz
0952cd7760 Properly load the paths of nested delegations.
Fix issue reported by Andrew: load_repository() fails to load the paths of nested delegations.
2014-08-20 09:49:57 -04:00
Vladimir Diaz
76f74bbfe8 Merge pull request #247 from vladimir-v-diaz/develop
Disable the 'iso8601' logger.
2014-08-20 08:35:49 -04:00
Vladimir Diaz
f5588e4fa0 Disable 'iso8601' logger.
Disable 'iso8601' logger messages so that the log file only contain TUF-related messages.
2014-08-20 07:52:24 -04:00
Vladimir Diaz
7e67e8a9d1 Merge pull request #246 from vladimir-v-diaz/develop
Fix default console log level so that status() prints INFO-level messages
2014-08-19 17:47:19 -04:00
Vladimir Diaz
68b3344368 Fix default console log level so that status() prints INFO-level messages.
The default log level was switched to WARNING but prevents status() from printing messages as expected.
Modify the log level of 'Saving <role>.json' message so that it doesn't clog status().
Thank you @hrdarji for testing the documentation and reporting the non-printing behavior of status().
2014-08-19 15:20:59 -04:00
Vladimir Diaz
1a8080ef6d Merge pull request #245 from vladimir-v-diaz/develop
Address issue #244.
2014-08-11 12:23:21 -04:00
Vladimir Diaz
38005fe2ab Address issue #244.
Fix issue where hash algorithm name is prepended to the consistent snapshot filename.  The actual hash value should be prepended instead.
2014-08-07 16:02:35 -04:00
Pankhuri Goyal
1a5a746df2 Add purpose to tuf.interposition.README 2014-08-04 17:24:42 -04:00
Pankhuri Goyal
ccaa3ad648 Add purpose to tuf.interposition.README 2014-08-04 17:18:39 -04:00
Pankhuri Goyal
a514546187 Docstrings of tuf.interposition.updater completed 2014-08-04 16:18:53 -04:00
Pankhuri Goyal
1f9d7e6a70 Add exceptions to the methods of tuf.interposition.updater.Updater 2014-08-04 16:07:53 -04:00
Pankhuri Goyal
2a83d83ad7 Extend purpose of tuf.interposition.updater and change format style of Logger
format in Logger is changed to 'msg'+repr()
2014-08-04 14:18:43 -04:00
Pankhuri Goyal
56b942a341 Changes in the error name in tuf.__init__ 2014-08-01 13:46:26 -04:00