Skip to content

push vs PR commit #55

@yarikoptic

Description

@yarikoptic

I had mentioned that I had only github actions in one folder and apparently travis + appveyor gets sorted out into another:

(tinuous-dev) datalad@smaug:/mnt/datasets/datalad/ci/logs/2021/05$ ls 24/pr/5693/*
24/pr/5693/5a27faf:
appveyor-6046-failed  appveyor-6046-success  travis-11955-success

24/pr/5693/d524cd9:
 github-Benchmarks-3127-success   github-CrippledFS-1683-success   github-Docs-3127-success   github-Extensions-3127-success   github-Linters-103-success  'github-Shellcheck on scripts-1314-success'  'github-Test on macOS-1364-success'

because:

(git)lena:~datalad/datalad-master[nf-foreach]git
$> git show d524cd9    
commit d524cd9c8af5a57192999a34647bfb970bd0e80e (refs/pull/origin/5693/head)
Author: Kyle Meyer <kyle@kyleam.com>
Date:   Mon May 24 09:24:43 2021 -0400

    TST: test_fileinfo: Be more specific about status() return value
    
    Re: https://github.com/datalad/datalad/pull/5693#pullrequestreview-666722514

....
$> git show 5a27faf    
commit 5a27fafa8616eb6ab62f6b2ff6b67c6ff39ffb71 (refs/pull/origin/5693/merge)
Merge: f63ed567d d524cd9c8
Author: Kyle Meyer <kyle@kyleam.com>
Date:   Mon May 24 09:28:35 2021 -0400

    Merge d524cd9c8af5a57192999a34647bfb970bd0e80e into f63ed567dbc79cc8b22a51b7e00f9fb2419dcb66

so 5a27faf is the merge of that PR commit into corresponding branch.

For the purpose of tinuous I would have liked to have all of those under the same commit/directory for the PR or it would be hard to impossible to bring them together into coherent collection of the CI logs for a given state of the PR. I wonder if that is possible?! is the original commit of the PR branch returned by travis and appveyor? then may be we could have refcommit and refcommit_abbrev or alike.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions