← Back to issue list

fix: normalize leading slashes in migration paths

View original Github issue

Metadata

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

Current evaluation

Merged fix normalizing leading slashes in migration paths to prevent absolute and relative path mismatches, resolving #507. Approved by two reviewers with all CI checks passing.

Suggested action:

No scores available.

Issue body

Ensure that path patterns starting with a leading slash are normalized to match relative migration paths, preventing mismatches between absolute and relative file paths. Fixes #507 - [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint && make test`? - [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ---

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged fix normalizing leading slashes in migration paths to prevent absolute and relative path mismatches, resolving #507. Approved by two reviewers with all CI checks passing.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 15
Confidence: 95
needs review Normalizes leading slashes in migration paths to prevent absolute/relative path mismatches. Fixes #507. Approved by 2 reviewers, all CI checks passing, ready for final review and merge.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 15
Confidence: 95
needs review Normalizes leading slashes in migration paths to prevent absolute/relative path mismatches. Fixes #507. Currently approved by one reviewer, all CI checks passing, and ready for maintainer review.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 15
Confidence: 90
needs review Normalizes leading slashes in migration paths to prevent absolute/relative path mismatches. Fixes #507. Currently awaiting maintainer review with CI checks passing or pending.

Update history

Date Change
updated
updated
updated
created

Related issues

Issue Project State Summary Similarity
#215 packages: fix symlink normalization craft-parts merged Merged a fix for symlink normalization that replaces Path.relative_to() with os.path.relpath() to correctly resolve parent path components. Approved by reviewer and passed CI checks.
72%