← Back to issue list

sources: fix ignore patterns in local sources

View original Github issue

Metadata

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

Current evaluation

Merged fix for local source ignore patterns that prevented cumulative list creation, eliminating repetitions and excessive size. Approved by reviewer, passed CI, and modified 2 files (+21/-6).

Suggested action:

No scores available.

Issue body

Don't create a cumulative list of patterns to ignore when processing local sources, or the list can become quite large with repetitions of the same patterns. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [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 fix for local source ignore patterns that prevented cumulative list creation, eliminating repetitions and excessive size. Approved by reviewer, passed CI, and modified 2 files (+21/-6).
qwen3.6-35b-a3b-mtp-q6 Merged fix preventing cumulative ignore pattern accumulation in local sources. Previously, repeated patterns caused list bloat. The update optimizes processing by avoiding duplicate entries during local source handling.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#362 sources: fix ignore patterns in local sources craft-parts merged Merged fix for local source ignore patterns. Prevents cumulative list buildup and repetitions. Approved by one reviewer, passed CI, and committed with 21 additions and 6 deletions across two files.
97%
#373 sources: fix ignore patterns in local sources craft-parts merged Merged fix for local source ignore patterns to prevent cumulative and repetitive lists. This backport of #362 to the 1.18 branch optimizes pattern processing, received approval, and passed CI checks.
90%
#96 many: fix source ignore patterns (CRAFT-375) craft-parts merged Merged fix for source ignore patterns preventing locally generated files from being pulled as sources. Updates allow custom ignore patterns for outputs and correctly ignore work directories. Approved by two reviewers with passing CI checks.
86%
#369 Release 1.15.3 craft-parts merged Merged release 1.15.3, backporting a fix for local sources ignore patterns. Approved by one reviewer, passed CI checks, and updated five files.
77%
#322 sources: improve missing local source error message craft-parts merged Merged. Updates error handling to display a clear source not found message instead of a file copy error when a local source is missing. Approved by two reviewers, passed CI, and changed 17 lines across two files.
75%
#375 Release 1.18.1 craft-parts merged Merged release 1.18.1, fixing ignore patterns in local sources. Approved by two reviewers and passed CI checks before integration.
75%
#961 sources: refactor local source into module. snapcraft merged Merged after approval and CI. Refactored the local source into sources/_local.py, advancing Launchpad bug #1648906. Modified four files with a +236/-191 line change and slightly increased overall code coverage.
70%