)]}'
{
  "commit": "b631f8f2f305d1a532ec24252c3a8c314d168f2c",
  "tree": "0ddb110f4db6c0ebfc703500079a5252124d2f1b",
  "parents": [
    "0a2ec45120cf078947535c5ddfbd8244f0395ec7"
  ],
  "author": {
    "name": "Edwin Kempin",
    "email": "ekempin@google.com",
    "time": "Wed May 20 15:05:02 2020 +0200"
  },
  "committer": {
    "name": "Edwin Kempin",
    "email": "ekempin@google.com",
    "time": "Wed May 27 11:55:50 2020 +0200"
  },
  "message": "Add class for loading code owner configs from OWNERS files\n\nThe find-owners plugin reads code owner configurations from OWNERS files\nthat are stored in the source branches.\n\nThis change adds logic to the find-owners backend that can read such\nfiles. Reading the files is implemented in the CodeOwnerConfigFile class\nwhich is a subclass of VersionedMetaData. On load it reads and parses\nthe OWNERS file. The parsing is done by CodeOwnersConfigParser. After\nthe loading is done, callers can access the parsed CodeOwnerConfig.\n\nCodeOwnerConfigFile will also be responsible for creating and updating\nOWNERS files, but this part is not implemented yet (this will be done by\nfollow-up changes).\n\nSince we have now more than one test, we introduce an abstract base\nclass for all code owner tests so that we do not need to repeat the\n@TestPlugin annotation on all the test classes. The abstract base class\nwill also allow us to have the boilerplate code to instantiate code\nowner API classes in a single place, so that not all code onwer tests\nneed to do this instantiation (this will be done only when the API\nclasses get implemented).\n\nSigned-off-by: Edwin Kempin \u003cekempin@google.com\u003e\nChange-Id: If4bc673561665119dc06b5cc0896732cb5017523\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5ef2e7639545fcdd06a2d5e3833029605183aeee",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/plugins/codeowners/acceptance/AbstractCodeOwnersTest.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5cde3923b7c866ed55edc28a44a1d21b2a62c83b",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/plugins/codeowners/acceptance/BUILD"
    },
    {
      "type": "modify",
      "old_id": "7b30f404646bd706c9723807b5c7e71eeef990ac",
      "old_mode": 33188,
      "old_path": "java/com/google/gerrit/plugins/codeowners/backend/CodeOwnerConfig.java",
      "new_id": "7ef5a5b4a9dacfc78f5944430153edbba40f57ab",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/plugins/codeowners/backend/CodeOwnerConfig.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a332cd9c9397962af6e49546eb7788dbd31b14fe",
      "new_mode": 33188,
      "new_path": "java/com/google/gerrit/plugins/codeowners/backend/findowners/CodeOwnerConfigFile.java"
    },
    {
      "type": "modify",
      "old_id": "7d24bf72ef86a29a90179dcf076a938181c7756d",
      "old_mode": 33188,
      "old_path": "javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerConfigTest.java",
      "new_id": "b2fca9097539f1b845636e24b698181b41ecb331",
      "new_mode": 33188,
      "new_path": "javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerConfigTest.java"
    },
    {
      "type": "modify",
      "old_id": "4ce19e0fcf72eeca3522e026ea7663c9b5532fa3",
      "old_mode": 33188,
      "old_path": "javatests/com/google/gerrit/plugins/codeowners/backend/findowners/BUILD",
      "new_id": "b32e5b7391b07b4482edfa9629ba37f5bbcc7290",
      "new_mode": 33188,
      "new_path": "javatests/com/google/gerrit/plugins/codeowners/backend/findowners/BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1824b94813a0958a0da08b606aaf5b73c512ebf7",
      "new_mode": 33188,
      "new_path": "javatests/com/google/gerrit/plugins/codeowners/backend/findowners/CodeOwnerConfigFileTest.java"
    },
    {
      "type": "modify",
      "old_id": "2d2a02f3beade98b6f387619364570104eb9d5d6",
      "old_mode": 33188,
      "old_path": "javatests/com/google/gerrit/plugins/codeowners/backend/findowners/CodeOwnerConfigParserTest.java",
      "new_id": "33b3b3560713b8239b285104e286f507cd83dd77",
      "new_mode": 33188,
      "new_path": "javatests/com/google/gerrit/plugins/codeowners/backend/findowners/CodeOwnerConfigParserTest.java"
    }
  ]
}
