← 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 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.

Suggested action:

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
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

No related issues found above the similarity threshold.