)]}'
{
  "commit": "7614e22859879701f7653db734bd9a19b3ed10b2",
  "tree": "1ed76c96e17c747893de22d795733adf7f5ffcf3",
  "parents": [
    "71f39c26f988ef0698703c3deb32fd13c4459d06"
  ],
  "author": {
    "name": "Joey Armstrong",
    "email": "joey@opennetworking.org",
    "time": "Thu Sep 28 17:18:33 2023 -0400"
  },
  "committer": {
    "name": "Joey Armstrong",
    "email": "joey@opennetworking.org",
    "time": "Mon Oct 02 13:33:26 2023 +0000"
  },
  "message": "Enhance shellcheck lint target (3 of 3 -- lint-shell target logic)\n\nmakefiles/lint/shell/help.mk\n----------------------------\n  o Top level include used to source all lint-shell library makefiles.\n  o Loosely based on makefiles/{groovy,doc8}/*.\n  o Currently library makefile makefiles/shell.mk deprecation pending.\n  o Prefix yet-to-be-added makefile includes with hyphen to prevent errors.\n\nmakefiles/lint/shell/shellcheck.sh\n----------------------------------\n  o Enhance makefiles/shell.mk to support more lint targets.\n  o Three targets are now supported:\n    - lint-shell-all   current behavior, run shellcheck on all sources\n    - lint-shell-mod   new: lint locally modified files (~git status)\n    - lint-shell-src   new: run shellcheck on a list of files passed in.\n  o Added helper function gen-lint-shell-deps:\n    - generate a list of dependency based on makefile target.\n    - dependency list is assigned to a variable named for the target.\n    - avoids having to inline duplicate construction around targets.\n  o Each target lint-shell-{all,mod,src} defines a list of\n    dependencies/files to launch shellcheck on.\n  o Target dependency lists allowed replacing \"find | xargs shellcheck\"\n    commands with an explicit per-source-to-check target.\n  o Structure will also allow supporting exclusion lists in the future.\n\nunit-testing:\nHelper script mcheck.sh will create a usable sandbox from shellcheck patches to evaluate targets.\nshellcheck (make lint-shell*) will report problems in bin/setup.sh:\n  o https://wiki.opennetworking.org/display/VOLTHA/repo%3Aonf-make\n\nChange-Id: Id6ed1f66f80e63b4cc1c857f56c1fa342635df62\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "63797d5c58e76b35c91dd30096b31a3764d8be60",
      "new_mode": 33188,
      "new_path": "makefiles/lint/shell/include.mk"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5f9a03abf8e2db6cb22344921e52eec25c924500",
      "new_mode": 33188,
      "new_path": "makefiles/lint/shell/shellcheck.mk"
    }
  ]
}
