You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
doc: consider re-adding a "quickstart" document #1797
Description of issue or feature request: #1790 removes QUICKSTART.md because it is severely outdated. The new client and repo examples should be a good replacement to quickly get users familiar with python-tuf and are also easy to discover (e.g. via main README and main menu on RTD).
Still, there might be merit in better framing these examples or adding additional examples as a "quick start"-documentation (note: this is also a silver criteria for the cii badgeapp).
Current behavior:
no explicit "quick start" documentation
Expected behavior:
consider adding quick start documentation or better frame existing documentation
Also, we should keep in mind that we have the examples/ folder with some great examples.
I think we would need a quickstart document if we are going to showcase the usage of a TUF CLI.
I see that in examples/client.py we do provide a CLI for the client.
Maybe a small QUICKSTART.md document showcasing how to use the examples/client.py CLI and a reference to the examples/basic_repo.py could be enough.
Also, we should keep in mind that we have the examples/ folder with some great examples. I think we would need a quickstart document if we are going to showcase the usage of a TUF CLI. I see that in examples/client.py we do provide a CLI for the client. Maybe a small QUICKSTART.md document showcasing how to use the examples/client.py CLI and a reference to the examples/basic_repo.py could be enough.
Exactly! That's what I meant with "...or better frame existing documentation"
Hello @lukpueh, I would like to work on this issue.
I have checked the previous quickstart guide we had and got an idea of it. I see we already have Installation guide, so it is just enough to refer to this page, isnt it?
For outline of quickstart page, considering beginner audience as my target audience, I have following in my mind -
Quickstart with TUF
1. Introduction to TUF
Brief explanation of what TUF is and its purpose
Mention the security benefits it provides (e.g., resilience against key compromises, prevention of mix-and-match attacks)
2. Installing TUF
(link of existing installation guide)
3. Using the TUF CLI Tools
Introduce the CLI tools (repo.py, client.py) and their purpose
Step-by-step instructions for a basic workflow using the CLI:
Initializing a TUF repository
Adding a target file to the repository
Serving the repository (using a simple HTTP server)
Fetching a target file from the repository as a client
4. Understanding the CLI Output
Explain the output and directory structure created by the CLI tools
Briefly mention the different metadata files and their roles
5. Next Steps
Mention that the CLI tools are a convenient way to get started with TUF
For more advanced use cases and integrating TUF into applications, suggest exploring the TUF Python library
Provide links to the complete TUF documentation and other resources
Introduce the CLI tools (repo.py, client.py) and their purpose
Those cli tools don't exist anymore. You could take a look the existing repository and client examples and see how they could be used for a quick start guide.
It's not really a "quickstart" for integrating python-tuf, but I think we could build something around the examples that a newcomer would benefit from:
repository app to run a repository
uploader to add artifacts to the repository
and finally client to securely download the artifacts from the repository
Each of these already has their own README but I can see benefit in a single page that creates a story around the whole thing and documents how to run all three.
Activity
joshuagl commentedon Jan 26, 2022
I think the ideal place for quick start documentation for a library like python-tuf is the developer documentation on RTD.
doc: drop documentation for legacy tools
MVrachev commentedon Jan 28, 2022
Also, we should keep in mind that we have the
examples/folder with some great examples.I think we would need a quickstart document if we are going to showcase the usage of a TUF CLI.
I see that in
examples/client.pywe do provide a CLI for the client.Maybe a small
QUICKSTART.mddocument showcasing how to use theexamples/client.pyCLI and a reference to theexamples/basic_repo.pycould be enough.lukpueh commentedon Feb 3, 2022
Exactly! That's what I meant with "...or better frame existing documentation"
doc: drop documentation for legacy tools
mhmohona commentedon May 23, 2024
Hello @lukpueh, I would like to work on this issue.
I have checked the previous quickstart guide we had and got an idea of it. I see we already have Installation guide, so it is just enough to refer to this page, isnt it?
For outline of quickstart page, considering beginner audience as my target audience, I have following in my mind -
Quickstart with TUF
1. Introduction to TUF
2. Installing TUF
(link of existing installation guide)
3. Using the TUF CLI Tools
4. Understanding the CLI Output
5. Next Steps
What do you think about it? How can I improve it?
lukpueh commentedon May 23, 2024
Those cli tools don't exist anymore. You could take a look the existing repository and client examples and see how they could be used for a quick start guide.
mhmohona commentedon May 24, 2024
Thank you for correcting me @lukpueh! I have submitted a PR. Will you please have a look at it #2640?
jku commentedon May 24, 2024
It's not really a "quickstart" for integrating python-tuf, but I think we could build something around the examples that a newcomer would benefit from:
repositoryapp to run a repositoryuploaderto add artifacts to the repositoryclientto securely download the artifacts from the repositoryEach of these already has their own README but I can see benefit in a single page that creates a story around the whole thing and documents how to run all three.