← Back to issue list

fix(Application): allow loading the project from another dir

View original Github issue

Metadata

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

Current evaluation

Merged fix allowing the application to load a project from a different directory. Approved by three reviewers, passed all CI checks, and merged with 49 additions and 10 deletions across four files.

Suggested action:

No scores available.

Issue body

We were trying to load the project before updating that value. - [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 `make lint && make test`? - [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ---

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged fix allowing the application to load a project from a different directory. Approved by three reviewers, passed all CI checks, and merged with 49 additions and 10 deletions across four files.
qwen3.6-35b-a3b-mtp-q6 Merged a fix correcting project initialization order to allow loading from a different directory. The change passed linting and tests, updated the changelog, and resolved the loading failure.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1367 fix: make application handle a nonexistent project dir charmcraft merged Merged a fix enabling the application to handle nonexistent project directories. Approved by two reviewers and dependent on PR #1364. Changes span 35 files with 989 additions and 252 deletions.
77%
#229 fix: make project directory loading less strict. craft-application merged Merged a change to relax project directory loading validation. Commands like init can now accept non-existent directories, only failing if an existing one is incompatible. Approved by three reviewers, passed CI, and modified two files.
74%
#5106 fix(expand-extensions): use the Application's project snapcraft open Fixes expand-extensions to use Application's project instead of re-parsing. Approved by 1 reviewer with 2 unresolved comments; merge conflicts resolved 3 days ago via copilot.
72%
#998 fix(Application): set the plugin group on load craft-application merged Merged fix that sets the craft-parts plugin group on application load. The change gracefully handles missing or invalid project files by ignoring related errors. Approved by two reviewers and passed all CI checks before landing.
70%