package-url / package-url/packageurl-java
Support for types
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 48
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Right now, type validation/normalization is just a big method with a switch statement.
Should type handling be moved to separate classes, e.g., have PackageURL handle validation/normalization only in the general case and have each type handle itself?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the type validation and normalization method with its switch statement in PackageURL. Determine whether type-specific behavior can be separated without changing the general-case behavior; done means an agreed design and corresponding type-handling classes, but the issue does not name tests or files beyond PackageURL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100