Commit graph

1210 commits

Author SHA1 Message Date
vladdd
4ef6879d49 Add README.rst 2014-07-15 20:41:18 -04:00
Vladimir Diaz
2e1d2a3ccf Add introductory text to 'Targets' section. 2014-07-10 12:51:00 -04:00
Vladimir Diaz
b0168e4618 Add more text to 'Add Target files' section. 2014-07-10 12:31:12 -04:00
Vladimir Diaz
c586b2fdb4 Add repository creation summary and text to 'Add Targets' section. 2014-07-10 12:06:39 -04:00
Vladimir Diaz
ac2c4a0bc4 Merge branch 'develop' of https://github.com/vladimir-v-diaz/tuf into develop
Conflicts:
	tuf/README.md
2014-07-10 09:53:02 -04:00
Vladimir Diaz
a8981ec927 Add introductory text to 'Delegate to Hashed Bins' section.
Minor textual and organizational edits to README and client_setup_and_repository_example.md.
2014-07-10 09:48:24 -04:00
Vladimir Diaz
8d8544ce4f Update README.md
Fix code block.
2014-07-09 12:50:01 -04:00
Vladimir Diaz
498f9d2b0c Update README.md
Fix heading size, spelling, and organization.
2014-07-09 12:46:41 -04:00
Vladimir Diaz
1408318e21 Add introductory test to 'Create Top-level Metadata' section. 2014-07-09 12:30:29 -04:00
Vladimir Diaz
23f2b93dd5 Fix file paths, organization, and add high-level description.
Separate the consistent snapshots and delegated hashed bins sections in the Table of Contents.
Add leading / to paths listed in the examples.
Add introductory problem description to Consistent Snapshots section.
2014-07-09 10:29:45 -04:00
Vladimir Diaz
be1b921b67 Merge branch 'develop' of https://github.com/vladimir-v-diaz/tuf into develop 2014-07-08 10:12:34 -04:00
Vladimir Diaz
39c6580180 Update README.md
Fix "Create Top-level Metadata" heading that does not match the one in the Table of Contents.
2014-07-08 10:01:59 -04:00
Vladimir Diaz
1e7efba118 Update README.md
Remove obsolete entries from the Table of Contents.
2014-07-08 07:46:15 -04:00
Vladimir Diaz
25dc51a448 Merge branch 'develop' of https://github.com/vladimir-v-diaz/tuf into develop 2014-07-08 07:29:50 -04:00
Vladimir Diaz
39ade7d364 Update README.md
Fix initial repository tool link.
2014-07-07 20:07:02 -04:00
Vladimir Diaz
9e93dab7b8 Update README.md
Fix links.
2014-07-07 20:05:42 -04:00
Vladimir Diaz
e11a87b2ec Update client_setup_and_repository_example.md
Add formatting and reorganize
2014-07-07 19:24:11 -04:00
vladdd
20d5a6b3e4 Fix self.assertTrue() conditions in test_updater.py
A few test conditions in test_updater.py incorrectly used self.assertTrue() instead of self.assertEqual().
Fix updater.remove_obsolete_targets(), where targets in the destination directory were not being removed because target paths were treated as absolute paths by os.path.join().
2014-07-06 22:25:20 -04:00
vladdd
80a3c2deb4 Add links for diagram and client setup example.
Update headings and minor cosmetic edits to style.
2014-07-05 21:13:36 -04:00
Vladimir Diaz
aefb0172cf Merge pull request #233 from vladimir-v-diaz/meskio-filepath
Review and Update Pull Request #232
2014-07-04 18:09:44 -04:00
vladdd
9cf9a6a8b5 Review and update Pull Request #232.
Fix test conditions for updated_targets(), which incorrectly verified the expected number of updated targets with assertTrue().

