-
Notifications
You must be signed in to change notification settings - Fork 275
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
Documentation Overhaul #808
Comments
Note that Lukas has suggested a doctest-style validation of the tutorials, in response to a PR in which I added some regression tests for TUTORIAL.md. |
UPDATE 2019-11-20: I just went through
|
I also still stand by my idea of using @awwad, let me know what you think and if I should help out, e.g. by taking over #775. |
That sounds great. :) Yeah. I like the doctest idea. I worried a bit that it might affect the readability or structure of the tutorial, but if it works, that'd be awesome. Also, the suggestions and issues raised here are good. If you can take a shot at taking over 775 and integrating this into that, that'd be appreciated. |
This is already hinted at in the PR description, I just want to bring it back to our attention: The client update process as described in tuf/client/README.md is outdated and does not align with what's described in the spec. |
@lukpueh Sorry, I don't understand the question. Shouldn't the client update process be higher level than what's described in the spec anyway? |
What question, @trishankatdatadog? I just wanted to add a reminder that we need to update tuf/client/README.md. It describes the old update process that starts by downloading timestamp.json, whereas in the current spec the update process starts by downloading root.json (also see spec#12). |
Oh, you mean the pseudocode steps in English in that README, not the actual code itself, got it |
TODO: - Rephrase two comments in TUTORIAL.md snippets - See if there are any issues in "Dump Metadata", "Delegations", "Revoke Delegated Role", "Wrap up" and fix or ticketize - Create regression test for client (or ticketize) - Create commits - Evaluate theupdateframework#808 (some if it is already resolved or will be resolved with theupdateframework#775, split out rest into new tickets, e.g. doctest style tutorial tests)
TODO: - Rephrase comments in TUTORIAL.md snippets (where code changed) - See if there are any issues in "Revoke Delegated Role", consistent snapshot, delegate to hashed bins - Finish regression test for client - Create commits - Evaluate theupdateframework#808 (some if it is already resolved or will be resolved with theupdateframework#775, split out rest into new tickets, e.g. doctest style tutorial tests)
TODO: - Create commits for TUTORIAL.md and test_tutorial.py - Update PR theupdateframework#775 - Evaluate and update issue theupdateframework#808 (some if it is already resolved or will be resolved with theupdateframework#775, split out rest into new tickets, e.g. doctest style tutorial tests)
@mnm678 suggested to remind the tutorial reader of the password, used to encrypt the private key on generation, when loading the private key (see #775 (comment)). |
Remove link to incomplete and severely outdated client_setup_and_repository_example.md in client section of TUTORIAL.md. Instead we should link (or move the entire client tutorial part) to tuf/client/README.md, which is more comprehensive and less outdated than above document (see theupdateframework#808). Signed-off-by: Lukas Puehringer <[email protected]>
Remove link to incomplete and severely outdated client_setup_and_repository_example.md in client section of TUTORIAL.md. Instead we should link (or move the entire client tutorial part) to tuf/client/README.md, which is more comprehensive and less outdated than above document (see theupdateframework#808). Signed-off-by: Lukas Puehringer <[email protected]>
Re client update process steps (#808 (comment)): @MVrachev has kindly updated them in |
None of the sub-issues identified above are relevant in python-tuf 1.0.0 anymore:
|
User documentation has to be reorganized and updated.
The main
README.md
links toGetting_Started.rst
, which among other things links to:The problems:
client/updater.py
). There are some links and references in Tutorial.py about this, but that's not where they belong since that's really a repository tutorial, and they are wrong / outdated anyway. An unlinked-to tuf/client/README.md provides some instructions related to updater.py, but they need to be reviewed and linked to from Getting Started.tuf/client_setup_and_repository_example.md
) that talks about usingbasic_client.py
, which no longer exists. That document should also be deleted. Any valuable copy should be moved to tuf/client/README.md.My current opinion is that we should move to having three tutorials instead of the many docs above:
TUTORIAL.md
andtuf/client/README.md
).We should also probably move those three docs to docs directory.
Miscellaneous other corrections:
repo.py --init
first, since that's actually what sets up the client directory....The text was updated successfully, but these errors were encountered: