-
Notifications
You must be signed in to change notification settings - Fork 42
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
Model and Serial numbers #872
Model and Serial numbers #872
Conversation
- addresses parts of oasis-tcs#847 - correct default open behavior of model and serial number
- addresses parts of oasis-tcs#847 - clarify multiple `*` should be avoided - introduce escaping
- addresses parts of oasis-tcs#847 - add conversion rules
- addresses parts of oasis-tcs#847 - tighten definition: prohibit multiple stars - adapt conversion rule
- addresses parts of oasis-tcs#847 - add comment that backslashes need to be escaped themselves in JSON strings
- addresses parts of oasis-tcs#847 - add mandatory test 6.1.43 for stars in model numbers - add invalid examples - add vaild examples
- addresses parts of oasis-tcs#847 - add mandatory test 6.1.44 for stars in serial numbers - add invalid examples - add vaild examples
- The text was very similar across model and serial number matching and also exposed (in my reading) "conformance" bleeding (e.g. that SHOULD NO be matched is not necessarily a concern of the spec). - Fixed also some failed CPSR-coding where serial number term occurred in the model number description of rules. - Added an example, where the first part of the model number "Pattern" is replaced with an asterisk wildcard - Some semantic clarification of phrasing attempted Question still remains: Why not allow e.g. *-2024-*? I understand from our anchoring requirements (pattern describes the full string from the set of matching model/serial identifiers) that we would want to allow shell glob like matching on such texts from inventory management systems. Use case in point: In the past model numbers had the year identifier in the middle. Now in the present there is a problem with all components from models of the year 2024. Problem: We force the producer to list all such identifiers explicitly because we prohibit patterns like *-2024-* Signed-off-by: Stefan Hagen <[email protected]>
@tschmidtb51 please take a look at 8772a18 Note: I was not able to create a branch plus pull request for that, which is OK, but makes me point out this attempt at guessing what we "want" and how "that" should be written here per this comment for clarity. |
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 with additional clarifications as suggested or similarly.
Thank you for the amount of work that went into the change set already.
Much appreciated!
@sthagen Thank you for your feedback.
Thank you. I do still have a concern with one suggested phrase but we can work on that.
Thank you.
I'll add a few example for the serial number as well.
Thanks. |
I thought about that and decide that the advantages do not outweigh the disadvantages. Here are my reasons:
|
- addresses parts of oasis-tcs#847 - add examples for serial numbers - improve examples for model numbers
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.
@sthagen Here is some new text to improve the partial stuff. Should we remove the term abbreviated
from the initial field description?
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.
SLGTM
22613fd
into
oasis-tcs:editor-revision-2025-02-26
serial_numbers
andmodel_numbers
#847