From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Alex Damian <alex.r.damian@gmail.com>
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH] knotty, xmlrpc: add observer-only mode
Date: Fri, 14 Jun 2013 14:33:42 +0100 [thread overview]
Message-ID: <1371216822.20823.83.camel@ted> (raw)
In-Reply-To: <51B9E3E1.8020905@gmail.com>
On Thu, 2013-06-13 at 16:23 +0100, Alex Damian wrote:
> On 06/12/2013 02:11 PM, Richard Purdie wrote:
> > On Fri, 2013-06-07 at 16:42 +0100, Alex DAMIAN wrote:
> >> From: Alexandru DAMIAN <alexandru.damian@intel.com>
> >>
> >> I add an observer only mode for the knotty UI and
> >> the XMLRPC server that will allow the UI to register
> >> a callback with a server in order to receive events.
> >>
> >> The observer-UI will not send any commands to the
> >> server apart from registering as an event handler.
> >>
> >> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
> >> ---
> >> bin/bitbake | 8 +++++++-
> >> lib/bb/server/xmlrpc.py | 18 ++++++++++++------
> >> lib/bb/ui/knotty.py | 29 +++++++++++++++++------------
> >> lib/bb/ui/uievent.py | 1 +
> >> 4 files changed, 37 insertions(+), 19 deletions(-)
> >>
You responded to one of my comments but not the other.
To put my concern succinctly, I think even in observer mode the UIs
should still be able to query variables. I do not think they should be
writing to things though, or running any of the async commands. The
whole token business isn't working quite right yet.
My worry is the architecture you're building here isn't quite right, its
limiting the clients unnecessarily and complicating the handover between
clients. I appreciate this patch in itself isn't too problematic,
however if I merge it, you will continue down this path and we will end
up adding code that is problematic. I therefore don't think I can take
this patch until we better figure out what we need to do with the token
handling, I do know we can do better than what is here.
Cheers,
Richard
prev parent reply other threads:[~2013-06-14 13:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-07 15:42 [PATCH] knotty, xmlrpc: add observer-only mode Alex DAMIAN
2013-06-12 13:11 ` Richard Purdie
2013-06-13 15:23 ` Alex Damian
2013-06-14 13:33 ` Richard Purdie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1371216822.20823.83.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=alex.r.damian@gmail.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.