← Back to issue list

sources: refactor bazaar source into module.

View original Github issue

Metadata

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

Current evaluation

Merged refactoring that extracts the Bazaar source handler into a dedicated module at sources/_bazaar.py. Approved, passed CI, and slightly improved code coverage as part of ongoing bug resolution.

Suggested action:

No scores available.

Issue body

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

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged refactoring that extracts the Bazaar source handler into a dedicated module at sources/_bazaar.py. Approved, passed CI, and slightly improved code coverage as part of ongoing bug resolution.
qwen3.6-35b-a3b-mtp-q6 Merged into master. Refactored the Bazaar source handler into a dedicated module at sources/_bazaar.py, advancing Launchpad bug #1648906. Code coverage increased marginally.
qwen3.6-35b-a3b-mtp-q6 Merged to master. Refactored the Bazaar source handler into sources/_bazaar.py, advancing Launchpad bug #1648906. Code coverage held at 96.23% with a negligible increase.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#968 sources: refactor subversion source into module. snapcraft merged Merged refactoring that extracts the Subversion source handler into a dedicated module. Advances Launchpad bug #1648906, passed coverage checks, and received author approval. Net change: +170/-129 lines across four files.
75%
#965 sources: refactor mercurial source into module. snapcraft merged Merged into master after approval and passing CI. The change extracts the Mercurial source handler into a dedicated module, advancing work on bug LP: #1648906. Coverage increased slightly with no unresolved comments.
75%
#964 sources: refactor git source into module. snapcraft merged Merged a refactor extracting Git source logic into sources/_git.py. Approved by reviewer, passed CI, and slightly improved code coverage as part of ongoing bug fix LP: #1648906.
74%
#245 Added a unit tests for pulling bazaar sources from URIs. snapcraft merged Merged a unit test verifying sources.py correctly processes bazaar source URIs. Reviewers approved the patch and adjusted the commit message for changelog generation. The change adds 17 lines to one file and addresses LP #1536283.
71%
#957 sources: refactor base sources into module. snapcraft merged Merged following two approvals and passing CI checks. Refactored Base and FileBase sources into sources/_base.py, increasing test coverage by 1.20% and progressing work on Launchpad bug #1648906.
70%