← Back to issue list

sources: refactor tar source into module.

View original Github issue

Metadata

Project
snapcraft
Number
#969
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #969 in commit 6fb798890, extracting the Tar source into sources/_tar.py as part of LP #1648906.

Resolution: closed resolved

Reason: The refactor was merged to master as commit 6fb798890, completing the extraction of the Tar source into its own module.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR makes more progress on LP: [#1648906](https://bugs.launchpad.net/snapcraft/+bug/1648906) by extracting the Tar source into `sources/_tar.py`.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #969 in commit 6fb798890, extracting the Tar source into sources/_tar.py as part of LP #1648906.
stealth/space-bunny-alpha — closed resolved Merged PR #969 in commit 6fb798890, extracting the Tar source into sources/_tar.py to advance LP bug #1648906.
stealth/space-bunny-alpha — closed resolved Merged PR #969, extracting the Tar source into sources/_tar.py and advancing Launchpad #1648906.
qwen/qwen3.6-35b-a3b — — Merged a refactor extracting the Tar source into a dedicated module at sources/_tar.py. The change adds two files, increases code coverage by less than 0.01%, and advances work on Launchpad bug #1648906.
qwen3.6-35b-a3b-mtp-q6 — — Merged into master, extracting tar source logic into a dedicated sources/_tar.py module. The refactor improves code organization and slightly increases test coverage while advancing ongoing bug resolution.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#45 sources: add the tar source handler craft-parts merged Merged PR #45 added tar archive support for part sources, including extraction tests. Implementation commit b4a320fe landed through merge commit 0da10bde.
73%
#957 sources: refactor base sources into module. snapcraft merged Merged as commit 1d34e9e6b, extracting Base and FileBase into sources/_base.py and advancing the Launchpad #1648906 sources refactor.
72%
#968 sources: refactor subversion source into module. snapcraft merged Merged PR #968 as commit ebfd3ea27, extracting the Subversion source handler into sources/_subversion.py and advancing LP #1648906.
72%
#970 sources: refactor zip source into module. snapcraft merged Merged PR #970 as commit db2a6fb6a, extracting the Zip source handler into sources/_zip.py as progress on LP bug #1648906.
70%