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 gitcommit to runc builds #636

Merged
merged 1 commit into from
Mar 12, 2016
Merged

Conversation

crosbymichael
Copy link
Member

Signed-off-by: Michael Crosby crosbymichael@gmail.com

@marcosnils
Copy link
Contributor

@crosbymichael #244 (comment) ?

@crosbymichael
Copy link
Member Author

@marcosnils i honestly have no clue what is going on in that thread.

I think it's good to have to git version compiled into the runc binary so that you know the exact commit that it was built from. Its also very simple to do.

And if people are building without git then they can build without our makefile as well

@mlaventure
Copy link
Contributor

if git errors out, use "local" instead?

@crosbymichael
Copy link
Member Author

i guess we can just remove that part if there is no git, that maybe the best outcome for everyone?

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
@crosbymichael
Copy link
Member Author

Ok, i changed it to exclude the commit information if it cannot be retrieved, i.e. you don't have git or the git checkout.

@marcosnils
Copy link
Contributor

@crosbymichael LGTM!

@crosbymichael
Copy link
Member Author

@marcosnils thanks for the review

@mrunalp
Copy link
Contributor

mrunalp commented Mar 12, 2016

LGTM

1 similar comment
@hqhq
Copy link
Contributor

hqhq commented Mar 12, 2016

LGTM

hqhq added a commit that referenced this pull request Mar 12, 2016
@hqhq hqhq merged commit bab300c into opencontainers:master Mar 12, 2016
@crosbymichael crosbymichael deleted the git-version branch March 14, 2016 17:51
stefanberger pushed a commit to stefanberger/runc that referenced this pull request Sep 8, 2017
[Config Solaris] Add anchor tags for headings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants