Skip to content

Conversation

@rezmoss
Copy link
Contributor

@rezmoss rezmoss commented Dec 4, 2025

Description

Fixed #4423

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (please discuss with the team first; Syft is 1.0 software and we won't accept breaking changes without going to 2.0)
  • Documentation (updates the documentation)
  • Chore (improve the developer experience, fix a test flake, etc, without changing the visible behavior of Syft)
  • Performance (make Syft run faster or use less memory, without changing visible behavior much)

Checklist:

  • I have added unit tests that cover changed behavior
  • I have tested my code in common scenarios and confirmed there are no regressions
  • I have added comments to my code, particularly in hard-to-understand sections

@github-actions github-actions bot added the json-schema Changes the json schema label Dec 5, 2025
Comment on lines 268 to 269
flags.BoolVarP(&cfg.Dotnet.ExcludeProjectReferences, "dotnet-exclude-project-references", "",
"exclude packages with type 'project' from deps.json output (default: true)")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably not add a flag for this, it seems like the right behavior to default and override via configuration or environment variable, if needed.

@kzantow
Copy link
Contributor

kzantow commented Dec 17, 2025

One comment about adding a flag, but also I think you need to regenerate a new schema? After that, this looks good to me 👍

Signed-off-by: Christopher Phillips <[email protected]>
@github-actions

This comment has been minimized.

spiffcs and others added 5 commits December 17, 2025 10:29
Signed-off-by: Rez Moss <[email protected]>
Signed-off-by: Rez Moss <[email protected]>
Signed-off-by: Rez Moss <[email protected]>
@spiffcs spiffcs merged commit 74c9380 into anchore:main Dec 18, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

json-schema Changes the json schema

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dotnet-deps cataloger should skip project references with type "project" when building the sbom

3 participants