Devserver update rpc: translate xBuddy paths.
If an update request starts with 'xbuddy' the rest of the path will be
translated to a directory within the devserver's static_dir before being
passed onto the normal update call.
TEST=Effectively None, as there aren't any scripts that use the update
rpc with xBuddy yet. :(
Can call http://host:port/update/xbuddy/board/version/ to see that the
translation happens, but without the xml, this isn't meaningful yet.
Reviewed-by: Chris Sosa <firstname.lastname@example.org>
Commit-Queue: Joy Chen <email@example.com>
Reviewed-by: Joy Chen <firstname.lastname@example.org>
Tested-by: Joy Chen <email@example.com>
2 files changed