)]}'
{
  "commit": "2b118d43b6081e1faf8a9ec153f47bd59b2525d2",
  "tree": "92a937442e5c3baab5f956f1116c8e88325aede1",
  "parents": [
    "3dfd8031a9d48a88bd0b16a03520082061d893ff"
  ],
  "author": {
    "name": "Amin Hassani",
    "email": "ahassani@chromium.org",
    "time": "Tue Jan 21 19:32:50 2020"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Fri Jan 24 17:27:22 2020"
  },
  "message": "Revert \"update_engine: Deprecate major version 1\"\n\nThis partially reverts commit 55c75417e22d5026971276997924a345d9973bbc.\n\nIt turns out that we forgot a scenario when we deprecated major version\n1. We use update_engine in lab tests (specifically\nautoupdate_EndToEndTests on stable channel) to update a DUT to an\nold (very old) versions using actual update payloads so we can test that\nthey can get updated to newer versions. However, deprecating major\nversion 1 in the update_engine caused trouble because we no longer can\nupdate from a newer version to a version before M72 (to prepare the\ndevice for update test). We need to put this feature back until we find\na better solution for it.\n\nOn this CL, we only support major version 1 in the client and only for\ntest (non-official) images. We don\u0027t even bother adding paygen support\nfor it.\n\nThis CL should be reverted once we figured out what to do with\nprovisioning the autoupdate end to end tests.\n\nBUG\u003dchromium:1043428\nTEST\u003dFEATURES\u003dtest emerge-reef update_engine\nTEST\u003dcros deployed it, then cros flash using an m71 payload, it succeeded.\n\nChange-Id: I1fecbe3ae845b2e419f0999adc53e4732b1f7696\nReviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2013884\nReviewed-by: Tianjie Xu \u003cxunchang@google.com\u003e\nReviewed-by: Sen Jiang \u003csenj@chromium.org\u003e\nTested-by: Amin Hassani \u003cahassani@chromium.org\u003e\nCommit-Queue: Amin Hassani \u003cahassani@chromium.org\u003e\n(cherry picked from commit fac20229289cf4d4373fffe83037d44b780eabd0)\nReviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2016088\nReviewed-by: Amin Hassani \u003cahassani@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ee5f38cc14a5fed606ff309b5bb5c9b4658c465c",
      "old_mode": 33188,
      "old_path": "payload_consumer/delta_performer.cc",
      "new_id": "ef7bd9ee12bf4fa5604bfad946c87c1034353d3c",
      "new_mode": 33188,
      "new_path": "payload_consumer/delta_performer.cc"
    },
    {
      "type": "modify",
      "old_id": "786074754cdaaebc6f380aac9c0d14ebf0ae0bcb",
      "old_mode": 33188,
      "old_path": "payload_consumer/delta_performer.h",
      "new_id": "4493c2ae19f6de767dddc3282715a7a3ae9f17a7",
      "new_mode": 33188,
      "new_path": "payload_consumer/delta_performer.h"
    },
    {
      "type": "modify",
      "old_id": "5f557392d698a1ec63ad7255cf62549e28c1e360",
      "old_mode": 33188,
      "old_path": "payload_consumer/delta_performer_integration_test.cc",
      "new_id": "80cae865c9aac62fae269d9199b6b93f93e26803",
      "new_mode": 33188,
      "new_path": "payload_consumer/delta_performer_integration_test.cc"
    },
    {
      "type": "modify",
      "old_id": "908a89339b81d992f257ad41922cce3f5c4c286a",
      "old_mode": 33188,
      "old_path": "payload_consumer/payload_constants.cc",
      "new_id": "4015a0ad9c5a0d211aa5c30e565c2ec1a1d60524",
      "new_mode": 33188,
      "new_path": "payload_consumer/payload_constants.cc"
    },
    {
      "type": "modify",
      "old_id": "888fa2a15f22f68bb85eda2c64f9af28bf225e45",
      "old_mode": 33188,
      "old_path": "payload_consumer/payload_constants.h",
      "new_id": "fe823f41940ace1585e90b99dd1533c01e212ecb",
      "new_mode": 33188,
      "new_path": "payload_consumer/payload_constants.h"
    },
    {
      "type": "modify",
      "old_id": "4d8ee7b4ffb9d68b7a7736a315c191f4c3d75fdf",
      "old_mode": 33188,
      "old_path": "payload_consumer/payload_metadata.cc",
      "new_id": "4f1674071a387d9879cec6e67d5e54cb8cf94639",
      "new_mode": 33188,
      "new_path": "payload_consumer/payload_metadata.cc"
    },
    {
      "type": "modify",
      "old_id": "be43c41052fcd96a97ea6287d99d34b65129c465",
      "old_mode": 33188,
      "old_path": "payload_consumer/payload_metadata.h",
      "new_id": "32923518b75787bc0e30d54e91a79803a0fbd40c",
      "new_mode": 33188,
      "new_path": "payload_consumer/payload_metadata.h"
    },
    {
      "type": "modify",
      "old_id": "420329ff45c99b6b3ef4fe8315f03469a842f992",
      "old_mode": 33188,
      "old_path": "payload_generator/payload_signer.cc",
      "new_id": "613202d09b71745c29fcf9f6635b283c2f12bdc9",
      "new_mode": 33188,
      "new_path": "payload_generator/payload_signer.cc"
    },
    {
      "type": "modify",
      "old_id": "c738e4ef1d3a2d2cb9744a859406e963cea4c0cd",
      "old_mode": 33188,
      "old_path": "update_attempter_android.cc",
      "new_id": "e2b5a88a2c2a06619d0f40801b8b6e83265dbf00",
      "new_mode": 33188,
      "new_path": "update_attempter_android.cc"
    }
  ]
}
