← Back to issue list

Refactored the local source pull.

View original Github issue

Metadata

Project
snapcraft
Number
#262
Type
pull request
State
merged
Author
come-maiz
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #262 refactored local source pulling and added full test coverage in commit 70d51290e; merge commit: 3d0e49c4c.

Resolution: closed resolved

Reason: PR #262 was merged into the main branch via merge commit 3d0e49c4c. Commit 70d51290e implemented the local-source refactor and test coverage.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Added full test coverage to the method. LP: #1538250

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #262 refactored local source pulling and added full test coverage in commit 70d51290e; merge commit: 3d0e49c4c.
stealth/space-bunny-alpha — closed resolved Merged PR #262, refactoring the local source pull and adding full test coverage. Reviewers suggested clearer parameter names and docstrings for future cleanup.
qwen/qwen3.6-35b-a3b — — Merged a refactoring of the local source pull that added full test coverage. Approved by a reviewer who suggested future improvements to rename confusing parameters and add docstrings. The change modified two files, reducing code by 17 lines.
qwen3.6-35b-a3b-mtp-q6 — — Merged after adding full test coverage to the local source pull method. Reviewers approved the changes despite noting confusing parameter names, suggesting future renaming and docstring improvements. Resolves LP #1538250.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#377 (confidence 85%)

    Later merged PR correcting local-source pulling behavior; it did not supersede PR #262.

Related issues

Issue Project State Summary Similarity
#1538250 The local source pull is not fully covered by unittests snapcraft (launchpad) closed Maintainer ~elopio's own test-debt bug for the uncovered branch in local source pulling (duplicated os.remove logic) was closed after ubuntu-core/snapcraft PR #262 refactored the pull and added full unit-test coverage; merged as 3d0e49c4c.
72%
#377 Correct local source pulling snapcraft merged Merged PR #377 corrected symlink-aware local source checks, preventing cleanup failures and allowing local sources to be pulled twice without an "is a symlink" error.
72%