)]}'
{
  "commit": "aff037a2a2f75018dd297e16d4d41f07758cd4cf",
  "tree": "4a87d82b520caab70421e1753ab8601003a806fd",
  "parents": [
    "ff1e9364e61a7a353827f8e966ea0cbc5e9300c7"
  ],
  "author": {
    "name": "Anthonios Partheniou",
    "email": "partheniou@google.com",
    "time": "Wed Apr 21 11:00:09 2021 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Apr 21 15:00:09 2021 +0000"
  },
  "message": "chore: add scripts to update discovery artifacts (#1286)\n\nThese PR add the scripts from #1187 that are needed to update discovery artifacts using a Github action. The scripts will be removed from #1187 once all of the review comments from #1187 have been resolved.\r\n\r\nThis PR adds the following files under the `scripts/` folder\r\n- `README.md` to provide instructions on manually updating discovery artifacts and API reference documentation.\r\n- `buildprbody.py` creates a summary of the changes detected in discovery artifacts and writes them to `allapis.summary`.\r\n- `changesummary.py` creates verbose change information for each API with discovery artifact changes.\r\n- `createcommits.sh` creates git commits for each API with discovery artifact changes or reference document changes.\r\n- `updatediscoveryartifacts.py` is the python file that can be used to update discovery artifacts.\r\n\r\nI also moved `describe.py` under the scripts folder and modified it to save the discovery artifacts that are fetched.\r\n\r\nTODO:\r\n- [x] Add tests for scripts\r\n- [x] Address review comments in #1187",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e53724e0494ff5d34e7e4dbebb9c00f8fcb3b592",
      "old_mode": 33261,
      "old_path": "describe.py",
      "new_id": "1f846fd881cf0710ccab5c80f4e6163817e08b6c",
      "new_mode": 33261,
      "new_path": "describe.py"
    },
    {
      "type": "modify",
      "old_id": "4808772fd39db2725796a677e322e01378a12db5",
      "old_mode": 33188,
      "old_path": "noxfile.py",
      "new_id": "0fda3e1ffe4fe2af05fb6fb21c78ce7bac229aa7",
      "new_mode": 33188,
      "new_path": "noxfile.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f2b59bd7a6b84ee6e4bbefa126b49d0cf66c4460",
      "new_mode": 33188,
      "new_path": "scripts/README.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "10733b4750a96cfe936f88bd62d81b64feb85cdb",
      "new_mode": 33188,
      "new_path": "scripts/buildprbody.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "badb7b8b123891ff57f827dd18cc2c34a65608ef",
      "new_mode": 33188,
      "new_path": "scripts/changesummary.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "583dbe1ea154d38a3b4dcb7d1c6f652f5c3e694a",
      "new_mode": 33188,
      "new_path": "scripts/changesummary_test.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c6c23f3cd33fed0635e5f70ff3fa9f2216b2d0f2",
      "new_mode": 33261,
      "new_path": "scripts/createcommits.sh"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b60117fb3692e4e2ead472e126c440b5343c6330",
      "new_mode": 33188,
      "new_path": "scripts/requirements.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b3428377e23cfc903e89dd9df3db724662fbad60",
      "new_mode": 33188,
      "new_path": "scripts/test_resources/current_artifacts_dir/bigquery.v2.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9c8d039944af2cf038639adc0543bc98073f54eb",
      "new_mode": 33188,
      "new_path": "scripts/test_resources/current_artifacts_dir/cloudtasks.v2.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e965bbc442231be070f96ef94f70bededf9a9520",
      "new_mode": 33188,
      "new_path": "scripts/test_resources/new_artifacts_dir/bigquery.v2.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5ac70fe21b43c9596aff2b3e2237073d009eda41",
      "new_mode": 33188,
      "new_path": "scripts/test_resources/new_artifacts_dir/drive.v3.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1821ba8c7b3ca0297ebdb9bcc9722460ec1d91f5",
      "new_mode": 33188,
      "new_path": "scripts/updatediscoveryartifacts.py"
    }
  ]
}
