Open rmartin16 opened 1 year ago
HI, Can I work on this ?
@Kaushal-Dhungel Absolutely! We don't have a formal issue assignment or claim process; if an issue is open, it's available to be worked on. Just drop a comment on the ticket to let others know you're looking at it, so we don't end up with duplicated effort.
This will be partially handled by https://github.com/beeware/briefcase/pull/1210
Hi, I will try to tackle this issue for Pycon2024 🐝
Hi, I will try to tackle this issue for Pycon2024 🐝
I will be excited to see what you can do to fully handle it!
After some initial digging around, it looks like the first case no longer triggers the same ValueError but the second still triggers the cookiecutter.exceptions.UnknownRepoType
. I think its still worthwhile to make the second error message more descriptive, as it took some more digging to understand what a repo "type" is (at least in terms of cookie cutter). Initially while reading this issue, I also wasn't sure what qualified as an invalid repo.
Could I work on writing a more descriptive error message for the UnknownRepoType? What are others thoughts on this?
FWIW, I think I'd be inclined to simply catch any exception that cookiecutter could throw; I'm not sure there's much value in pushing such exceptions to users who are not likely to even know cookiecutter is involved.
What is the problem or limitation you are having?
The error state for using an invalid remote repo can be improved. While the "invalid repo" example is completely manufactured, I encountered the non-existent repo one with a typo.
A non-existent repo
An invalid repo
Describe the solution you'd like
Catch these errors and inform the user to verify the template.
Describe alternatives you've considered
Interpret the errors myself.
Additional context
briefcase.2023_03_05-16_19_56.new.log briefcase.2023_03_05-16_20_46.new.log