-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Homebrew version of mcap records a strange library string #591
Comments
FWIW, homebrew manually passes Not sure how this would end up being |
Line 55 in d96232f
|
It looks like the version is pulled from here with Line 23 in 2079142
This could be using the version number from some homebrew repo and not the mcap repo. |
This appears to be fixed in |
I'm still seeing that |
|
**Public-Facing Changes** None. **Description** With context from golang/go#29228, the result of runtime/debug.BuildInfo.Main.Version is not well defined. Here we use an internally-defined Version as our library version in all contexts. We also add a test when using a go library release tag `go/mcap/v1.2.3` that the Version string is correct. This PR also changes the behaviour of `Writer` to only append the existing library version if it's different from the current version. This removes the awkward behaviour of `mcap filter` where the resulting mcap Library would be `mcap go #(devel); mcap go #(devel); mcap go #(devel)...`. Fixes #591
Description
After installing mcap with Homebrew, running
mcap filter
on a file followed bymcap info
on the resulting file shows the following library string:The same string is repeated twice with a
;
separator, and the version is reported as "devel" even though this is the official 0.0.19 release distributed via Homebrew.The text was updated successfully, but these errors were encountered: