-
Notifications
You must be signed in to change notification settings - Fork 48
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
Updated diagrams #935
Updated diagrams #935
Conversation
Signed-off-by: Alexios Zavras (zvr) <zvr+git@zvr.gr>
Signed-off-by: Alexios Zavras (zvr) <zvr+git@zvr.gr>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use all lowercase for filenames, as they were and also referred to in spdx-spec Markdown.
This will also allow GitHub to show diffs between old and new images.
As we have xsd types for properties, I think we should also keep xsd types for Simple Data Types as well, also the constraints. We should simplify the diagram by removing the enums which can be rather long. But those xsd types and constraints of Simple Data Types are just short, and from what I see in the Core PNG, we have plenty of spaces around the Simple Data Types box. We can cut them shorter to:
I think that should fit the box. |
The profile names are always with capital first letter, the tabs in the .drawio file are the same, I simply used the automatically generated name -- otherwise why even have "model-" ? Why introduce a new convention with lowercase here? |
Because with all uppercase or all lowercase it is less error prone when we type in the code, compared to mixed cases. |
Signed-off-by: Alexios Zavras (zvr) <zvr+git@zvr.gr>
I can see that the prefix "model-" is for file organizational purposes.
-- On casing, |
In earlier versions of SPDX 3 spec website, these model images are not even displayed. Because we just use the generated filename which contains a space. And that breaks when it's inside the URL. Somehow the space doesn't get automatically converted to %20. That's why we now use "-" instead of a space (thus "model-" and not "model "). |
As I said, I use the standard filenames that drawio uses (which is filename-tabname). I don't have time for this; feel free to change them afterwards. Given that every file we use has uppercase letters in the path, I'm pretty confident there will be no issues with using the correct profile names. I'm producing the PDFs now. |
Please go ahead with the PDF. |
Currently there are two styles of referencing an element from a profile:
Not sure which one we are more preferred. This is minor and does not affect the meaning of the diagram. Can be fixed for consistency later. |
Yeah, I did not change almost anything inside the text. There are too many changes to be made. For example, all properties in a class are in random order, while in the spec they are sorted. If there is time before the ISO version, I'll try to edit them all. |
Yes. They were before you made edits. No worries. |
the |
the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found two updates to the model that were missed in the diagram for the security profile detailed in the above 2 comments.
…nship Signed-off-by: Alexios Zavras (zvr) <zvr+git@zvr.gr>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will handle the entries ordering and etc later. This is good for now.
I've updated and simplified all diagrams.
This PR adds:
Once merged, they should also be copied in the spec repo.