← Back to issue list

feat: dynamically detect the package repository type

View original Github issue

Metadata

Project
craft-parts
Number
#1231
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1231 as ecceb40d, dynamically detecting repository type for part-created base systems and chroots containing a different OS (CRAFT-4721).

Resolution: closed resolved

Reason: The approved PR passed all listed CI checks and was merged as commit ecceb40d, implementing dynamic detection for initially empty base systems and chroot environments.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The package repository type was historically detected once at the start of execution, based on existing system files. A new feature in Craft Parts will allow creation of the base system in a part, and the base system must now be detected dynamically (because at start of execution the base system may be potentially empty). Additionally, the repository type must be re-detected inside a chroot since it may contain a different system compared to the host where Craft Parts is running. - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ----- CRAFT-4721

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1231 as ecceb40d, dynamically detecting repository type for part-created base systems and chroots containing a different OS (CRAFT-4721).
stealth/space-bunny-alpha — closed resolved Merged #1231 as ecceb40d, detecting package repository types dynamically for part-created base systems and chroots containing different systems (CRAFT-4721).
stealth/space-bunny-alpha — closed resolved Merged PR #1231 (commit ecceb40): package repository type detection now runs dynamically, including inside chroots with a different base system.
qwen/qwen3.6-35b-a3b — — Merged dynamic package repository type detection, replacing static startup checks. Supports base system creation in parts and chroot environments. Approved by three reviewers with all CI checks passing.
qwen3.6-35b-a3b-mtp-q6 — — Merged a feature to dynamically detect package repository types, replacing static startup detection. This supports Craft Parts initializing empty base systems and ensures correct detection inside chroots. Addresses CRAFT-4721.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1224 Dynamic package repository detection craft-parts closed Dynamic package repository detection was implemented in merged PR #1231 (commit ecceb40d), including part-created base systems and chroots with differing contents.
78%