cookiecutter / cookiecutter/cookiecutter
Error when using numbers in the name of the repo: FailedHookException: Hook script failed (exit status: 1)
- Dominant language
- Python
- Stars
- 25.1k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Not sure if this is a bug or not. Narrowed it down to numbers in the name (starting character) of a new repo on creation. i.e. 2d-.... but a repo name cool-2d-tool will work.
This error also might be due to unrelated custom code in the framework I'm using. I'll update the issues if that's the case.
Contributor guide
Research direction
Reproduce project creation with a new repository name beginning with a number, such as 2d-..., and compare it with a name such as cool-2d-tool. Start by capturing the complete FailedHookException output and determining whether the failure comes from Cookiecutter or the reported framework's custom hook code. Done means the numeric-leading name creates successfully without the hook failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100