W3C home > Mailing lists > Public > www-archive@w3.org > May 2011

FYI: redbot updates

From: Mark Nottingham <mnot@mnot.net>
Date: Sat, 14 May 2011 12:43:30 +1000
Message-Id: <2E4B518E-8BB5-4BA8-88AA-CEA868464D56@mnot.net>
Cc: www-archive <www-archive@w3.org>
To: Hirotaka Nakajima <hiro@w3.org>

Just so you know -- I've recently been working to make redbot workable as a standalone daemon. This has necessitated some changes in the APIs that your unicorn_ui.py uses.

Probably the easiest way to appreciate the changes is to look at how bin/redbot has changed. E.g.,
  - all test state is now captured in red.state (but for practical purposes, you should be able to inspect red.state as if it were the old red object)
  - you now need to call formatter.set_red(red.state)
  - you now call red.run with an argument that's a done callback.

I don't feel very confident editing the unicorn-specific code, so hopefully you'll have time to have a look. Tell me if you have any questions.


Mark Nottingham   http://www.mnot.net/
Received on Saturday, 14 May 2011 02:44:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:43:46 UTC