Skip to content
This repository has been archived by the owner on Nov 13, 2018. It is now read-only.

RPM git short hash has one too many characters #1330

Closed
elsloo opened this issue Apr 20, 2016 · 2 comments · Fixed by #1551
Closed

RPM git short hash has one too many characters #1330

elsloo opened this issue Apr 20, 2016 · 2 comments · Fixed by #1551

Comments

@elsloo
Copy link
Contributor

elsloo commented Apr 20, 2016

When building all Traffic Control RPMs, the Traffic Router and Monitor RPMs contain an additional character in the git short hash. Ensure that the resulting hash matches across all RPMs.

e.g.: traffic_monitor-1.5.0-3027.8d600a8e6.el6.x86_64.rpm should be traffic_monitor-1.5.0-3027.8d600a8e.el6.x86_64.rpm

@mtorluemke
Copy link
Contributor

Looks like Traffic Ops has the same issue.

@elsloo
Copy link
Contributor Author

elsloo commented Apr 20, 2016

Doesn't appear to be that way on my side:

[root@host RELEASE-1.5.0-RC1]# for file in *; do name=$(echo $file |awk -F\- '{print $1}'); hash=$(echo $file |awk -F. '{print $4}'); hashCount=$(echo -n $hash |wc -c); echo "$name -> $hash = $hashCount"; done |sort -k3
traffic_monitor -> 8d600a8e6 = 9
traffic_router -> 8d600a8e6 = 9
traffic_ops -> 8d600a8e = 8
traffic_ops -> 8d600a8e = 8
traffic_ops_ort -> 8d600a8e = 8
traffic_ops_ort -> 8d600a8e = 8
traffic_stats -> 8d600a8e = 8
traffic_stats -> 8d600a8e = 8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants