Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port the scanner to Go #1

Merged
merged 4 commits into from
Nov 21, 2022
Merged

Port the scanner to Go #1

merged 4 commits into from
Nov 21, 2022

Conversation

jedevc
Copy link
Collaborator

@jedevc jedevc commented Nov 18, 2022

No description provided.

Signed-off-by: Justin Chadwell <me@jedevc.com>
Signed-off-by: Justin Chadwell <me@jedevc.com>
@jedevc jedevc marked this pull request as draft November 18, 2022 16:40
Signed-off-by: Justin Chadwell <me@jedevc.com>
@jedevc jedevc requested a review from crazy-max November 21, 2022 11:46
@jedevc jedevc marked this pull request as ready for review November 21, 2022 11:46
@jedevc
Copy link
Collaborator Author

jedevc commented Nov 21, 2022

Have purposely left the .github/workflows untouched, #2 updates those 🎉

internal/target.go Outdated Show resolved Hide resolved
const defaultSyftVersion = "[not provided]"

var (
SyftVersion = defaultSyftVersion
Copy link
Member

Choose a reason for hiding this comment

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

Can be set directly:

Suggested change
SyftVersion = defaultSyftVersion
SyftVersion = "v0.0.0+unknown"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

LGTM, but would like to keep [not provided], inline with how syft itself shows an unknown version.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We could propose a change to how syft does this?

Copy link
Member

Choose a reason for hiding this comment

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

LGTM, but would like to keep [not provided], inline with how syft itself shows an unknown version.

Ah ok didn't know they have this pattern, let's keep it like this in the meantime then

Signed-off-by: Justin Chadwell <me@jedevc.com>
@crazy-max crazy-max mentioned this pull request Nov 21, 2022
@jedevc jedevc merged commit e36be48 into master Nov 21, 2022
@jedevc jedevc deleted the go-port branch November 21, 2022 13:53
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.

2 participants