microsoft / microsoft/sbom-tool
Implement Consistent Path Normalization Across sbom-tool
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.1k
- Forks
- 201
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 1
Description
There's no centralized/consistent approach across modules for path normalization to my knowledge.
IsValid seems close! https://github.com/microsoft/sbom-tool/blob/ae8c3c308587019f748dbbd15baef294482ecdea/src/Microsoft.Sbom.Api/Filters/DownloadedRootPathFilter.cs#L49
We should implement this to any files/functions handling paths with some path normalization logic to ensure they are managed uniformly and add tests to validate that.
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
Start with DownloadedRootPathFilter.cs at the linked IsValid implementation, then inventory the modules and functions that handle paths. Define the shared normalization scope and add tests covering consistent behavior across those path-handling locations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100