← Back to issue list

refactor repo into its own package

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1673448
Type
issue
State
closed
Author
~sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Tracked to GitHub PR snapcore/snapcraft#1192 "repo: refactor into a package", merged as 1e2cd8a2e, turning snapcraft.repo into a package and extending BaseRepo for non-apt/deb use. Later moved to craft-archives (#4037).

Resolution: closed resolved

Reason: The sole maintainer comment links PR snapcore/snapcraft#1192, which merged as commit 1e2cd8a2e performing exactly the requested refactor of snapcraft.repo into its own package, satisfying the task. Snapcraft was later decommissioned upstream.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This is a task to support LP: #1602258

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Tracked to GitHub PR snapcore/snapcraft#1192 "repo: refactor into a package", merged as 1e2cd8a2e, turning snapcraft.repo into a package and extending BaseRepo for non-apt/deb use. Later moved to craft-archives (#4037).
stealth/space-bunny-alpha — closed resolved Merged snapcraft#1192 as commit 1e2cd8a2e, refactoring repository code into a package and enabling BaseRepo reuse for non-apt/deb backends.
stealth/space-bunny-alpha — closed resolved Refactored repo into its own package via merged PR #1192 (commit 1e2cd8a2e), enabling BaseRepo extensions beyond apt/deb functionality.
qwen/qwen3.6-35b-a3b — — Closed without implementation or discussion. The repository refactoring task was abandoned and likely superseded by the referenced Launchpad task LP #1602258.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments. The repository refactor into a standalone package was abandoned or superseded by other work.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The repository refactoring task was abandoned and superseded by the referenced Launchpad task.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution or comments. The repository refactor was likely abandoned or superseded, as it referenced an external Launchpad task and received no discussion or implementation.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#1192 (confidence 97%)

    PR referenced in the closing comment; merged as 1e2cd8a2e, refactoring snapcraft.repo into a package and generalising BaseRepo.

  • Related To: craft-archives#3 (confidence 45%)

    Years later the repo package was extracted from snapcraft entirely into craft-archives (commit ce23bc7d1), so the code no longer lives in snapcraft.

Related issues

Issue Project State Summary Similarity
#1192 repo: refactor into a package. snapcraft merged Merged as 1e2cd8a2e, refactoring snapcraft.repo into a package and making BaseRepo easier to extend for non-apt/deb functionality.
87%
#3 move "repo" code from snapcraft craft-archives closed Merged PR #3 moved snapcraft.repo into craft_archives, adapting logging, errors, utilities, tests, and linting; commits 31da2f9 through 3cb8d7c implemented it.
82%
#4 move repo code craft-archives merged Merged PR #4, moving repository code from Snapcraft into craft-archives after approval; the recreated import landed in commit 31da2f9.
75%
#3647 repo: add package repository handling (CRAFT-846) snapcraft merged Merged package repository and PPA definitions/helpers into snapcraft 7.0 via #3647, porting code from #2911, #3341, #3359, and #3363.
75%
#465 refactor: use package-repositories support from craft-app rockcraft closed Rockcraft #465 was closed unmerged after 867 days without review, CI, or comments; its craft-app package-repositories refactor was abandoned.
70%