← Back to issue list

Redesign project file resolver

View original Github issue

Metadata

Project
craft-application
Number
#583
Type
issue
State
open
Author
mr-cal
Labels
Created
2024-12-05 20:06:24+00:00
Updated
2025-05-23 17:26:51+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done `_resolve_project_path()` 1. should find a project file in multiple locations. 2. not fail if a directory is actually a file ### Why it needs to get done 1. Applications have to hack around this (https://github.com/canonical/snapcraft/blob/5317dbebac1c953192ff38e4c6fddd294f979cb1/snapcraft/application.py#L154-L165) 2. craft-application raises an internal error (https://github.com/canonical/snapcraft/issues/5167)

Evaluation history

No evaluation history available.