-
Notifications
You must be signed in to change notification settings - Fork 262
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
Matching guidelines: ignore length or number of underscores #1617
Comments
@goneall - I think I created this due to one of the PRs you had. Is this solely a matter of updating the text of the matching guidelines or is there some tooling changes that need to go along with it? |
@jlovejoy If we update the matching guidelines to allow for any number of underscores, I will need to update the SPDX matching tools as well. If/when we update the matching guidelines, we should add an issue to the Spdx Java Library to also allow any number of underscores. |
In terms of the exact guidelines text, I have a few considerations and recommendations:
For 1. - I would recommend past the 3rd, but past the 2nd would be fine as well. I wouldn't want to match one to more than one since the intent of the single underscore may not be a separator. For 3. - I would prefer we do not include matching of different line separator types - a bit more difficult to implement and I don't think it is that common - but I'm open to including it if others feel different |
I would suggest, that, similar to our existing matching guidelines:
we should introduce a markup like From a quick look, the words offender is LPPL which has separators of different characters and different lengths! And then we have licenses like MPL-2.0, where all such lines have been marked |
Some observations from my own exploration, intersecting with some of the points already made here:
|
I think @goneall has resolved this in the tools, but we still need to make a PR for the matching guidelines to cover this - three or more repeating characters of ---, ===, ___ should be ignored and also add a note to the XML fields docs that these don't need tag |
ugh, this one got away from me... @goneall - did this get resolved in the tooling? And if so, is the guidelines 3 or more repeating characters of ---, ===, ___, or ***? Not sure where we landed on the idea of tag? |
Yes - this is fixed in the tooling - here's the PR: spdx/Spdx-Java-Library#163 3 or more repeating characters of ---, ===, ___, or ***. I think we can update the docs on these not needed the XML tag - it doesn't affect the tools, but it is not needed in these situations. |
fixes #1617 Adds guideline for ---, ***, etc. Also updated punctuation guideline to note that exceptions (e.g., Oxford comma or not) may have markup.
see #2469 |
Match the number of underscores to the test file for the form included in this license.
Note - we may want to update the license matching guidelines and the license matching software to cover this case.
(see #1594 )
The text was updated successfully, but these errors were encountered: