Redesign project file resolver
Metadata
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.