osbuild / osbuild/image-builder
Unify osbuild stage path validation
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 77
- Forks
- 103
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 53
Description
There are many stage options that represent filesystem paths. We don't always verify them and even when we do, we use slightly different regular expressions to validate them.
Create a single path validation regex and use a common function to validate all osbuild stage options that are meant to match filesystem paths.
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 osbuild stage option definitions and the existing regular expressions used for filesystem paths. Trace which path-valued options are currently validated, then confirm that every such option uses one shared regex and validation function. Done means path validation is consistent across all applicable stage options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system, operating-systems
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100