Skip to content
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

Standardize namespace and name normalization to match Python library #22

Merged

Conversation

brbayes-msft
Copy link
Contributor

This change adjusts the normalization for namespace and names to only apply changes that are necessary to be compliant for the given package protocol. This aligns with how the Python library implements normalization, and is done per the request in this pull request (#19 (comment)).

@brbayes-msft
Copy link
Contributor Author

Hi @am11. Could you please take a look at these changes? This unblocks some use of Maven packages that are not all lower case.

pmalmsten
pmalmsten previously approved these changes Feb 1, 2023
am11
am11 previously approved these changes Feb 1, 2023
Copy link
Collaborator

@am11 am11 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

src/PackageUrl.cs Show resolved Hide resolved
@brbayes-msft brbayes-msft dismissed stale reviews from am11 and pmalmsten via 6c2a504 February 1, 2023 18:41
@am11 am11 merged commit 7b27f39 into package-url:master Feb 1, 2023
@brbayes-msft brbayes-msft deleted the brbayes/update-name_normalization branch February 1, 2023 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants