)]}'
{
  "commit": "1bcaf62b4cd836a894c67df2f353fa83ad386607",
  "tree": "eec794f284c3892b925d864c9c137129abe0883e",
  "parents": [
    "6e20cd2146a38bfee03efe23244f23b1fbb96bfe"
  ],
  "author": {
    "name": "juliexxia",
    "email": "juliexxia@google.com",
    "time": "Wed Jan 02 10:40:44 2019 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-piper@google.com",
    "time": "Wed Jan 02 10:42:24 2019 -0800"
  },
  "message": "Attribute parameterize all starlark attribute transition implementation functions.\n\nThe impl functions of these transitions currently take one argument but the final API calls for a second. For now, support both 1-param and 2-param transition impl functions to not break current users.\n\nThough this param looks like the attr param of the starlark rule `ctx` object, it\u0027s not exactly the same. For dependency-typed attributes, `ctx` can actually access the providers of those dependencies. For this attr object, we just see them as the representative labels. Current usage of transitions has no need to actually see providers so leaving as a TODO for now and we can reconsider when we find a use case.\n\nPiperOrigin-RevId: 227543951\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7604ca27800bc4b23ebb47c3e0e46833df58fd90",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/analysis/config/StarlarkDefinedConfigTransition.java",
      "new_id": "89a33e64602d4f2816e9f735c6220e61df1f5e54",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/analysis/config/StarlarkDefinedConfigTransition.java"
    },
    {
      "type": "modify",
      "old_id": "11ece1c6b6b9db2ee2775e30f39e40aa835488ee",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/analysis/skylark/FunctionSplitTransitionProvider.java",
      "new_id": "d374a753b56ef55af8168e6e95b570d126c605c3",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/analysis/skylark/FunctionSplitTransitionProvider.java"
    },
    {
      "type": "modify",
      "old_id": "fbf027ca83dc65f4d7cc4c201db2298445b26e62",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkAttributesCollection.java",
      "new_id": "c00061295dd1955d8453348cbc9b235581f4e86a",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/analysis/skylark/SkylarkAttributesCollection.java"
    },
    {
      "type": "modify",
      "old_id": "8e5d867c60075f95fb65702ffaa36578842789b6",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/analysis/FunctionSplitTransitionProviderTest.java",
      "new_id": "6aab61ae262ddb51c4a07f5b2db83aa54e699a2d",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/analysis/FunctionSplitTransitionProviderTest.java"
    }
  ]
}
