Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up[Feature Request] Put full Git commit id in prometheus_build_info's revision label #1748
Comments
brian-brazil
added
the
kind/enhancement
label
Jul 13, 2016
This comment has been minimized.
This comment has been minimized.
|
Does this have any real advantages? I can only see how it would make things like dashboards showing this information require more space. |
This comment has been minimized.
This comment has been minimized.
|
Arguably, the UI should take care of UI considerations. The backend should be as explicit as possible. |
juliusv
added
the
help wanted
label
Jul 23, 2016
This comment has been minimized.
This comment has been minimized.
|
Fine with me. |
This comment has been minimized.
This comment has been minimized.
|
This is something that needs to be changed on prometheus/promu and not here, am I wrong? |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
Let me know if I can do anything to help, really love this project I'd love to spend sometime on it even though it's a small thing |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
We can add short-revision property and use both each when its needed |
This comment has been minimized.
This comment has been minimized.
|
I don't think we need to add a prop to store a semi-duplicated data. We can computes it, since a short-revision corresponds to the first seven characters. |
This comment has been minimized.
This comment has been minimized.
|
Great so just [:7] is enough
|
This comment has been minimized.
This comment has been minimized.
|
Nitpick, but |
This comment has been minimized.
This comment has been minimized.
|
And if it prints seven today, it might print ten tomorrow. That is part of
why I would use longform for all the things.
Richard
Sent by mobile; excuse my brevity.
|
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
PR open on Promu's repo to make the change. |
juliusv
closed this
in
prometheus/promu#39
Aug 6, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
RichiH commentedJun 17, 2016
As per subject; the extra storage is neglible and as humans don't need to type the string, it's better to use longform.