Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign project file resolver #583

Open
mr-cal opened this issue Dec 5, 2024 · 1 comment
Open

Redesign project file resolver #583

mr-cal opened this issue Dec 5, 2024 · 1 comment
Labels
Enhancement New feature or request triaged

Comments

@mr-cal
Copy link
Contributor

mr-cal commented Dec 5, 2024

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 (Snapcraft raises an internal error if there is a file called snap snapcraft#5167)
@mr-cal mr-cal added Enhancement New feature or request triaged labels Dec 5, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3772.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request triaged
Projects
None yet
Development

No branches or pull requests

1 participant