Skip to content

Conversation

@benmss
Copy link
Member

@benmss benmss commented May 17, 2024

This PR improves the commit finder so that it can handle cases where numeric version parts have preceding zeroes. E.g. Version 2024.2.2 -> Tag 2024.02.02. The trailing zero evaluation (for the version as a whole) has also been updated to accept "long" zeros, e.g. 1.00, 1.000.

In addition, PURLs with an invalid type as defined in the spec are rejected before analysis begins.

Partially relates to discussion in #706

… improve input handling

Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 17, 2024
Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
@benmss benmss marked this pull request as ready for review May 20, 2024 01:48
@benmss benmss requested review from behnazh-w and tromai as code owners May 20, 2024 01:48
Copy link
Contributor

@tromai tromai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the change. LGTM

@benmss benmss merged commit 621fad7 into staging May 24, 2024
art1f1c3R pushed a commit that referenced this pull request Nov 29, 2024
Signed-off-by: Ben Selwyn-Smith <benselwynsmith@googlemail.com>
@benmss benmss deleted the benmss/allow-all-lhs-zero-padded-digits-in-commit-finder branch April 8, 2025 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants