New issue
Advanced search Search tips

Issue 640845 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Dec 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: ----



Sign in to add a comment

Refactor: move auto-update related logic into directory server/hosts/

Project Member Reported by xixuan@chromium.org, Aug 25 2016

Issue description

auto-update logic currently is in afe_utils. However, this has some drawbacks:

1. many *_host.py import afe_utils, which make it hard for afe_utils to get any host-related info from importing these *_host.py if it's required by auto-update.

2. other afe_utils' functions focus on utilizing afe to get/update infos, like DUT's board, version and attributes. Put auto_update logic here is not that appropriate.

3. long-term goal is to refactor these complex dependencies between afe/host/devserver for auto-update. It could be regarded as a first step.



 

Comment 1 by xixuan@chromium.org, Aug 25 2016

Blocking: 638728

Comment 2 by xixuan@chromium.org, Aug 25 2016

Blocking: -638728
After investigation, hard to separate this function from afe_utils. Hold it now.
Status: WontFix (was: Assigned)

Sign in to add a comment