Bug 43476 - FR: Add SHA1 to "build x from y fetched at z" line
Summary: FR: Add SHA1 to "build x from y fetched at z" line
Status: NEW
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: girar (show other bugs)
Version: unspecified
Hardware: x86 Linux
: P5 normal
Assignee: placeholder@altlinux.org
QA Contact: Andrey Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-09 04:22 MSK by Vitaly Chikunov
Modified: 2022-08-27 21:12 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Chikunov 2022-08-09 04:22:12 MSK
In the Girar emails, line

  #300 build 1.13-alt1 from /people/vt/packages/libdeflate.git fetched at 2022-Aug-08 22:23:23

It would be better if it shows SHA1 commit rather than (or additionally to) TAG and DATE.

Because, it's possible to `git diff` locally commit SHA1 with HEAD, but it's not possible to diff TAG (because it's frequently overwritten) or DATE.

It's useful sometimes to see what is changed between builds, but tags are transient because we need to overwrite them to trigger a build and dates aren't resolve to anything.
Comment 1 Dmitry V. Levin 2022-08-09 09:24:56 MSK
Wouldn't the line become unreadably long?
Comment 2 Vitaly Chikunov 2022-08-09 10:15:42 MSK
It also will start to have what to read.
Comment 3 Vitaly Chikunov 2022-08-09 10:17:58 MSK
Also, date (such as "at 2022-Aug-08 22:23:23") can be replaced completely with a "short sha1".
Comment 4 Vitaly Chikunov 2022-08-09 10:23:26 MSK
Also2, mutt is able to wrap long lines, and Incominger web view is usually much wider on the screen and have room to extend the line. And finally this info is so useful and if it does not fit one line a second line could be added.
Comment 5 Vitaly Chikunov 2022-08-27 21:12:07 MSK
Почему с логе не находится места для полезной информации?