Fallback DDEV project name to dirname when empty
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 2
- Avg merge
- 13h 26m
- Merged PRs (30d)
- 35
Description
Improvement idea (maybe another PR): Use Dirname as default value. So if an empty name is given, the directory name is used.
Originally posted by @LukasFritzeDev in https://github.com/mittwald/cli/pull/220#discussion_r1499398078
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name a file, test, or entry point. Locate the code that determines the DDEV project name and inspect how an empty value is handled. Done means an empty name falls back to the directory name, with coverage for that case if the surrounding code has tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100