-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TUF Python Client Example/Tutorial #1675
TUF Python Client Example/Tutorial #1675
Commits on Dec 3, 2021
-
WIP: TUF Python Client Example/Tutorial
It is a simple example of TUF ngclient implementation. This example contains a README.rst that is a tutorial/how-to-use this simple client using static test data from TUF repository. The code aims to be straightforward implementation, using basic concepts from Python and Command Line Interface. This is part of theupdateframework#1518 Signed-off-by: Kairo de Araujo <[email protected]>
Kairo de Araujo committedDec 3, 2021 Configuration menu - View commit details
-
Copy full SHA for ffe2c11 - Browse repository at this point
Copy the full SHA ffe2c11View commit details -
- Added the lint to examples - README format moved from Restructuredtext to Markdown - Removed the [INFO] and [ERROR] from output, to avoid confundint with logging structure Signed-off-by: Kairo de Araujo <[email protected]>
Kairo de Araujo committedDec 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 9b4fcdb - Browse repository at this point
Copy the full SHA 9b4fcdbView commit details -
Implement a combination of print and logging
Using ``print`` for high-level client output Option to see ``tuf.ngclient`` logging output Update the README. Signed-off-by: Kairo de Araujo <[email protected]>
Kairo de Araujo committedDec 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 46629c4 - Browse repository at this point
Copy the full SHA 46629c4View commit details -
Add a simple example handling TUF exceptions.
To highlight TUF ngclient exceptions. Signed-off-by: Kairo de Araujo <[email protected]>
Kairo de Araujo committedDec 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 4c5581a - Browse repository at this point
Copy the full SHA 4c5581aView commit details -
Removes the Python Client Example as WIP
This commit adds many comments from the WIP stage Signed-off-by: Kairo de Araujo <[email protected]>
Kairo de Araujo committedDec 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 4c37f1b - Browse repository at this point
Copy the full SHA 4c37f1bView commit details -
Single error handling for updater
To simple exemplify, the updater calls are added to a single block that handles the exceptions Signed-off-by: Kairo de Araujo <[email protected]>
Kairo de Araujo committedDec 3, 2021 Configuration menu - View commit details
-
Copy full SHA for ca13d05 - Browse repository at this point
Copy the full SHA ca13d05View commit details -
Simplify README, fix some flows and output
- Simplify README and better keywords - Fix the verbosity - Better docstrings - Client flow for init and main are clear Signed-off-by: Kairo de Araujo <[email protected]>
Kairo de Araujo committedDec 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 183223e - Browse repository at this point
Copy the full SHA 183223eView commit details -
This commit fixes the verbosity (-v) levels.
without -v is ERROR logging, -v WARNINGS logging, -vv INFO logging and -vvv (+) DEBUG logging. Signed-off-by: Kairo de Araujo <[email protected]>
Kairo de Araujo committedDec 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 1344410 - Browse repository at this point
Copy the full SHA 1344410View commit details