Skip to content

Conversation

wagoodman
Copy link
Contributor

This changes the behavior of the go binary cataloger to rause up a blank version over (devel) as a value, allowing the package compliance policy to enforce values (by default set it to UNKNOWN).

Type of change

  • New feature (non-breaking change which adds functionality)

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

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman self-assigned this May 9, 2025
@wagoodman wagoodman changed the title Clear devel version and do not search contents for version Clear (devel) version from go main modules May 9, 2025
@wagoodman wagoodman merged commit a7816dc into main May 9, 2025
13 checks passed
@wagoodman wagoodman deleted the go-main-mod-changes branch May 9, 2025 17:36
spiffcs added a commit that referenced this pull request May 13, 2025
* main:
  Translate Portage license strings to SPDX expressions (#1763)
  fix: stop emitting redis redis CPE for PHP PECL redis (#3881)
  feat: Add PURL list input/output format (#3853)
  chore(deps): update CPE dictionary index (#3877)
  chore(deps): update tools to latest versions (#3878)
  do not search binary contents for version for go package (#3874)
  fix: remove race when writing errors in generic cataloger (#3875)
  clear devel version for go packages (#3873)

Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Go binaries that currently get (devel) as the version should instead stub UNKNOWN based on the compliance policy
2 participants