anchore / anchore/syft

go binary cataloger use richer commit version

Open
#894 5 comments 0 reactions 0 assignees View on GitHub
ecosystem:go enhancement
Dominant language
Go
Stars
9.6k
Forks
954
Avg merge
1d 5h
Merged PRs (30d)
42

Description

**What would you like to be added**:
we could toy with changing the version to be in the format of v0.0.0-- if we could derive the date correctly from the build info (which I'm not certain is possible). This would make it consistent to go module version formatting.

**Why is this needed**:
Main module could offer better version info in a similar go.mod version format.

**Additional context**:
Idea came up while adding support to go1.18 debug BuildInfo

Contributor guide

Open the contributing guide

Research direction

Start by investigating Go 1.18 debug.BuildInfo and Go module version formatting, focusing on whether the build info exposes a usable commit date. Done when the main module’s version follows the proposed v0.0.0-- format for the binary cataloger.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.