kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

Display build date instead of full commit hash in version info

Open Haarolean opened this issue 3 years ago • 3 comments

  1. Remove VITE_TAG
  2. Remove VITE_COMMIT
  3. fetch info from Spring API /actuator/info {commit, tag, buildDate: timestamp}
  4. If tag is a version (v0.5.0) fetch latest version from github and compare with tag.
  5. If tag is a commit we need to display formatted timestamp (/api/info/timestampformat)
  6. if tag contains -SNAPSHOT - display formatted timestamp
  7. Keep the short one with the link

Haarolean avatar May 08 '22 00:05 Haarolean

{"git":{"commit":{"id":"c8306f5"}},"build":{"artifact":"kafka-ui-api","name":"kafka-ui-api","time":"2022-09-15T02:31:12.047Z","version":"0.0.1-SNAPSHOT","group":"com.provectus"}} #2583

Haarolean avatar Sep 15 '22 02:09 Haarolean

7th point is unclear

habrahamyanpro avatar Sep 15 '22 08:09 habrahamyanpro

7th point is unclear

a short commit contains a link, let's keep it

Haarolean avatar Sep 15 '22 09:09 Haarolean