← Back to issue list

feat: add a configuration service

View original Github issue

Metadata

Project
craft-application
Number
#416
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged after four reviewers approved. Adds a configuration service using a priority fallback system for settings, checking environment variables, CRAFT_* vars, custom handlers, snap config, and defaults.

Suggested action:

No scores available.

Issue body

- [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `tox`? ----- Adds a service for handling application configuration. This service works as follows: 1. Uses application-specific environment variables 2. Uses general `CRAFT_*` environment variables 3. Uses application-provided configuration handlers 4. Uses snap configuration (if the app is installed as a snap) 5. Falls back to the default or errors if no default is set.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged after four reviewers approved. Adds a configuration service using a priority fallback system for settings, checking environment variables, CRAFT_* vars, custom handlers, snap config, and defaults.
qwen3.6-35b-a3b-mtp-q6 Merged after maintainer review. Introduces a configuration service that loads settings via a five-step priority system: app-specific env vars, CRAFT_* vars, custom handlers, snap configuration, and defaults or errors.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#786 feat: add a state service craft-application merged Merged the implementation of a state service for artifact storage per ST148 and CRAFT-4568. Approved by two reviewers, passed CI checks, and integrated by maintainer mr-cal across 24 files.
71%