Support PURL aliases in the data model
Open
Nobody has claimed this yet.
database
- Dominant language
- Python
- Stars
- 210
- Forks
- 36
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 2
Description
The PURL specification allows multiple PURL strings pointing to the same software component:
pkg:maven/org.apache.xmlgraphics/batik-anim@1.9.1
can be equivalent to
pkg:github.com/apache/xmlgraphics-batik@7464826697a268a20d6f871bf265915a71214a91
We need to support such aliases in the data model and load the same component from the database. One way to add support can be to add a new mapped object for PURL aliases, with a foreign key to the Component object.
Contributor guide
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 tracing the Component data model and the database loading path. Define how multiple PURL strings map to one component, using the proposed PURL alias object and its foreign key as the starting point. Done means equivalent Maven and GitHub PURLs load the same component.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100