DefangLabs / DefangLabs/defang
Add validation step on stack_name
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 166
- Forks
- 24
- Avg merge
- 10h 8m
- Merged PRs (30d)
- 33
Description
The stack name validation should fail immediately after the stack_name step if the name is invalid. Right now it only rejects non-alphanumeric characters, but it still allows uppercase letters. We should also reject uppercase characters so that stack names are limited to lowercase alphanumeric characters only.
Contributor guide
No contributing guide indexed for this repository
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
Locate the CLI code that performs the stack_name step and inspect any existing validation tests; no file or test path is named in the issue. Run the relevant test suite, then verify that uppercase characters are rejected immediately after the stack_name step while lowercase alphanumeric names remain accepted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100