-
Notifications
You must be signed in to change notification settings - Fork 489
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
Issue-3479: Refactor: Fetch Platform Version #3485
Issue-3479: Refactor: Fetch Platform Version #3485
Conversation
9f18d0d
to
0406871
Compare
@jamrok Thanks for the quick turnaround! I think there are 2 points of feedback:
|
0406871
to
fe52f61
Compare
Thanks for the feedback @tjtelan!
Please let me know if you have any other suggestions. Thanks |
fe52f61
to
3d0961c
Compare
3d0961c
to
c6174c5
Compare
Hey @tjtelan, just checking on this. I had a couple questions in my last comment. I also rebased and resolved the merge conflicts. |
println!("cargo:rerun-if-changed=build.rs"); | ||
|
||
// Parse the Fluvio Platform Version | ||
let version = include_str!("../../VERSION").trim(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why parsing this again? This won't work since it is public crate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is my bad. At the time of my feedback I didn't consider that this was a public crate
Stale pull request message |
Hey @tjtelan,
I added a common library (
fluvio-common
) to parse theVERSION
file and made all relevant crates refer to it. I saw that there wasfluvio-cli-common
, but It seemed more specific tofluvio-cli
versus being a light dependency that can be used by all.Please let me know if there's another place that you recommend that the change be made.
Thanks
Resolves #3479