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

Add initial_version to launcher info table, update a log line #1741

Merged
merged 4 commits into from
Jun 7, 2024

Conversation

directionless
Copy link
Contributor

I've often wanted to know what the initial launcher version is. But, we don't expose that anywhere. This is a fairly simple addition that should help expose how launcher is running. Fixes #1740

Also tweak a log line about resetting the database.

@directionless directionless marked this pull request as ready for review June 7, 2024 01:13
RebeccaMahany
RebeccaMahany previously approved these changes Jun 7, 2024
Copy link
Contributor

@RebeccaMahany RebeccaMahany left a comment

Choose a reason for hiding this comment

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

Neat!

"serial", serialChanged,
"hardware_uuid", hardwareUUIDChanged,
"munemo", munemoChanged,
)
Copy link
Contributor

Choose a reason for hiding this comment

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

This data also gets logged on ~85 if any of them are true -- want to remove that extra log since it'd be redundant with this one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tweaked a little. How's this?

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks reasonable to me!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thummmbbbbss

Copy link
Contributor Author

Choose a reason for hiding this comment

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

arrg. Committed too much. must revert

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@directionless directionless added this pull request to the merge queue Jun 7, 2024
Merged via the queue into kolide:main with commit 4ca152b Jun 7, 2024
20 of 21 checks passed
@directionless directionless deleted the seph/tweaks branch June 7, 2024 15:52
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.

Launcher should expose the originally installed version, and not just the current version
2 participants