Demo for trudag manage set #102
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This draft demonstrates how to set the review-status of items and links using the trudag tool. For demonstration purposes, the status of the item NJF-01 and the arrow WFJ-01 -> NJF-01 have been set to reviewed.
In order to ensure that the trudag tool works without additional configurations, it is recommended to execute the commands on the status of the branch review_round_2, or main after PR #92 is merged. Otherwise, we highly recommend to remove the reference of the statement JLS-16.
To set the review-status of an item stored as
ITEM-NAME.mdto reviewed using trudag, the commandtrudag manage set-item ITEM-NAMEis used. In the example, the command would betrudag manage set-item NJF-01.In case of an arrow
FIRST-ITEM -> SECOND-ITEM, the commandtrudag manage set-link FIRST-ITEM SECOND-ITEM; in the example, the command would betrudag manage set-link WFJ-01 NJF-01.This calculates the SHA-value of the item (link) and stores the calculated value in the file .dotstop.dot. It is strongly recommended to not edit this file manually.
In case of an falsely set item or arrow, e.g. due to a mis-typed number, we recommend, however, to keep a backup copy of the .dotstop.dot file on hand and to manually replace the mistakenly inserted sha with the original one. It is also possible to replace the stored sha with an empty string to set the review-status to false.