oxidecomputer / oxidecomputer/omicron
image names ought to be able to contain periods
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 572
- Forks
- 97
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 96
Description
$ oxide image create --name helios-2.0-full-20250428-0
error: invalid value 'helios-2.0-full-20250428-0' for '--name <name>': names must be composed of letters, numbers, and dashes
For more information, try '--help'.
AWS allows periods in the name field for AMIs, and it would be good to be able to use the same image name on Oxide racks as well.
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
Start by locating the validation for the image create --name argument and any tests covering image-name characters. Check the existing accepted and rejected characters, then update the behavior so periods are accepted while the documented restrictions remain enforced. Done means the shown dotted name is accepted and invalid names still fail.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, rust
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100