Skip to content

Conversation

@cd-work
Copy link
Contributor

@cd-work cd-work commented Dec 17, 2024

Add Purl::combined_name method

This method adds the inverse of Purl::builder_with_combined_name,
allowing ecosystem-specific accurate printing of package names with
namespaces.


Add serde support to PackageType

This adds both serialization and deserialization to the PackageType
enum, based on its lowercase representation.


Two pretty small improvements, I can submit a separate PR but I thought it would be easier to just get it all over with.

This method adds the inverse of `Purl::builder_with_combined_name`,
allowing ecosystem-specific accurate printing of package names with
namespaces.
This adds both serialization and deserialization to the `PackageType`
enum, based on its lowercase representation.
@cd-work cd-work requested review from a team as code owners December 17, 2024 21:22
@cd-work cd-work self-assigned this Dec 17, 2024
@cd-work cd-work merged commit 4c86305 into main Dec 17, 2024
6 checks passed
@cd-work cd-work deleted the serde branch December 17, 2024 21:40
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