Commit Graph

31174 Commits

Author SHA1 Message Date
Treehugger Robot
29fcd6e3de Merge "Refactor the frontend for batch generation." am: 89e47defef am: 8f08ab906f am: dd360e3272
Original change: https://android-review.googlesource.com/c/platform/development/+/1775725

Change-Id: Ia7570629a41ccde69538a7f1bc4c22eb618b0831
2021-07-23 18:38:10 +00:00
Treehugger Robot
dd360e3272 Merge "Refactor the frontend for batch generation." am: 89e47defef am: 8f08ab906f
Original change: https://android-review.googlesource.com/c/platform/development/+/1775725

Change-Id: I16cc34cf94fc78d7e0e5e741b7295aeb7dfc04a3
2021-07-23 18:17:50 +00:00
Treehugger Robot
8f08ab906f Merge "Refactor the frontend for batch generation." am: 89e47defef
Original change: https://android-review.googlesource.com/c/platform/development/+/1775725

Change-Id: I0e9ccb6d87ced9b6bdf2d0f0035bbeb18a45ea29
2021-07-23 17:30:24 +00:00
Treehugger Robot
89e47defef Merge "Refactor the frontend for batch generation." 2021-07-23 16:49:11 +00:00
lishutong
aaf2c7a933 Refactor the frontend for batch generation.
Following part has been modified:

1. Add tabs for selection between single generation and batch
generation. (src/components/JobConfigure.vue)

2. Change the data structure of OTAConfiguration, now it only records
the flags. The source/target build will be provided when submit jobs.
(src/services/JobSubmission.js)

3. Seperate the OTAOptions as a single component, which only takes in
the flags for backend. The selection of source/target build will be in a
seperate component. (src/components/OTAOptions.vue,
src/components/SingleOTAOptions.vue).

4. Now the partition selection can takes in more than one build, but
only show the partition list of first one. Later on, this will be able
to show the intersection of the partition lists from all given builds.
(src/components/PartialCheckbox.vue)

Point 1 enables the possibility of the dynamical loading of single/batch
ota generation pages. Point 2,3,4 allow the OTAOptions components to
be reused for batch generation.

Test: Mannual tested.
Change-Id: I1a29fa7c605596d717d19da25d31b81ce5b8fcba
2021-07-23 15:09:31 +00:00
Treehugger Robot
193fe3bc48 Merge "Fix a bug that job might not be able to be started properly." am: c8c2db4db6 am: d46f1bf46a am: 5d51e2905e
Original change: https://android-review.googlesource.com/c/platform/development/+/1773226

Change-Id: Ib71b8874f06d1200b6c9155523ab30e1e3239c56
2021-07-20 21:55:53 +00:00
Treehugger Robot
5d51e2905e Merge "Fix a bug that job might not be able to be started properly." am: c8c2db4db6 am: d46f1bf46a
Original change: https://android-review.googlesource.com/c/platform/development/+/1773226

Change-Id: Ia97fc623290b246705bafb32e2d1579cd968bde9
2021-07-20 21:37:59 +00:00
Treehugger Robot
d46f1bf46a Merge "Fix a bug that job might not be able to be started properly." am: c8c2db4db6
Original change: https://android-review.googlesource.com/c/platform/development/+/1773226

Change-Id: Ice2b529d02ec3889c0728e41c5e1829453bab475
2021-07-20 21:28:42 +00:00
Treehugger Robot
c8c2db4db6 Merge "Fix a bug that job might not be able to be started properly." 2021-07-20 21:17:41 +00:00
Treehugger Robot
90d6eefbd8 Merge "Add all possible flags to the front end." am: 2f5326c0d6 am: 0bfc59bfc4 am: ea8c89a7f0
Original change: https://android-review.googlesource.com/c/platform/development/+/1771648

Change-Id: Iba9d4de7ba7466a4c830af075568cde9aa70bbd1
2021-07-20 20:31:12 +00:00
Treehugger Robot
ea8c89a7f0 Merge "Add all possible flags to the front end." am: 2f5326c0d6 am: 0bfc59bfc4
Original change: https://android-review.googlesource.com/c/platform/development/+/1771648

Change-Id: I563cf8d6fdbb5f19cc46547bb149271fa0bf562a
2021-07-20 20:07:28 +00:00
Treehugger Robot
0bfc59bfc4 Merge "Add all possible flags to the front end." am: 2f5326c0d6
Original change: https://android-review.googlesource.com/c/platform/development/+/1771648

Change-Id: Iddf63cf0216470053ed8ae03dab364379b4072b2
2021-07-20 19:48:25 +00:00
Treehugger Robot
2f5326c0d6 Merge "Add all possible flags to the front end." 2021-07-20 19:28:33 +00:00
Kelvin Zhang
07f2f4b5d7 Merge changes I1e45d3ef,I4117f5d9 am: c37be89c82 am: 48666960dd am: 13e7f84a1a
Original change: https://android-review.googlesource.com/c/platform/development/+/1772906

Change-Id: I19575fba56d4fb244e9646e46105a29242e59319
2021-07-20 18:36:07 +00:00
Logan Chien
eb9d88f5fa Merge "repo-review: Trim trailing slashes to avoid errors" am: 8ce5136cb5 am: 277c298174 am: 8416619ba9
Original change: https://android-review.googlesource.com/c/platform/development/+/1771795

Change-Id: I1b2b54c9ae00f453f278ca32359f8543bfa429b1
2021-07-20 18:35:29 +00:00
lishutong
f084110dbe Fix a bug that job might not be able to be started properly.
A variable name was mispelled and it could lead to jobs unable to be
started.

Test: Mannual tested.
Change-Id: I4067e2ae243428cb190463f55122b88d471f45f7
2021-07-20 18:27:07 +00:00
Kelvin Zhang
13e7f84a1a Merge changes I1e45d3ef,I4117f5d9 am: c37be89c82 am: 48666960dd
Original change: https://android-review.googlesource.com/c/platform/development/+/1772906

Change-Id: Ib892cf002e5a290f151b481b8f438efa4f8b9052
2021-07-20 18:17:59 +00:00
Logan Chien
8416619ba9 Merge "repo-review: Trim trailing slashes to avoid errors" am: 8ce5136cb5 am: 277c298174
Original change: https://android-review.googlesource.com/c/platform/development/+/1771795

Change-Id: I713ca4a1c8ce80b68a4701def3642afac75c5d50
2021-07-20 18:16:46 +00:00
Kelvin Zhang
48666960dd Merge changes I1e45d3ef,I4117f5d9 am: c37be89c82
Original change: https://android-review.googlesource.com/c/platform/development/+/1772906

Change-Id: Ie067ce8d4953d5e56eebedca290f2cafd1052a81
2021-07-20 17:57:43 +00:00
Logan Chien
277c298174 Merge "repo-review: Trim trailing slashes to avoid errors" am: 8ce5136cb5
Original change: https://android-review.googlesource.com/c/platform/development/+/1771795

Change-Id: I2e63ab9596a70f9247701a05f37d54fa9590df56
2021-07-20 17:57:01 +00:00
Kelvin Zhang
c37be89c82 Merge changes I1e45d3ef,I4117f5d9
* changes:
  Show the old and new partition infos in OTA analysis.
  Change the look of cross emoji.
2021-07-20 16:41:04 +00:00
Logan Chien
8ce5136cb5 Merge "repo-review: Trim trailing slashes to avoid errors" 2021-07-20 16:40:48 +00:00
lishutong
c0f6a27222 Show the old and new partition infos in OTA analysis.
Test: Mannual tested.
Change-Id: I1e45d3efaefc7368a72f1ed59d09fd48f01b4132
2021-07-20 16:33:49 +00:00
lishutong
85044ed571 Change the look of cross emoji.
Test: Mannual tested.
Change-Id: I4117f5d9986aece6da8c25757baed8f750cc438e
2021-07-20 15:46:13 +00:00
lishutong
fc0431fda1 Add all possible flags to the front end.
A complete set of flags for the CLI tool can be found in this script:
https://source.corp.google.com/android/build/make/tools/releasetools/ota_from_target_files.py

Now most of the flags are being added to the front end. However, there
are several TODOs:
1. flags that require extra arguements or file operations are not
supported yet.
2. the flags can depend or exclude on other flags. Dependency is
included in file 'JobSubmissions.js'-'OTAExtraFlags'. But the function
is not implemented yet.

Test: Mannual tested.
Change-Id: I3b6b76d48861cff81bfad86b549ff53f6536933b
2021-07-20 15:31:47 +00:00
Treehugger Robot
f64f7c0173 Merge "Fix a bug in build library: the uploaded file cannot be shown in table." am: 9b339b3bc1 am: 7eb899863a am: 98a9756c95
Original change: https://android-review.googlesource.com/c/platform/development/+/1771647

Change-Id: Ib79af9f626f4223bb21bcb70924a4c7b6421e088
2021-07-19 23:01:15 +00:00
Treehugger Robot
98a9756c95 Merge "Fix a bug in build library: the uploaded file cannot be shown in table." am: 9b339b3bc1 am: 7eb899863a
Original change: https://android-review.googlesource.com/c/platform/development/+/1771647

Change-Id: Iccedafeeaa3efd0a6166f79919f84282b4420584
2021-07-19 22:43:10 +00:00
Treehugger Robot
7eb899863a Merge "Fix a bug in build library: the uploaded file cannot be shown in table." am: 9b339b3bc1
Original change: https://android-review.googlesource.com/c/platform/development/+/1771647

Change-Id: I79597a0f190243124a9ebd562639bb144f54e209
2021-07-19 22:26:25 +00:00
Treehugger Robot
1f48aab063 Merge "Move the '--partial' flag and output configuration to the backend." am: 52c76356a5 am: 8b0fdc9535 am: 295fe8afa2
Original change: https://android-review.googlesource.com/c/platform/development/+/1771645

Change-Id: Ibcd3622092529b658f83e07c2bdcb60502eb014f
2021-07-19 22:16:48 +00:00
Treehugger Robot
9b339b3bc1 Merge "Fix a bug in build library: the uploaded file cannot be shown in table." 2021-07-19 22:15:54 +00:00
Logan Chien
4ee322f25b repo-review: Trim trailing slashes to avoid errors
Bug: b/170858163
Change-Id: I3de16ad77f0436af97eae26816fc99493fba30c3
2021-07-19 14:59:29 -07:00
Treehugger Robot
295fe8afa2 Merge "Move the '--partial' flag and output configuration to the backend." am: 52c76356a5 am: 8b0fdc9535
Original change: https://android-review.googlesource.com/c/platform/development/+/1771645

Change-Id: Ic2250c00e2de9a7fdaaef9c361b81a0495ab91d7
2021-07-19 21:59:23 +00:00
Treehugger Robot
8b0fdc9535 Merge "Move the '--partial' flag and output configuration to the backend." am: 52c76356a5
Original change: https://android-review.googlesource.com/c/platform/development/+/1771645

Change-Id: If1334d52db4dcb0aaee24567af348a098fe086a3
2021-07-19 21:46:28 +00:00
Treehugger Robot
96c3826a4f Merge "Let cargo2android.py generate data properties for tests." am: d832c85b2e am: fd8d202caa am: 5fffe99068
Original change: https://android-review.googlesource.com/c/platform/development/+/1771789

Change-Id: I1ad52574d31c350279bb01bd44297d449dfa95ef
2021-07-19 21:39:52 +00:00
Treehugger Robot
52c76356a5 Merge "Move the '--partial' flag and output configuration to the backend." 2021-07-19 21:27:55 +00:00
Treehugger Robot
5fffe99068 Merge "Let cargo2android.py generate data properties for tests." am: d832c85b2e am: fd8d202caa
Original change: https://android-review.googlesource.com/c/platform/development/+/1771789

Change-Id: I9bbc027d3b84addb5b368395fda530932c74c596
2021-07-19 21:22:31 +00:00
Treehugger Robot
fd8d202caa Merge "Let cargo2android.py generate data properties for tests." am: d832c85b2e
Original change: https://android-review.googlesource.com/c/platform/development/+/1771789

Change-Id: If002743ffbde27ca5938de61050a64224bb9475a
2021-07-19 21:05:54 +00:00
Treehugger Robot
d832c85b2e Merge "Let cargo2android.py generate data properties for tests." 2021-07-19 20:53:36 +00:00
lishutong
b9d9f55657 Fix a bug in build library: the uploaded file cannot be shown in table.
Previously, the newly uploaded file cannot be shown immediately in the
datatable, unless refresh the page. Now the bug is fixed.

Similar bug is also fixed in OTAJobTable.vue.

Test: mannual tested.
Change-Id: Ia0531db884a7e1675b2cf51aeb8ca0847694c63c
2021-07-19 20:45:46 +00:00
Treehugger Robot
95c881191b Merge "Add VAB, VABC state checker to OTA_analyzer." am: 8cfacd4509 am: 00a74639a1 am: 9dd7474b0f
Original change: https://android-review.googlesource.com/c/platform/development/+/1771646

Change-Id: I9adbafdc8c633d48bd2d2e802cbadb8f000f9e4d
2021-07-19 20:05:24 +00:00
Treehugger Robot
9dd7474b0f Merge "Add VAB, VABC state checker to OTA_analyzer." am: 8cfacd4509 am: 00a74639a1
Original change: https://android-review.googlesource.com/c/platform/development/+/1771646

Change-Id: Ibc3c22bcd108c3c8e369df2eace8f231c28cc2e1
2021-07-19 19:52:07 +00:00
Treehugger Robot
00a74639a1 Merge "Add VAB, VABC state checker to OTA_analyzer." am: 8cfacd4509
Original change: https://android-review.googlesource.com/c/platform/development/+/1771646

Change-Id: I7cf47869327e2c37f3e7511a74d3bf465113228f
2021-07-19 19:38:03 +00:00
Treehugger Robot
b03c9d25b6 Merge "Refactor the OTA configuration page using several components." am: c532190082 am: 5798a15596 am: b7d6e8d966
Original change: https://android-review.googlesource.com/c/platform/development/+/1770745

Change-Id: I9b07e22aaf1e2c8f340f870fed0e37ae8bcf6800
2021-07-19 19:26:06 +00:00
Treehugger Robot
8cfacd4509 Merge "Add VAB, VABC state checker to OTA_analyzer." 2021-07-19 19:22:31 +00:00
Joel Galenson
e4f5388cf3 Let cargo2android.py generate data properties for tests.
Some tests load data from files.  These files thus need to be copied
to the correct location on the host/device so that the tests can
access them.  This adds an option to cargo2android.py so that it can
generate these data properties.

Bug: 171710847
Test: Use for a crate.
Change-Id: I14a1ad8aca4625cc5f09807d19ffd7499fcf3689
2021-07-19 12:18:21 -07:00
Treehugger Robot
b7d6e8d966 Merge "Refactor the OTA configuration page using several components." am: c532190082 am: 5798a15596
Original change: https://android-review.googlesource.com/c/platform/development/+/1770745

Change-Id: I01d876edbe173d7a83a9af4be0200d5000f5ef45
2021-07-19 19:07:15 +00:00
Treehugger Robot
5798a15596 Merge "Refactor the OTA configuration page using several components." am: c532190082
Original change: https://android-review.googlesource.com/c/platform/development/+/1770745

Change-Id: I3d28bfbb25b6c1020145a65ee7f5ff15d12ae108
2021-07-19 18:48:36 +00:00
Treehugger Robot
c532190082 Merge "Refactor the OTA configuration page using several components." 2021-07-19 18:31:32 +00:00
lishutong
029dbe681e Move the '--partial' flag and output configuration to the backend.
Previously, the front end will generate a string for '--partial' flag.
Now the front end will only record the partial partitions that are going
to be updated as an array, and the backend will convert the array into a
string for CLI tool.

The output now is also calculated in the backend,

Test: mannual tested.
Change-Id: Ib5604e52b0c0d0cdd2bf85c71479b3133479da74
2021-07-19 17:57:07 +00:00
lishutong
f506b57791 Add VAB, VABC state checker to OTA_analyzer.
Add BasicInfo.vue to show some basic facts of the ota package,
including:
- is partial or not
- is incremental or not
- is VAB or not
- is VABC or not

Test: Mannual tested.
Change-Id: Ibc3e0a88ea03fc310b401ffe14c5b63d9e0f9452
2021-07-19 17:32:39 +00:00