← Back to issue list

sources: refactor mercurial source into module.

View original Github issue

Metadata

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

Current evaluation

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.

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 Mercurial source into `sources/_mercurial.py`.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged the refactoring of the Mercurial source handler into a dedicated module at sources/_mercurial.py. This change advances progress on LP #1648906 and maintains code coverage at 96.24%.
qwen3.6-35b-a3b-mtp-q6 Merged into master. Refactored the Mercurial source implementation into a dedicated module at sources/_mercurial.py, improving code organization and slightly increasing test coverage.

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.
76%
#962 sources: refactor bazaar source into module. snapcraft merged 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.
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%