Sources are getting difficult to maintain
Metadata
Current evaluation
Source handlers were split from snapcraft/internal/sources.py into modules by snapcore/snapcraft PRs #957 and #961–#970, resolving the maintainability issue.
Resolution: closed resolved
Reason: The maintainer linked the completed refactor series in the issue: PR #957 and PRs #961–#970 separated the local, Bazaar, Deb, Git, Mercurial, RPM, script, Subversion, Tar, and Zip handlers.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Source handlers were split from snapcraft/internal/sources.py into modules by snapcore/snapcraft PRs #957 and #961–#970, resolving the maintainability issue. | |
| stealth/space-bunny-alpha | — | closed resolved | Refactored sources into a package via #955 (commit 0ef7dc218), then split individual handlers into modules through #957 and #961–#970. | |
| stealth/space-bunny-alpha | — | closed resolved | Resolved by merged PR #955 (commit 0ef7dc218), which converted snapcraft/internal/sources.py into a package; maintainers followed with per-source refactors in #961–#970. | |
| stealth/space-bunny-alpha | — | closed resolved | Converted snapcraft/internal/sources.py into a package in merged PR #955 (commit 0ef7dc218), improving maintainability and enabling extraction of individual source handlers. | |
| qwen/qwen3.6-35b-a3b | — | — | Proposed refactoring of sources.py into a package was closed without implementation. Zero comments and over nine years of inactivity indicate the request was abandoned or superseded by later codebase changes. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The proposal to refactor sources.py into a package was abandoned due to inactivity, with no comments or implementation recorded. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The proposed refactoring of sources.py into a package was not implemented and the issue was closed without resolution. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Refactoring sources.py into a package was closed without resolution. Zero comments and over nine years of inactivity indicate the request was abandoned. No fix or merge occurred. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcore/snapcraft#970
(confidence 98%)
Moved Zip-source handling into its own module.
-
Likely Fixed By:
snapcore/snapcraft#961
(confidence 98%)
Moved local-source handling into its own module.
-
Likely Fixed By:
snapcore/snapcraft#962
(confidence 98%)
Moved Bazaar-source handling into its own module.
-
Likely Fixed By:
snapcore/snapcraft#963
(confidence 98%)
Moved Deb-source handling into its own module.
-
Likely Fixed By:
snapcore/snapcraft#964
(confidence 98%)
Moved Git-source handling into its own module.
-
Likely Fixed By:
snapcore/snapcraft#965
(confidence 98%)
Moved Mercurial-source handling into its own module.
-
Likely Fixed By:
snapcore/snapcraft#966
(confidence 98%)
Moved RPM-source handling into its own module.
-
Likely Fixed By:
snapcore/snapcraft#967
(confidence 98%)
Moved script-source handling into its own module.
-
Likely Fixed By:
snapcore/snapcraft#968
(confidence 98%)
Moved Subversion-source handling into its own module.
-
Likely Fixed By:
snapcore/snapcraft#969
(confidence 98%)
Moved Tar-source handling into its own module.
-
Likely Fixed By:
snapcore/snapcraft#957
(confidence 95%)
Initial source refactor linked by the maintainer.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #955 sources: convert to package. | snapcraft | merged | Merged PR #955 (commit 0ef7dc218) converted snapcraft/internal/sources.py into a package, groundwork for LP bug #1648906. Follow-ups #957 and #961-#970 then split each source handler into its own module. |