package-url / package-url/packageurl-java

Case-sensitive in go purl

Open
#270 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
48
Forks
26
PR merge metrics
No merged PRs in 30d

Description

When I build PackageURL for the purl "pkg:golang/github.com/Azure/go-autorest/autorest/date@v0.3.0" and extract the name, it becomes all lowercase "github.com/azure/go-autorest/autorest/date". That causes notFound response in deps.dev system (https://github.com/google/deps.dev/issues/93). So my question is whether the name needs to be lowercase?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the PackageURL construction and name extraction for the supplied Go purl, then inspect how the package-url specification treats case in names. Done means the expected case behavior is established and the reported deps.dev notFound scenario is covered by a regression test or clearly resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.