-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Print commit SHA256 when invoking "make install" #3786
Conversation
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.
✅ A review job has been created and sent to the PullRequest network.
@martinmr you can click here to see the review status or cancel the code review job.
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.
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.
Is this based on some request? I had a chat with Daniel about Dgraph binary printing out the SHA256 checksum of the binary itself.
Reviewable status: 0 of 1 files reviewed, all discussions resolved (waiting on @danielmai and @manishrjain)
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 was looking at unassigned tasks in asana and this was there.
https://app.asana.com/0/1134394294595169/1134548811140584/f
Reviewable status: 0 of 1 files reviewed, all discussions resolved (waiting on @danielmai)
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.
It'd be a bit weird (if not practically impossible) to embed the SHA256 sum into the Dgraph binary for |
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.
Yeah, I thought about the flaw in that requested logic later. But, we technically don't need to embed the SHA-256 in the binary itself. Could the binary "locate" itself and do a SHA-256 checksum at runtime?
If it is hard, don't worry about it.
Reviewable status: 0 of 1 files reviewed, all discussions resolved (waiting on @danielmai)
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 can look into that in a separate PR. I still think it's useful to output the commit checksum when running make install
Reviewable status: 0 of 1 files reviewed, all discussions resolved (waiting on @danielmai)
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.
Reviewable status: 0 of 1 files reviewed, all discussions resolved (waiting on @danielmai)
This change is