Vladimir Diaz
4a9e5f1b9a
Update util.py
...
Expand comment for the flush() and os.fsync() calls in util.move().
2016-09-01 09:39:53 -04:00
Vladimir Diaz
2382dadd3b
Merge pull request #365 from julianhille/feature/fix_sync_issues
...
Fixes data loss on unplug the power on download files. If we would no…
2016-09-01 09:32:30 -04:00
Vladimir Diaz
dbc63770ed
Merge pull request #367 from julianhille/ignore_json_load_error
...
Handles broken metadata files gracefully like they would be missing. …
2016-09-01 09:24:46 -04:00
Vladimir Diaz
98c386083a
Improve code coverage for pyca_crypto_keys.py (functions for encrypted PEMs)
2016-08-31 16:11:07 -04:00
Vladimir Diaz
2a0365d332
Add test cases for _decrypt() and encrypt_key()
2016-08-31 16:09:00 -04:00
Vladimir Diaz
37dcfba999
Improve test coverage for keys.py and pyca_cryptography.py
2016-08-31 15:20:02 -04:00
Vladimir Diaz
f5cfe163b6
Update updater.py
...
Add missing text in comment.
2016-08-31 14:45:08 -04:00
Vladimir Diaz
a3c482691c
Add code coverage for pyca_cryptography via keys.py
2016-08-31 13:38:00 -04:00
Vladimir Diaz
5e2d177f4d
Add test case for _load_top_level_metadata() and debug statements to missing else clauses
2016-08-30 17:09:03 -04:00
Vladimir Diaz
c369329d93
Log debug messages for missing else statements and cover branch case in _delete_obsolete_metadata()
2016-08-30 10:56:07 -04:00
Vladimir Diaz
d4fc091da5
Add test case for newly-added tuf.roledb.mark_dirty()
2016-08-29 11:42:19 -04:00
Julian Hille
e80f352259
Handles broken metadata files gracefully like they would be missing. Should be part of #366
2016-08-29 16:51:10 +02:00
Vladimir Diaz
6ec7197002
Fix issues with writting non-dirty'd consistent snapshots
...
Improve coverage for _delete_obsolete_metadata()
2016-08-26 16:42:21 -04:00
Vladimir Diaz
5f358e7300
Fix list of scripts in setup.py
2016-08-26 16:38:59 -04:00
Julian Hille
3cdfe630d2
Fixes data loss on unplug the power on download files. If we would not fsync here and update a metadata and then unplug power we lose data.
2016-08-26 12:02:24 +02:00
Vladimir Diaz
f6ec7fb578
Remove _delete_obsolete_metadata() from developer_tool.py and update MANIFEST.in to list scripts.
2016-08-25 14:34:36 -04:00
Vladimir Diaz
f9e22f0b36
Add function to mark roles as dirty and update setup.py to list tuf.py
2016-08-25 14:22:31 -04:00
Vladimir Diaz
e17550873f
Create scripts directory. Store basic_client.py and tuf.py (CLI).
2016-08-25 14:19:19 -04:00
Vladimir Diaz
158f452b1b
Create new folder
...
Add a `proposals` folder to keep track of changes made to specification.
2016-08-25 14:09:31 -04:00
Vladimir Diaz
1bb4387656
Add CLI tool. The repository tool functions remain to be called.
2016-08-25 10:40:15 -04:00
Vladimir Diaz
fbd901422f
Update tuf-spec.txt
...
Address issue #364 . The specification includes examples of metadata with version numbers listed, but the description of snapshot.json does not. The `custom` field is listed only in targets metadata.
2016-08-25 07:02:00 -04:00
Vladimir Diaz
0608571f20
Merge branch 'develop' of github.com:theupdateframework/tuf into develop
2016-08-24 14:40:01 -04:00
Vladimir Diaz
af17421709
Merge pull request #363 from akanbrown/patch-1
...
Update README.rst
2016-08-23 10:24:02 -04:00
Akan Brown
1792d8055a
Update README.rst
2016-08-22 16:15:11 -04:00
Akan Brown
63277f4839
Update README.rst
2016-08-22 16:13:29 -04:00
Vladimir Diaz
0dac8e7b19
Update tuf-spec.txt
...
Move text explaining where delegated roles live on the repository
2016-08-22 15:23:19 -04:00
Vladimir Diaz
0673eb6ac5
Test coverage for _delete_obsolete_metadata()
2016-08-18 08:26:53 -04:00
Vladimir Diaz
6797db9d25
Finish coverage for sign_metadata() and generate_targets_metadata()
2016-08-17 09:55:25 -04:00
Vladimir Diaz
abbda071a1
Test for invalid keytype in sign_metadata()
2016-08-16 14:32:04 -04:00
Vladimir Diaz
d312e3eeaf
Compare all digest (and cover remaining lines of write_metadata_file())
2016-08-16 13:11:48 -04:00
Vladimir Diaz
90477a0517
Cover remaining test cases of _write_compressed_metadata() and remove code related to prepended digests
2016-08-16 12:20:28 -04:00
Vladimir Diaz
47d94c6fc4
Fix exception raised in _write_compressed_metadata()
2016-08-16 10:40:34 -04:00
Vladimir Diaz
4e8e8dca7f
Try to hit more lines of _write_compressed_metadata()
2016-08-15 17:13:18 -04:00
Vladimir Diaz
f4941a2f4e
Add whitespace in generate_root_metadata()
2016-08-15 14:32:06 -04:00
Vladimir Diaz
de63311a0c
Reference global temporary directory variable by correct name
2016-08-15 14:29:56 -04:00
Vladimir Diaz
c8ffd6f8b1
Write 'interposition.json' to temporary location so that it gets auto-removed after testing
2016-08-15 14:26:50 -04:00
Vladimir Diaz
2380499029
Coverage for remaining lines of _log_status_of_top_level_roles()
2016-08-15 14:05:05 -04:00
Vladimir Diaz
2ef5f3eb68
Add test case for _write_compressed_metadata()
2016-08-15 14:02:10 -04:00
Vladimir Diaz
53b16aefd1
Update tuf-spec.txt
...
All delegated metadata is stored in one flat directory.
2016-08-09 15:02:14 -04:00
Vladimir Diaz
b17bd8b9ea
Merge pull request #359 from akanbrown/patch-5
...
Update README.md
2016-08-09 14:03:17 -04:00
Akan Brown
ad6a5fd6d1
Update README.md
...
Are users supposed to run ``import tuf.client.updater.py`` or ``import tuf.client.updater`` ? It seems a bit confusing.
2016-08-09 13:06:47 -04:00
Vladimir Diaz
fae81f6be1
Update README.rst
2016-08-08 11:40:25 -04:00
Vladimir Diaz
30e7a38f5b
Merge pull request #354 from titanous/patch-1
...
Use HTTPS links in spec
2016-08-08 11:33:45 -04:00
Jonathan Rudenberg
03a5cc4b36
Use HTTPS links in spec
2016-08-08 11:32:00 -04:00
Vladimir Diaz
8faf32ef37
Update dev-requirements.txt
2016-08-08 11:29:21 -04:00
Vladimir Diaz
7b26dee8de
Merge pull request #353 from titanous/patch-1
...
Fix Thandy link
2016-08-08 11:28:53 -04:00
Jonathan Rudenberg
eac88eb3e8
Fix Thandy link
2016-08-08 11:19:38 -04:00
Vladimir Diaz
971ebf4105
Update README.rst
...
Replace PHP's PEAR with Composer.
2016-08-08 10:39:10 -04:00
Vladimir Diaz
5f7dc52fa4
Merge pull request #352 from vladimir-v-diaz/support_wildcards_in_trusted_paths
...
Support Unix shell-style wildcards in trusted paths
2016-08-05 15:53:40 -04:00
Vladimir Diaz
74847e0eb5
Merge pull request #351 from vladimir-v-diaz/fix_test_download_target
...
Fix remaining unit test failure for test_updater.py
2016-08-05 15:53:33 -04:00