|
|
DescriptionAdd LoadComponent API in ImageLoader dbus adapter.
BUG=698767
TEST=On chrome os, RegisterComponent and then LoadComponent works seamlessly to download and mount escpr image.
Review-Url: https://codereview.chromium.org/2731253003
Cr-Commit-Position: refs/heads/master@{#455497}
Committed: https://chromium.googlesource.com/chromium/src/+/c0d16f0bde63a69dc117bb2b6860b3dd57f3b25d
Patch Set 1 #Patch Set 2 : fix parameters #
Total comments: 2
Patch Set 3 : address comments from sorin #Patch Set 4 : cherry-pick to a new local branch #Patch Set 5 : up-rev #Patch Set 6 : revert last patch #
Total comments: 2
Patch Set 7 : addressing comments from stevenjb #Patch Set 8 : Add LoadComponent API in ImageLoader dbus adapter. #
Messages
Total messages: 60 (35 generated)
xiaochu@chromium.org changed reviewers: + adlr@chromium.org, kerrnel@chromium.org, sorin@chromium.org, waffles@chromium.org
lgtm Thank you! https://codereview.chromium.org/2731253003/diff/20001/chromeos/dbus/image_loa... File chromeos/dbus/image_loader_client.cc (right): https://codereview.chromium.org/2731253003/diff/20001/chromeos/dbus/image_loa... chromeos/dbus/image_loader_client.cc:83: std::string result = ""; doesn't need the "" initialization. The default ctor does that.
The CQ bit was checked by xiaochu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by xiaochu@chromium.org to run a CQ dry run
Thanks! https://codereview.chromium.org/2731253003/diff/20001/chromeos/dbus/image_loa... File chromeos/dbus/image_loader_client.cc (right): https://codereview.chromium.org/2731253003/diff/20001/chromeos/dbus/image_loa... chromeos/dbus/image_loader_client.cc:83: std::string result = ""; On 2017/03/06 19:33:17, Sorin Jianu wrote: > doesn't need the "" initialization. The default ctor does that. Done.
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
I am trying to upload this modification in third_party/cros_system_api/dbus/service_constants.h as well. but it shows submit errors when 'git cl upload': ** Presubmit ERRORS ** You added one or more #includes that violate checkdeps rules. third_party/cros_system_api/dbus/service_constants.h Illegal include: "apmanager/dbus-constants.h" Because of no rule applying. \ third_party/cros_system_api/dbus/service_constants.h Illegal include: "authpolicy/dbus-constants.h" For third_party code, is there any special rules when we change them? Thanks.
Fix is here: https://codereview.chromium.org/2731253003
Sorry, correct link: https://chromium-review.googlesource.com/#/c/450502/
lgtm but please wait for Greg.
Description was changed from ========== Add LoadComponent API in ImageLoader dbus adapter. BUG=698767 TEST=NONE ========== to ========== Add LoadComponent API in ImageLoader dbus adapter. BUG=698767 TEST=On chrome os, RegisterComponent and then LoadComponent works seamlessly to download and mount escpr image. ==========
On 2017/03/06 23:25:22, waffles wrote: > lgtm but please wait for Greg. hi Greg, can you please take a look?
On 2017/03/07 15:16:56, xiaochu wrote: > On 2017/03/06 23:25:22, waffles wrote: > > lgtm but please wait for Greg. > > hi Greg, can you please take a look? The CL looks fine, but are prepared to start using the LoadComponent functionality in the near future?
On 2017/03/07 18:11:27, Greg K wrote: > On 2017/03/07 15:16:56, xiaochu wrote: > > On 2017/03/06 23:25:22, waffles wrote: > > > lgtm but please wait for Greg. > > > > hi Greg, can you please take a look? > > The CL looks fine, but are prepared to start using the LoadComponent > functionality in the near future? Thanks! Assuming we use LoadComponent for CrOSComponent's OnCustomInstall, the side effect would be every time a component is updated a new image is mounted (but not used unless you specifically told the users). After a reboot, everything mounted are gone. So the only downside is you might have a mount point for each update happens since last reboot. Then my next step is to make the new mounted image useful.
The CQ bit was checked by xiaochu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2017/03/07 18:19:32, xiaochu wrote: > On 2017/03/07 18:11:27, Greg K wrote: > > On 2017/03/07 15:16:56, xiaochu wrote: > > > On 2017/03/06 23:25:22, waffles wrote: > > > > lgtm but please wait for Greg. > > > > > > hi Greg, can you please take a look? > > > > The CL looks fine, but are prepared to start using the LoadComponent > > functionality in the near future? > > Thanks! Assuming we use LoadComponent for CrOSComponent's OnCustomInstall, the > side effect would be every time a component is updated a new image is mounted > (but not used unless you specifically told the users). After a reboot, > everything mounted are gone. > So the only downside is you might have a mount point for each update happens > since last reboot. > > Then my next step is to make the new mounted image useful. LGTM
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-...)
The CQ bit was checked by xiaochu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by xiaochu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from sorin@chromium.org, waffles@chromium.org, kerrnel@chromium.org Link to the patchset: https://codereview.chromium.org/2731253003/#ps100001 (title: "revert last patch")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
The CQ bit was checked by xiaochu@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by xiaochu@chromium.org
On 2017/03/08 03:00:54, commit-bot: I haz the power wrote: > CQ is trying da patch. Follow status at > > https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... Sorry I uploaded a incorrect file to this issue and a revert patch set needs a new lgtm...
lgtm
The CQ bit was checked by xiaochu@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
xiaochu@chromium.org changed reviewers: + xiaochu@chromium.org
lgtm
adlr@google.com changed reviewers: + adlr@google.com
lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
xiaochu@chromium.org changed reviewers: + hashimoto@chromium.org
xiaochu@chromium.org changed reviewers: + stevenjb@chromium.org
https://codereview.chromium.org/2731253003/diff/100001/chromeos/dbus/image_lo... File chromeos/dbus/image_loader_client.h (right): https://codereview.chromium.org/2731253003/diff/100001/chromeos/dbus/image_lo... chromeos/dbus/image_loader_client.h:32: const StringDBusMethodCallback& callback) = 0; This (and all public non-inherited methods) should have a documentation comment.
thanks! https://codereview.chromium.org/2731253003/diff/100001/chromeos/dbus/image_lo... File chromeos/dbus/image_loader_client.h (right): https://codereview.chromium.org/2731253003/diff/100001/chromeos/dbus/image_lo... chromeos/dbus/image_loader_client.h:32: const StringDBusMethodCallback& callback) = 0; On 2017/03/08 17:14:18, stevenjb wrote: > This (and all public non-inherited methods) should have a documentation comment. Done.
lgtm
The CQ bit was checked by xiaochu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by xiaochu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from waffles@chromium.org, sorin@chromium.org, kerrnel@chromium.org, adlr@google.com Link to the patchset: https://codereview.chromium.org/2731253003/#ps140001 (title: "Add LoadComponent API in ImageLoader dbus adapter.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 140001, "attempt_start_ts": 1488997864930990, "parent_rev": "525950cc7033074e1a1d3e44e7de0a966345460c", "commit_rev": "c0d16f0bde63a69dc117bb2b6860b3dd57f3b25d"}
Message was sent while issue was closed.
Description was changed from ========== Add LoadComponent API in ImageLoader dbus adapter. BUG=698767 TEST=On chrome os, RegisterComponent and then LoadComponent works seamlessly to download and mount escpr image. ========== to ========== Add LoadComponent API in ImageLoader dbus adapter. BUG=698767 TEST=On chrome os, RegisterComponent and then LoadComponent works seamlessly to download and mount escpr image. Review-Url: https://codereview.chromium.org/2731253003 Cr-Commit-Position: refs/heads/master@{#455497} Committed: https://chromium.googlesource.com/chromium/src/+/c0d16f0bde63a69dc117bb2b6860... ==========
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/chromium/src/+/c0d16f0bde63a69dc117bb2b6860... |