for errors that use calculated error messages (like
ReplayedMetadataError).
Do this by adding __repr__() functions to the contained errors.
Additionally:
- adds repr funcs to some other exceptions that have str funcs
- fixes some minor style issues
- for reviewers, adds commented-out direct-reproduction code
to the repr() funcs.
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
at the very top of the README.
and:
- note that this implementation is intended to conform to version
1.0 of the TUF specification
- draw some distinctions between the TUF design and this ref impl.
- turn the older blurb about TUF into an About-TUF section
- expand that blurb with a link to both an introduction in the repo
and the TUF website
- make the documentation links a bit more explicit
- shuffle some graphical elements for better appeal
- minor changes like extending some link text
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
and note that if errors occur while installing the optional
crypto dependencies, that the non-Python dependencies section
should be consulted.
Also adds a git clone step to the development installation
instructions in the contributors' instructions, and other
minor installation notes for contributors.
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
Update astroid from 2.0.4 to 2.2.5
Update cffi from 1.11.5 to 1.12.2
Update cffi from 1.11.5 to 1.12.2
Update configparser from 3.5.0 to 3.7.4
Update cryptography from 2.4.2 to 2.6.1
Update cryptography from 2.4.2 to 2.6.1
Update isort from 4.3.4 to 4.3.16
Update pbr from 5.1.1 to 5.1.3
Update pluggy from 0.8.0 to 0.9.0
Update py from 1.7.0 to 1.8.0
Update pylint from 2.1.1 to 2.3.1
Update pyyaml from 4.2b1 to 5.1
Update stevedore from 1.30.0 to 1.30.1
Update tox from 3.5.3 to 3.8.6
Update virtualenv from 16.1.0 to 16.4.3
Update wrapt from 1.10.11 to 1.11.1
Update certifi from 2018.11.29 to 2019.3.9
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
- correctly frame the CLI's current state as a tutorial toy.
- provide a friendlier quickstart that puts what it's doing into
perspective and guides you to next steps.
- provide a better sense of what each tutorial/quickstart doc is
for.
- make the getting started page slightly more friendly.
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
Raise an error if it's not a schema.Object instance (not just
if it's not a schema.Schema instance).
Also adds a test for this.
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
May the Python gods forgive me for having three different
names with the same names and different casing on one line....
Perhaps I should address the import module as....
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>