← Back to issue list

fix: remove compulsory need for project on service configuration

View original Github issue

Metadata

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

Current evaluation

Merged fix removing the compulsory project requirement from service configuration, enabling non-lifecycle commands. Approved by two reviewers, passed CI, and merged into main as a workaround for issue #63.

Suggested action:

No scores available.

Issue body

Removed explicit references to <Application>.project during Application._configure_services to allow for non-lifecycle commands to be used. - [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `tox`? ----- This is a workaround for canonical/craft-application#63

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged fix removing the compulsory project requirement from service configuration, enabling non-lifecycle commands. Approved by two reviewers, passed CI, and merged into main as a workaround for issue #63.
qwen3.6-35b-a3b-mtp-q6 Merged into main. Removed the compulsory project requirement in service configuration to enable non-lifecycle commands, resolving craft-application#63. Changes achieved 100% diff coverage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#238 feat!: remove optional project commands craft-application merged Merged changes removing optional project commands to enforce explicit project requirements. Approved by two reviewers and passing CI. Reverts #213 while retaining relevant tests.
72%
#5748 fix: get the project from the project service every time snapcraft merged Merged a fix ensuring the project is retrieved from the project service on every call. Approved by two reviewers, the change modifies one file (+9/-1 lines) and resolves the retrieval logic despite one failing CI test.
72%