Commit graph

3274 commits

Author SHA1 Message Date
Sebastien Awwad
c6900963f5
Merge pull request #770 from theupdateframework/update_dependencies_2018_08
(WIP) Update dependencies 2018 08
2018-08-15 10:50:19 -04:00
pyup-bot
3602d61321
Update dependencies pinned in dev-requirements
Update astroid from 1.6.5 to 2.0.4
Update cryptography from 2.2.2 to 2.3
Update cryptography from 2.2.2 to 2.3
Update gitdb2 from 2.0.3 to 2.0.4
Update gitpython from 2.1.10 to 2.1.11
Update pbr from 4.0.4 to 4.2.0
Update pluggy from 0.6.0 to 0.7.1
Update py from 1.5.3 to 1.5.4
Update pylint from 1.9.2 to 2.1.1
Update pyyaml from 3.12 to 3.13
Update smmap2 from 2.0.3 to 2.0.4
Update stevedore from 1.28.0 to 1.29.0
Update tox from 3.0.0 to 3.2.1

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-08-14 17:18:54 -04:00
Vladimir Diaz
0ca83355e8
Merge pull request #762 from vladimir-v-diaz/update_getting_started
Update GETTING_STARTED.rst, CLI.md, and CLI_EXAMPLES.md
2018-06-28 17:45:44 -04:00
Vladimir Diaz
3c04c15150
Remove the notes about the doc being a work in progress in CLI.md and CLI_EXAMPLES.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-28 17:36:03 -04:00
Vladimir Diaz
dc63c07f42
Update GETTING_STARTED.rst
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-28 17:30:16 -04:00
Vladimir Diaz
edd2c78454
Merge pull request #761 from vladimir-v-diaz/revise_repo.py
Revise repo.py to address reviewer comments
2018-06-28 14:47:56 -04:00
Vladimir Diaz
8b42ea07d7
Update CLI_EXAMPLES.md with change to client.py and UnknownTargetError
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-28 12:56:53 -04:00
Vladimir Diaz
e42874db46
Catch tuf.exceptions.Error in client.py to prevent printing exception trace
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-28 12:38:55 -04:00
Vladimir Diaz
a300122978
Reorder the parsed command-line arguments and add missing options to docstring
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-28 12:37:54 -04:00
Vladimir Diaz
02d9980b10
Minor edits to text in CLI.md and CLI_EXAMPLES.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-28 12:14:40 -04:00
Vladimir Diaz
d24f826009
Condense the code that sets the logging level
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-28 11:51:19 -04:00
Vladimir Diaz
56aa91239b
Use guard clause and comment on expected exceptions raised by try block
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-28 11:34:59 -04:00
Vladimir Diaz
839c646204
Convert lists to sets, use == instead of membership operator, remove unneeded write()
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-28 11:02:36 -04:00
Vladimir Diaz
16071e0421
Use set() instead list() for supported key types, and revise comment
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 17:58:38 -04:00
Vladimir Diaz
609889fa24
Use guard clause and set a constant for the list of supported CLI key types
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 17:44:28 -04:00
Vladimir Diaz
5e94dd3f08
Use consistent number of blank lines between functions
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 17:28:47 -04:00
Vladimir Diaz
8a7e0fc4b0
Add constants for the keytypes specified on the command line
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 16:54:32 -04:00
Vladimir Diaz
52ed7a2a04
Add note about using multile options in invocation, and add TODO
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 16:06:10 -04:00
Vladimir Diaz
725d809c65
Rename process_arguments() and revise docstring, remove TODO, minor changes
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 15:42:03 -04:00
Vladimir Diaz
c19147e29d
Merge pull request #760 from vladimir-v-diaz/revise_CLI_EXAMPLES.md
Revise CLI_EXAMPLES.md
2018-06-27 14:56:01 -04:00
Vladimir Diaz
6bf8a95a71
Minor edits to relocate text and introduction
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 14:48:31 -04:00
Vladimir Diaz
3d88d8bde1
Remove obsolete text in the 'Clean' section of CLI.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 14:31:00 -04:00
Vladimir Diaz
d3c0852495
Outline the steps for the second example
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 14:30:16 -04:00
Vladimir Diaz
bccba83f96
Add introductory text, rename headings, change title
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 14:15:11 -04:00
Vladimir Diaz
c0224007e1
Merge branch 'develop' into revise_CLI_EXAMPLES.md 2018-06-27 13:50:23 -04:00
Vladimir Diaz
db7b9bd403
Include steps being follows and revise text in 'Replace a top-level key'
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 13:47:23 -04:00
Vladimir Diaz
58a00d6b8b
Add missing command to create key_x and key_x2
Add blank lines between commands to help readability

Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 13:33:19 -04:00
Vladimir Diaz
dceb6bcc9b
Rename the keys and metadata for role X and Y
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 13:22:31 -04:00
Vladimir Diaz
c8433b4834
Merge pull request #759 from vladimir-v-diaz/revise_CLI.md
Revise CLI.md to address reviewer comments
2018-06-27 11:48:50 -04:00
Vladimir Diaz
46a624f897
Revise 'clean' section, modify a couple headings, and minor tweaks to text
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 11:21:35 -04:00
Vladimir Diaz
b8bec7be7d
Relocate the --sign section, add line breaks, and minor revision to text
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-27 10:40:40 -04:00
Vladimir Diaz
a50256b1c0
Merge pull request #758 from vladimir-v-diaz/address_CLI_quickstart_review
Revise QUICKSTART.md to address reviewer's comments
2018-06-27 10:06:54 -04:00
Vladimir Diaz
473a0b0c12
Add a couple line breaks to help break apart the main text
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-26 17:21:07 -04:00
Vladimir Diaz
97021b4e16
Revise help description for --init
It should mention the files/directories that are created.

Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-26 17:20:33 -04:00
Vladimir Diaz
1c3d1ee302
Revise QUICKSTART.md to capture more of what happens in the background
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-26 17:07:33 -04:00
Vladimir Diaz
40289f0b55
Merge pull request #756 from vladimir-v-diaz/add_installation_note_quickstart
Add installation instructions to CLI.md and QUICKSTART.md
2018-06-26 13:32:21 -04:00
Vladimir Diaz
1133bb4ce4
Revise instructions in QUICKSTART.md to remove unnecessary info
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-26 13:26:38 -04:00
Vladimir Diaz
3f82734504
Revise instructions in CLI.md to remove typo and unnecessary info
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-26 13:25:50 -04:00
Vladimir Diaz
cb4b95137f
Add installation instructions to QUICKSTART.md for required dependencies
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-25 11:53:59 -04:00
Vladimir Diaz
f16784c67f
Add installation instructions to CLI.md for required dependencies
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-25 11:53:29 -04:00
Vladimir Diaz
b1abaf890a
Merge pull request #755 from vladimir-v-diaz/update_tutorial
Update TUTORIAL.md and behavior when importing/writing crypto keys
2018-06-21 15:53:28 -04:00
Vladimir Diaz
6ae7eb42ce
Revise text to cover new password behavior of securesystemslib
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-21 15:02:19 -04:00
Vladimir Diaz
4ee3537d6d
Prompt for password if one isn't given and the key file is encrypted
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-21 14:58:36 -04:00
Vladimir Diaz
1197ab9cf8
Make sure importing a private key follows the behavior covered in TUTORIAL.md
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-21 13:58:19 -04:00
Vladimir Diaz
fbc02d3034
Use a working example in the overview section
Some users will actually attempt to execute the example listed in the overview section.  Use a working example that doesn't raise an error.

Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-21 11:19:59 -04:00
Vladimir Diaz
965e121148
Update text covering the client update
* The client script is now named 'client.py' and the user is no longer required to manually copy the basic_client.py to the CWD
* A log file is not saved to the CWD, by default
* The client.py script doesn't download all target files available on the repo.

Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-21 11:07:16 -04:00
Vladimir Diaz
0e833cbab3
Merge pull request #754 from vladimir-v-diaz/render_markdown_pypi-issue#753
Set long description content type in setup.py.  Fix issue #753
2018-06-21 10:02:03 -04:00
Vladimir Diaz
9acab4b6bc
Add long_description_content_type to setup.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-20 17:52:34 -04:00
Vladimir Diaz
8152483f93
Include correct README in MANIFEST.in
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-06-20 17:50:41 -04:00
Vladimir Diaz
b74fc17afa
Merge pull request #752 from vladimir-v-diaz/add_v0.11.1_roadmap
Update ROADMAP.md
2018-06-20 11:20:25 -04:00