← Back to issue list

repo: introduce DebPackage class to standardize package name parsing

View original Github issue

Metadata

Project
snapcraft
Number
#3460
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #3460 introduced DebPackage to standardize Debian package-name parsing and replace ambiguous get_pkg_name_parts() handling; landed in commit 85f206aeb.

Resolution: closed resolved

Reason: PR #3460 was approved and merged into master as commit 85f206aeb, adding the new DebPackage abstraction.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This will help eliminate some of the complexity around the ambigious state of "package names" used throughout repo, and do a more complete job of parsing than get_pkg_name_parts(). Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #3460 introduced DebPackage to standardize Debian package-name parsing and replace ambiguous get_pkg_name_parts() handling; landed in commit 85f206aeb.
stealth/space-bunny-alpha — closed resolved Merged PR #3460 added DebPackage to standardize Debian package-name parsing and reduce ambiguous package-name handling; the change landed in commit 85f206aeb.
qwen/qwen3.6-35b-a3b — — Merged into master. Introduces a DebPackage class to standardize Debian package name parsing, reducing complexity and improving accuracy. Approved by reviewers, passed CI checks, and achieved 100% test coverage across three files.
qwen3.6-35b-a3b-mtp-q6 — — Merged into master. Introduced the DebPackage class to standardize Debian package name parsing, replacing get_pkg_name_parts(). The change added one file, achieved 100% diff coverage, and increased overall test coverage.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.