Commit graph

850 commits

Author SHA1 Message Date
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
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
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
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
707d316491 Update README.md
Fix target path variable name in custom data example.
2014-06-25 10:41: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
d5c56e550d Add test condition for repository_tool.Target().add_target() custom data. 2014-06-24 08:58:29 -04:00
vladdd
88d686b258 Initial implementation of custom FILEINFO 2014-06-23 13:33:01 -04:00
vladdd
4e3b40cd95 Minor edits to repository_tool.py. 2014-06-22 20:01:28 -04:00
vladdd
a370c1e93b Add links and Python prompts. 2014-06-21 20:18:46 -04:00
Santiago Torres
26eb5b7e35 Added relative filepath support and increased coverage
After seeing the coveralls report I realized the projects were not
relocatable. While this might be convenient for some uses, moving a
project from one place to another might not be optimal. This has been
changed now.

The only place where absolute filepaths are handled now is with flat
project layouts. However, it is possible to overwrite this filepath if
the targets folder is to be changed.
2014-06-21 19:07:34 -04:00
vladdd
136b45ab7d Reorder load_signing_key() calls.
The Targets section of the README separated import_rsa_privatekey_from_file() from load_signing_key().  To improve readability, reorder them so that load_signing_key() calls come immediately after the key import method calls.
2014-06-20 21:28:00 -04:00
Santiago Torres
d6cfb467e7 Merge branch 'developer-tools' of github.com:SantiagoTorres/tuf into developer-tools 2014-06-20 19:40:05 -04:00
Santiago Torres
91579e9c15 Fixed developer tools to match the new repository_lib file
As of the current version, some functions that were provided by the
repository_tool have been moved to the repository_lib module. This
commit fixes those conflicts
2014-06-20 19:38:13 -04:00
Santiago Torres
915f07a88a Merge branch 'develop' of github.com:theupdateframework/tuf into developer-tools 2014-06-20 17:35:17 -04:00
vladdd
c22a3a5307 Fix expected format of the 'method_name' argument. 2014-06-18 15:17:38 -04:00
Vladimir Diaz
9a90a808e9 Update comments and add missing docstrings in PR #216.
Update add_target_to_bin() and remove_target_from_bin().
2014-06-18 12:39:01 -04:00
Vladimir Diaz
fd60208782 Merge branch 'remove_target_from_bin' of https://github.com/dachshund/tuf into dachshund-remove_target_from_bin 2014-06-18 09:22:42 -04:00
Vladimir Diaz
49a3a4990b Fix comment / typo in unsafe_download() test condition 2014-06-18 09:06:49 -04:00
Vladimir Diaz
6dafddc10f Add test case for https connection. 2014-06-17 10:28:56 -04:00