← Back to issue list

utils: remove Ubuntu-specific code from OsRelease

View original Github issue

Metadata

Project
craft-parts
Number
#356
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged to remove Ubuntu-specific code from the OsRelease utility, resolving CRAFT-1584. Approved by reviewer, passed CI, and deleted 62 lines across two files after addressing linting rules in related PRs.

Suggested action:

No scores available.

Issue body

Fixes CRAFT-1584 - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged to remove Ubuntu-specific code from the OsRelease utility, resolving CRAFT-1584. Approved by reviewer, passed CI, and deleted 62 lines across two files after addressing linting rules in related PRs.
qwen3.6-35b-a3b-mtp-q6 Merged after removing Ubuntu-specific code from the OsRelease utility, resolving CRAFT-1584. Linting conflicts were resolved by disabling new ruff rules and applying fixes from related PRs #358 and #359.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1653 internal: don't reuse variable in OsRelease snapcraft merged Merged an internal cleanup that stops reusing a variable in OsRelease. Approved by two reviewers with passing CI checks. The change modifies a single file with two additions and two deletions.
71%
#1581 feat: deprecate OsRelease in favor of distro craft-parts open Deprecates the OsRelease utility in favor of the distro package across 18 files to avoid a major version bump. Closed and superseded by PR #1581, which carries the same changes and remains open.
71%
#59 util: replace os_release.py with distro package craft-archives merged Merged: replaced os_release.py with the distro package. Approved by a reviewer, passed CI, and reduced code by 90 lines across five files. Validated in snapcraft and rockcraft, increasing coverage by 0.01%.
70%