mirror of
https://github.com/containers/podman.git
synced 2025-06-25 03:52:15 +08:00
logformatter: include base SHA, with history link
This is to help me in my flake analysis. Scenario: I'm looking at recent flakes, and see Flake X. I know that Flake X was "fixed" two weeks ago. Did the fix not work? Or is this just one of those PRs that was created three weeks ago (or three months ago) and never rebased to pick up the fix? This adds a one-click way for me to tell. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -652,6 +652,11 @@ END_SYNOPSIS
|
||||
_a("{CIRRUS_BUILD_ID}", "https://cirrus-ci.com/build/{CIRRUS_BUILD_ID}"),
|
||||
_a("{CIRRUS_TASK_ID}", "https://cirrus-ci.com/task/{CIRRUS_TASK_ID}")));
|
||||
|
||||
# BASE_SHA can tell us if our parent includes--or doesn't--a purported
|
||||
# fix for a flake. Note that "commits", plural, links to a git history
|
||||
# listing; if we used "commit", singular, that would be less useful.
|
||||
$s .= _tr("Base commit", _a("{CIRRUS_BASE_SHA}", "https://{CIRRUS_REPO_CLONE_HOST}/{CIRRUS_REPO_FULL_NAME}/commits/{CIRRUS_BASE_SHA}"));
|
||||
|
||||
$s .= "</table>\n";
|
||||
return $s;
|
||||
}
|
||||
|
Reference in New Issue
Block a user