Update comment for PR fix to clarify os.path.join() behavior and the expected file paths.
2014-07-04 17:50:22 -04:00
vladdd
7746b3f059 Merge branch 'filepath' of https://github.com/meskio/tuf into meskio-filepath 2014-07-04 16:45:00 -04:00
Ruben Pollan
d437964c42 Fix indentation
Indentation is with 2 spaces
2014-07-04 13:38:16 -05:00
Vladimir Diaz
c874abc408 Merge branch 'develop' of https://github.com/theupdateframework/tuf into develop 2014-07-03 09:20:37 -04:00
Vladimir Diaz
c646bedee5 Merge branch 'develop' of https://github.com/vladimir-v-diaz/tuf into develop 2014-07-03 09:20:19 -04:00
Vladimir Diaz
2079ecd5d0 Merge pull request #231 from vladimir-v-diaz/SantiagoTorres-developer-tools
Review and update pull request #188
2014-07-03 08:47:49 -04:00
Vladimir Diaz
2371a70461 Merge branch 'developer-tools' of https://github.com/SantiagoTorres/tuf into SantiagoTorres-developer-tools 2014-07-03 07:39:53 -04:00
Vladimir Diaz
1985c450c9 Merge custom info changes, logger messages, and minor edits. 2014-07-02 11:10:50 -04:00
vladdd
48224f7274 Minor edits to basic_client.py. 2014-07-01 22:59:43 -04:00
Vladimir Diaz
f91ef52e19 Merge branch 'develop' of https://github.com/theupdateframework/tuf into SantiagoTorres-developer-tools 2014-07-01 12:56:49 -04:00
zanefisher
2463cc3cc1 Update README-developer-tools.md 2014-07-01 10:17:48 -04: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
Ruben Pollan
a74a14186b Remove '/' from target filepath
os.path.join ignore previous parameters if one starts with '/'. All
targets start with '/', making updated_targets to try to open a file in
the root folder in case of a unix system.
2014-06-30 14:13:40 -05:00
vladdd
7711649469 Merge branch 'develop' of https://github.com/vladimir-v-diaz/tuf into develop 2014-06-30 14:06:27 -04:00
vladdd
2f520dd140 Review and update pull request #188. 2014-06-30 14:04:01 -04:00
vladdd
fde19957a4 Merge branch 'developer-tools' of https://github.com/SantiagoTorres/tuf into SantiagoTorres-developer-tools 2014-06-30 07:10:56 -04:00
vladdd
7be31965e7 Minor edits. 2014-06-29 21:33:22 -04:00
vladdd
00b4c3500d Add and fix links, move diagram to end, and rename heading. 2014-06-27 20:24:07 -04:00
Vladimir Diaz
09c3ceb993 Update README.md
Add extension to requirements file.
2014-06-26 09:31:09 -04:00
Vladimir Diaz
ae5c1d56df Update README.md
Remove extra whitespace.
2014-06-26 09:29:49 -04:00
Vladimir Diaz
1968191cb8 Update README.md
Add instructions for contributors and minor edits to installation section.
2014-06-26 09:28:09 -04:00
Vladimir Diaz
707d316491 Update README.md
Fix target path variable name in custom data example.
2014-06-25 10:41:56 -04:00
Vladimir Diaz
31fdd2fd79 Merge pull request #230 from vladimir-v-diaz/develop
Implementation of custom FILEINFO and documentation changes to repository_tool.py README
2014-06-25 10:30:56 -04:00
Vladimir Diaz
5d766d3d6f Review and update docstrings and README. 2014-06-25 09:45:55 -04:00
Vladimir Diaz
21cbaf8f63 Update README.md
Add example for accessing fileinfo and custom data of target objects.
2014-06-25 09:01:06 -04:00
Vladimir Diaz
2e3f6fb096 Update README.md
Add example of custom data included with repository.targets.add_target()
2014-06-25 08:43:52 -04:00
Vladimir Diaz
528e33dd77 Add test condition for custom data in test_updater.py.
The updater client may reference target information (including 'custom') by accessing the dictionary returned by updater.py.

Example:
target = updater.target('LICENSE.txt')
target['filepath']
target['fileinfo']['length']
target['fileinfo']['hashes']
target['fileinfo']['custom']
2014-06-24 10:31:05 -04:00
Vladimir Diaz
337c9f9ffc Regenerate '/tests/repository_data/' to include example of custom data. 2014-06-24 10:17:14 -04:00
Vladimir Diaz
f6a9b7fc58 Verify that generated Targets metadata can contain custom data. 2014-06-24 09:38:47 -04:00
Vladimir Diaz
d5c56e550d Add test condition for repository_tool.Target().add_target() custom data. 2014-06-24 08:58:29 -04:00