microsoft / microsoft/sbom-tool

Implement Consistent Path Normalization Across sbom-tool

Open
#709 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tabled
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.