Always show the git commit in fetch task logs
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(firefox97 fixed)
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
Details
Attachments
(1 file)
99% of the fetch tasks that pull from a git repo pull from a specific revision, as specifically intended. There is however one exception, which is the clang-trunk fetch, which is intended to always pull the last revision on clang trunk. Unfortunately, the log also doesn't say what specific commit it checked out.
Assignee | ||
Comment 1•2 years ago
|
||
99% of the fetch tasks that pull from a git repo pull from a specific
revision, as specifically intended. There is however one exception,
which is the clang-trunk fetch, which is intended to always pull the
last revision on clang trunk. Unfortunately, the log also doesn't say
what specific commit it checked out.
Ironically, the log for all the other tasks does say which commit is
checked out, because git prints it out when it goes in detached head
state, which it does when checking out a specific sha1 (so in that
case, it's printing something we already know).
In the one instance where we checkout a branch, we don't rely on the
branch being checked out, so we just forcibly go in the same state of
detached head in that case too.
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/9d5b5b1e9944 Always show the git commit in fetch task logs. r=taskgraph-reviewers,aki
Comment 3•2 years ago
|
||
bugherder |
Description
•