)]}'
{
  "commit": "2cbf09925ad45401673a79ab77f67de2f04a826c",
  "tree": "50fb23198c62297cdcc892e6d57301109621cfd4",
  "parents": [
    "10d4d997f86cf2a4ce89145df5658952d5722e56"
  ],
  "author": {
    "name": "Eric Blake",
    "email": "eblake@redhat.com",
    "time": "Mon May 04 09:05:24 2015 -0600"
  },
  "committer": {
    "name": "Markus Armbruster",
    "email": "armbru@redhat.com",
    "time": "Tue May 05 18:39:01 2015 +0200"
  },
  "message": "qapi: More rigorous checking for type safety bypass\n\nNow that we have a way to validate every type, we can also be\nstricter about enforcing that callers that want to bypass\ntype safety in generated code.  Prior to this patch, it didn\u0027t\nmatter what value was associated with the key \u0027gen\u0027, but it\nlooked odd that \u0027gen\u0027:\u0027yes\u0027 could result in bypassing the\ngenerated code.  These changes also enforce the changes made\nearlier in the series for documentation and consolidation of\nusing \u0027**\u0027 as the wildcard type, as well as \u0027gen\u0027:false as the\ncanonical spelling for requesting type bypass.\n\nNote that \u0027gen\u0027:false is a one-way switch away from the default;\nwe do not support \u0027gen\u0027:true (similar for \u0027success-response\u0027).\nIn practice, this doesn\u0027t matter.\n\nSigned-off-by: Eric Blake \u003ceblake@redhat.com\u003e\nReviewed-by: Markus Armbruster \u003carmbru@redhat.com\u003e\nSigned-off-by: Markus Armbruster \u003carmbru@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2402d053e4c6ae17159c68b9863a495ebd53ae65",
      "old_mode": 33188,
      "old_path": "scripts/qapi.py",
      "new_id": "e391b5a649a670fb67d9520d22f6d64db16c2197",
      "new_mode": 33188,
      "new_path": "scripts/qapi.py"
    },
    {
      "type": "modify",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "tests/qapi-schema/type-bypass-bad-gen.err",
      "new_id": "a83c3c655de2d0b8d6255f0f0d78ec647cafb5d5",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/type-bypass-bad-gen.err"
    },
    {
      "type": "modify",
      "old_id": "573541ac9702dd3969c9bc859d2b91ec1f7e6e56",
      "old_mode": 33188,
      "old_path": "tests/qapi-schema/type-bypass-bad-gen.exit",
      "new_id": "d00491fd7e5bb6fa28c517a0bb32b8b506539d4d",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/type-bypass-bad-gen.exit"
    },
    {
      "type": "modify",
      "old_id": "bb70bee085b81938374de6ddcddbdfdc6f7a709b",
      "old_mode": 33188,
      "old_path": "tests/qapi-schema/type-bypass-bad-gen.json",
      "new_id": "e8dec342492d01efb0eebc31b84a60454cb6f30b",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/type-bypass-bad-gen.json"
    },
    {
      "type": "modify",
      "old_id": "e678f2c18e116d13fc4c98349b91768e449944d7",
      "old_mode": 33188,
      "old_path": "tests/qapi-schema/type-bypass-bad-gen.out",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/type-bypass-bad-gen.out"
    },
    {
      "type": "modify",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "tests/qapi-schema/type-bypass-no-gen.err",
      "new_id": "20cef0a8a7fd5477578564a8a0dc1d032275a3ee",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/type-bypass-no-gen.err"
    },
    {
      "type": "modify",
      "old_id": "573541ac9702dd3969c9bc859d2b91ec1f7e6e56",
      "old_mode": 33188,
      "old_path": "tests/qapi-schema/type-bypass-no-gen.exit",
      "new_id": "d00491fd7e5bb6fa28c517a0bb32b8b506539d4d",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/type-bypass-no-gen.exit"
    },
    {
      "type": "modify",
      "old_id": "af87c191adf88b58d69f1eb4a23ebd28ef6644db",
      "old_mode": 33188,
      "old_path": "tests/qapi-schema/type-bypass-no-gen.json",
      "new_id": "4feae3719c07f5f4b4f1a45be3f6fe0c0cb5f80b",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/type-bypass-no-gen.json"
    },
    {
      "type": "modify",
      "old_id": "8b2a9ac94a48f45ef424b7ea80d492429607bc45",
      "old_mode": 33188,
      "old_path": "tests/qapi-schema/type-bypass-no-gen.out",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "tests/qapi-schema/type-bypass-no-gen.out"
    }
  ]
}
