| [ |
| { |
| "cmd": [], |
| "name": "checkout" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/fuchsia" |
| ], |
| "infra_step": true, |
| "name": "checkout.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://fuchsia.googlesource.com/fuchsia" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.git remote", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.set fetch.uriprotocols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "main", |
| "--recurse-submodules" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.git rev-parse", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.git clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive", |
| "--force" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/fuchsia" |
| ], |
| "infra_step": true, |
| "name": "makedirs" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git init" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://fuchsia.googlesource.com/fuchsia.git" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git remote" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "set fetch.uriprotocols" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "main", |
| "--recurse-submodules" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git fetch" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git checkout" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git rev-parse" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git clean" |
| }, |
| { |
| "cmd": [], |
| "name": "submodule" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive", |
| "--force" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "https://fuchsia.googlesource.com/fuchsia.git", |
| "--no-recurse-submodules" |
| ], |
| "name": "git fetch (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--all" |
| ], |
| "name": "git fetch (3)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git rev-parse (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "set config" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "show", |
| "HEAD", |
| "--format=%at", |
| "--no-patch" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "get commit ts" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "show", |
| "HEAD", |
| "--format=%B", |
| "--no-patch" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "get commit msg", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@commit message@[foo] bar@@@", |
| "@@@STEP_LOG_LINE@commit message@baz@@@", |
| "@@@STEP_LOG_END@commit message@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "show", |
| "HEAD", |
| "--format=%B", |
| "--no-patch", |
| "--oneline" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "get commit msg (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@commit message@[foo] bar@@@", |
| "@@@STEP_LOG_LINE@commit message@baz@@@", |
| "@@@STEP_LOG_END@commit message@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff-tree", |
| "--no-commit-id", |
| "--name-only", |
| "-r", |
| "-z", |
| "--diff-filter=d", |
| "--ignore-submodules=all", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git diff-tree", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@files@foo.txt@@@", |
| "@@@STEP_LOG_END@files@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "-c", |
| "foo=bar", |
| "status" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git status" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "branch", |
| "--contains", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git branch", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@stdout@@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "branch", |
| "--remotes", |
| "--contains", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git branch remotes", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@stdout@@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rebase", |
| "origin/main" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git rebase" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "describe", |
| "--tags", |
| "--contains", |
| "--exact-match", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git describe" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "describe", |
| "--tags", |
| "--contains", |
| "--exact-match", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git describe (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "describe", |
| "--tags", |
| "--contains", |
| "--exact-match", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git describe (3)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--symref", |
| "https://fuchsia.googlesource.com/fuchsia", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git ls-remote --symref HEAD" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://fuchsia.googlesource.com/fuchsia", |
| "main" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git ls-remote" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://fuchsia.googlesource.com/fuchsia" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git ls-remote (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--tags", |
| "https://fuchsia.googlesource.com/fuchsia", |
| "testtag" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "get remote tag" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "1337000001.5", |
| "[START_DIR]/fuchsia/time.txt" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "drop file", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@time.txt@1337000001.5@@@", |
| "@@@STEP_LOG_END@time.txt@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| "--update", |
| "[START_DIR]/fuchsia/time.txt" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git add" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| "--all", |
| "--intent-to-add", |
| "--force" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git add (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-files", |
| "--modified", |
| "--deleted", |
| "--exclude-standard", |
| "--others", |
| "-z", |
| "--", |
| "*.txt" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git ls-files" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "a", |
| "b", |
| "c" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git submodule update" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git submodule update (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "example change 1" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git commit" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "example change 2", |
| "[START_DIR]/fuchsia/time.txt" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git commit (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "example change 3", |
| "-a" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git commit (3)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| "--all" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git add (3)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "example change 4" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git commit (4)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "example change 4 (amended)", |
| "--amend" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git commit (5)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "--no-edit", |
| "--amend" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git commit (6)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "example change 5", |
| "--allow-empty", |
| "--author", |
| "foo <bar@example.com>" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git commit (7)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "merge-base", |
| "--is-ancestor", |
| "abcdef", |
| "ghjklm" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "is ancestor" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "merge-base", |
| "--is-ancestor", |
| "abcdef", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "is ancestor (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "tag", |
| "v1.0.0" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git tag" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "cherry-pick", |
| "abcdef", |
| "--strategy-option", |
| "theirs" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git cherry-pick" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "revert", |
| "abcdef", |
| "--strategy-option", |
| "ours" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git revert" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git diff" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff", |
| "HEAD^", |
| "HEAD", |
| "--unified=5", |
| "--cached", |
| "--exit-code" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git diff (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "-C", |
| "[START_DIR]/fuchsia", |
| "checkout", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git checkout (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "hash-object", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git hash-object" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "-C", |
| "foo/bar", |
| "log", |
| "-n", |
| "10" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git log" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "apply", |
| "[TMP_BASE]/git.patch" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "apply patch" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "--dry-run", |
| "origin", |
| "HEAD:refs/for/main" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git push" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "--push-option", |
| "nokeycheck", |
| "origin", |
| "HEAD:refs/for/main" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git push (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "--atomic", |
| "origin", |
| "HEAD:refs/heads/main", |
| "refs/tags/foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git push (3)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--remove-section", |
| "feature.experimental" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "remove section" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-list", |
| "--count", |
| "foo..bar" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git rev-list --count" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |