Vladimir Diaz
1c8f41b0c0
Update import statements of unvendored dependencies
2015-06-02 08:29:22 -04:00
Vladimir Diaz
7d91e6e225
Add docstring header to __init__.py and TODOs
2015-02-06 14:49:27 -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
705d396dff
Review and make minor edits to __init__.py
2015-01-30 11:33:07 -05:00
Pankhuri Goyal
750b9b3bea
Changes in error name in tuf.interposition.__init__
2014-08-01 13:40:08 -04:00
Pankhuri Goyal
97d88d29c2
Removed the repeated sentences in comments in tuf.interposition.__init__
2014-07-31 18:32:02 -04:00
Pankhuri Goyal
da7a8faa49
Few changes in tuf.interposition.__init__
...
Made few changes after adding InvalidConfiguration Exception into tuf.__init__
Also made changes in comments
2014-07-31 18:24:44 -04:00
Pankh
0cda6d3d22
Add purpose and comments to interposition/updater.py
2014-07-10 18:56:47 -04:00
Vladimir Diaz
04221d3f0d
Address issue #163 .
...
Changed behavior:
Write metadata only if the uncompressed version has not been written, has changed, or if
compressed versions are missing (if requested). Not only is re-saving unmodified metadata not ideal, it also forces a new version of the release file if compressed metadata is rewritten. gzip attaches a timestamp to compressed files, which may cause compressed content to generate different digests if independently written.
Update libtuf.py comments.
Minor edit to docstrings of previous commit that addressed interposition issues.
2014-01-13 09:34:21 -05:00
Vladimir Diaz
b73393c214
Resolve issues #149 and #155 .
...
Move 'tuf.client.updater.Updater.refresh()' call in interposition to its updater's __init__(). The refresh() was previously executed on every target request.
Add tuf.interposition.refresh() for integrations that may require a manual refresh of top-level metadata (rare).
2014-01-09 09:48:37 -05:00
dachshund
3ec3b8bc05
Return interposition configurations.
2013-08-12 19:18:54 -04:00
dachshund
e76454b4ed
Allow deconfiguration of interposition.
2013-07-01 15:59:15 +08:00
dachshund
be1a52c159
Better error logging.
2013-03-14 20:42:31 -04:00
dachshund
2828deb6f6
Do not intercept non-GET HTTP requests ( #34 ); needs review.
2013-03-12 23:41:24 -04:00
dachshund
0c072e47f2
Follow Seattle coding style.
2013-03-08 20:46:17 -05:00
dachshund
53a573648c
More explicit method of interposing as the urllib modules; fixes issue #28 .
2013-03-08 20:09:17 -05:00
dachshund
a1bfde4893
Follow Seattle coding style.
2013-03-08 18:29:20 -05:00
dachshund
3c70103174
Better modularization of Updater.
2013-03-07 17:53:48 -05:00
dachshund
2d0062f9e1
Modularization of configuration parser.
2013-03-06 23:19:18 -05:00
dachshund
31b97634b4
Allow users to require SSL certificate verification during interposition.
2013-03-04 19:54:41 -05:00
dachshund
1cd22baab5
Import a (missed) class.
2013-03-04 13:05:34 -05:00
dachshund
033a573819
Paranoid checks of configurations in order to prevent interposition cycles.
2013-03-04 13:01:52 -05:00
dachshund
8281d3b9dc
Double check network location during updates.
2013-03-04 10:51:36 -05:00
dachshund
e5ba4385fd
Documentation stub.
2013-03-04 01:42:15 -05:00
dachshund
b1cf9538ec
Better modules for interposition.
2013-03-04 00:43:02 -05:00