)]}'
{
  "commit": "de0231bfd11201f24c7caeb4872b548289b493c3",
  "tree": "4aee58fd82a2429cf80467bb4647ac7de1c8fbaf",
  "parents": [
    "480778fa89e88ec7b98321fdaa2475ada2f39393"
  ],
  "author": {
    "name": "LIU KUAN-FU",
    "email": "iamjeffliu@google.com",
    "time": "Wed Mar 15 08:11:07 2023"
  },
  "committer": {
    "name": "Chromeos LUCI",
    "email": "chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Mar 23 14:23:00 2023"
  },
  "message": "py: Add GetSystemInfo() in common.Util\n\n\u0027cros.factory.tools.factory_summary\u0027 was imported into \u0027core.py\u0027\nin CL:4274861, which causes the fail of dependency checking\nin presubmit.\nAccording to README.md of gooftool, gooftool should not use\nFactory Test or Device API.\n\nSo we make the following changes for it:\n1. Replace the word \u0027info\u0027 by \u0027summary\u0027 in the method name\n   in factory_summary for style consistency.\n2. Create a method called GetSystemInfo() in common.Util,\n3. Move the code snippets from factory_summary.GetSystemSummary()\n   to common.Util.GetSystemInfo().\n4. Call common.Util.GetSystemInfo() in\n   factory_summary.GetSystemSummary() and\n   core.Gooftool.GetSystemDetails().\n\nWe also integrate the additional system information in\ncore.Gooftool.GetSystemDetails() to common.Util.GetSystemInfo(),\nwhich is one of the tasks in the issue.\n\nBUG\u003db:269967293\nTEST\u003d(1)make test\n     (2)Manually run \u0027factory_summary system\u0027 on corsola DUT.\n\nChange-Id: I31818014cb35134e8beac7a06e7bd062babf2eb6\nReviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/factory/+/4325367\nReviewed-by: Phoebe Wang \u003cphoebewang@chromium.org\u003e\nTested-by: LIU KUAN-FU \u003ciamjeffliu@google.com\u003e\nCommit-Queue: LIU KUAN-FU \u003ciamjeffliu@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4ec59cbde62c15ce726f1196575bcacd5d1ec2e8",
      "old_mode": 33188,
      "old_path": "py/gooftool/common.py",
      "new_id": "3eb6b5fd59c5470b31dce3a8eca92b56e7d17f0b",
      "new_mode": 33188,
      "new_path": "py/gooftool/common.py"
    },
    {
      "type": "modify",
      "old_id": "601f2ff9cc4512b1c22d8fb2fadecd44c0ae0ca2",
      "old_mode": 33188,
      "old_path": "py/gooftool/core.py",
      "new_id": "b44c5b023a3631705d6c8ab58b1175dc40d94295",
      "new_mode": 33188,
      "new_path": "py/gooftool/core.py"
    },
    {
      "type": "modify",
      "old_id": "214f0d9270f79406912094e19574f7498e395dce",
      "old_mode": 33261,
      "old_path": "py/gooftool/gooftool_unittest.py",
      "new_id": "9dff68c2f24f22712e5132beecdee9e3f97afb2a",
      "new_mode": 33261,
      "new_path": "py/gooftool/gooftool_unittest.py"
    },
    {
      "type": "modify",
      "old_id": "dfa36773857bc7efd5e971fc270de3f4fb8b4bec",
      "old_mode": 33261,
      "old_path": "py/tools/factory_summary.py",
      "new_id": "328d70605efce9684677e06e9fef25a3a408c145",
      "new_mode": 33261,
      "new_path": "py/tools/factory_summary.py"
    }
  ]
}
