{"push_id":766854265,"size":10,"distinct_size":10,"ref":"refs/heads/L51","head":"15b1a3d40f6f231bd22708f87811925fd9e63136","before":"307589957a3b4a1b1de0c8421e490bdc920cd666","commits":[{"sha":"080390f638b7a9b83d35b108b37c131293e5eb20","author":{"email":"e415d992ceac2f7788d46b935cedb0662d071545@google.com","name":"Jesse Zhao"},"message":"Fix the error that free_string is not defined.\n\nChange-Id: I7490a91ea930daaf194dad0c8b3a3357558b4770\nBug:19573713\n(cherry picked from commit 7ca20d1a1c422dddbdca97c7927cfadd6c38dc68)","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/build/commits/080390f638b7a9b83d35b108b37c131293e5eb20"},{"sha":"a195bcf2a830434ac428e0ded546a8dde0b69b6e","author":{"email":"182db38418e642f049f02ddc30561c97597cfb29@google.com","name":"Michael Runge"},"message":"Do not use block_verify on target-files where feature is missing.\n\nThis will only be used when the block file format is at least\nversion 3.  For V1/V2 (L, L MR1) block versions, fall back to\nthe old range_sha1 check.\n\nBug: 19357591\nChange-Id: I7cb178b70d48ec3c98cdb88ed1c94cf7797a01d0\n(cherry picked from commit cad78c12fbb44b6030bcc80823c010e65b9c3f37)","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/build/commits/a195bcf2a830434ac428e0ded546a8dde0b69b6e"},{"sha":"e1b758200ae4d6d84f1baa536b25f74f507dad88","author":{"email":"e93baac950f19c7ac011a8ef5649da421f4690b8@google.com","name":"Tao Bao"},"message":"Restrict the verification in block-based incremental OTAs\n\nBlockImageDiff has three versions. Only the incremental OTAs generated\nwith the latest version (3) can be re-applied to the system that's\nalready on the target build. Otherwise, operations like move will make\nunconditional changes and damage the system. During the verification\nphase, abort the OTA update if BlockImageDiff is less than 3 and it\ndoesn't match the checksum of the source build.\n\nChange-Id: Ic630346eab2a993a84d0aeaacd7167ef62cc24f6\n(cherry picked from commit daebaa6ed3fbf4e7943e6c8290ec6b9233b542e9)","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/build/commits/e1b758200ae4d6d84f1baa536b25f74f507dad88"},{"sha":"8b7a6eb0afe5c6cf0c29bd1b88524e2a284bccb9","author":{"email":"13b5b7039a021b8cc9f1fde674d009cb5243a69d@google.com","name":"Sami Tolvanen"},"message":"Calculate max_stashed_blocks correctly for block OTA v3\n\nThe updater automatically stashes overlapping source blocks to\nmake it possible to resume if the command performing the update\nis interrupted. However, blockimgdiff.py does not take this into\naccount and therefore, max_stashed_blocks indicates only the\nnumber of explicitly stashed blocks. Change blockimgdiff.py to\ncorrectly calculate the maximum used stash space, including any\nautomatically stashed blocks.\n\nBug: 20309033\nChange-Id: Ibf5cb1abc38c54e60a6ad3ce4cbce43556b08ac2","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/build/commits/8b7a6eb0afe5c6cf0c29bd1b88524e2a284bccb9"},{"sha":"52ffc4687b580bbe466e7a4aa5e3c5b66243af33","author":{"email":"13b5b7039a021b8cc9f1fde674d009cb5243a69d@google.com","name":"Sami Tolvanen"},"message":"Check partition hash before resorting to block_image_verify\n\nIt's not necessary to call block_image_verify for the most common\ncase where we attempt an update for the first time and the target\npartition has expected contents. It is sufficient to confirm that\nthe target partition is intact.\n\nComputing a hash is much faster than simulating the update, which\nmeans this change should make the update speed for v3 much closer\nto v2 for the common case. If the update was interrupted, this is\ngoing to make resuming somewhat slower, of course. Hopefully this\nshould be rather rare.\n\nBug: 20309033\nChange-Id: I04792f3681bf2cd5d9a4e1c41eb883c7f26c6f58","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/build/commits/52ffc4687b580bbe466e7a4aa5e3c5b66243af33"},{"sha":"bb4ab1e3a1bcdc4c36771abd03fdd161046babad","author":{"email":"e93baac950f19c7ac011a8ef5649da421f4690b8@google.com","name":"Tao Bao"},"message":"Assert the stash size when generating OTAs.\n\nWith block-based OTA v2 and v3, it requires stash space on the /cache\npartition to back up blocks during an update. We need to ensure that\nit doesn't exceed the partition size. Since there might be other files\non /cache as well, we use cache_size * threshold as the maximum allowed\nsize. The threshold defaults to 0.8, which can be overridden by command\nline option '--stash_threshold'.\n\nChange-Id: I5c2e353ea4716328d6cdc6a7f758520de8d88b8e\n(cherry picked from commit 23ac4042128e47f6fe1ef176e7cb96f907d8e149)","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/build/commits/bb4ab1e3a1bcdc4c36771abd03fdd161046babad"},{"sha":"407cfc7ffd547c55b9a3f1f7d70ff94956fa6483","author":{"email":"e93baac950f19c7ac011a8ef5649da421f4690b8@google.com","name":"Tao Bao"},"message":"Free the stash after its use in BBOTA v2.\n\nIn BBOTA v2, the stash size computation is inaccurate. A stash will be\nused only once, so we deduct its size from stashed_blocks right after\nits use. However, the stash doesn't actually get freed until being\noverwritten by another stash or destroyed at the end of an update. This\nleads to OTA failures due to insufficient space on /cache. This CL\nchanges the BBOTA v2 script to generate an explicit free right after\nits use.\n\nBug: 23119955\nChange-Id: Icdd8352bb0ff778945937c870990a888c7a4d38b","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/build/commits/407cfc7ffd547c55b9a3f1f7d70ff94956fa6483"},{"sha":"8a26e162a6b412cb11f706cc1bf80486fa339007","author":{"email":"e93baac950f19c7ac011a8ef5649da421f4690b8@google.com","name":"Tao Bao"},"message":"Revise stash for BBOTAs when needed.\n\nWhen generating incremental BBOTAs (v2 and above), we need to ensure\nthat the needed runtime stash is below the given threshold. If it's\nrunning out of space on /cache, we replace the command that uses a\nstash with a \"new\" command instead.\n\nThis may increase the OTA package size, since it is carrying more full\nblocks instead of patches. It gets even worse for large files that span\na number of blocks, because currently we will store all the blocks for\nthe file as \"new\" blocks if stashing cannot be satisfied. We may further\noptimize by splitting them into smaller chunks so that most of them can\nstill be stashed.\n\nBug: 22430577\nChange-Id: I5a49e361adc7d3d41de2e9c08ee9b08c1e6c091a","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/build/commits/8a26e162a6b412cb11f706cc1bf80486fa339007"},{"sha":"bcfca4758b5e88a3e513731c562d60f9c911910f","author":{"email":"e93baac950f19c7ac011a8ef5649da421f4690b8@google.com","name":"Tao Bao"},"message":"Change the cache partition size check into warnings.\n\nFor some old builds, we may not define cache partition size. Change the\nexception into a warning to make the script backward compatible.\n\nChange-Id: Ie94c7fbb1a9f3a7db3f16e8d845e493a534aac5b","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/build/commits/bcfca4758b5e88a3e513731c562d60f9c911910f"},{"sha":"15b1a3d40f6f231bd22708f87811925fd9e63136","author":{"email":"cf2a4bb7527aaaf3bc65a9749aae880b910587b3@gmail.com","name":"nuclearmistake"},"message":"Merge remote-tracking branch 'cm/cm-12.1' into HEAD","distinct":true,"url":"https://api.github.com/repos/VanirAOSP/build/commits/15b1a3d40f6f231bd22708f87811925fd9e63136"}]}