package-url / package-url/packageurl-php

BC: redesign for PURL 1.0

Open
#243 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

breaking change
Dominant language
PHP
Stars
13
Forks
6
PR merge metrics
No merged PRs in 30d

Description

PackageURL 1.0 was releqsed - https://github.com/package-url/purl-spec/releases/tag/v1.0.0 🎉

with this, we can finally rework the whole implementation to adhere the final Spec.

blockers

Unfortunately, the spec is not entire explicit, the actual grammar is not part of the spec, yet
Implementing the implicit rules of the spec is error-prone, relying on non-spec rules like how-to-build.md and how-to-parse.md is kind of a "best-effort" implementation. Therefore:

expected outcome

have tests for the core implementation and the implanted type(s) -
shall use the tests provided by https://github.com/package-url/purl-spec/tree/main/tests

have the README tell about the different sub-namespaces and their purposes.

Contributor guide

Open the contributing guide

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 with the PURL 1.0 standard, known-qualifiers, parsing, building, and types documentation, while checking the status of package-url/purl-spec pull request 578. Use the provided PURL specification tests as the first validation point; done means the Core, Types, and Contrib namespaces, Composer example, README guidance, and core/type tests are in place.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.