[Buildbot-devel] What's the status of the console view getting into the trunk?
Andrew Melo
andrew.m.melo at vanderbilt.edu
Wed Feb 3 22:48:13 UTC 2010
All
On Wed, Feb 3, 2010 at 1:08 PM, Dustin J. Mitchell <dustin at zmanda.com> wrote:
> On Wed, Feb 3, 2010 at 12:55 PM, Nicolas Sylvain <nsylvain at chromium.org> wrote:
>> Ok, I don't know about SyncmailMaildirSource and CVS. CVS should have some
>> sort
>> of versions along with the timestamp, but you might have more luck using the
>> order_console_by_time=True when creating your WebStatus().
>
> I just added a note to the documentation about this.
I've modified my CVS parser some more, and I have the console working.
I added the order_console_by_time flag to WebStatus and added this to
the MaildirSource.parse()
There is the bit that sets the when for the change:
when = util.now()
theCurrentTime = datetime.datetime.utcfromtimestamp( (float)
("%i" % when) )
rev = theCurrentTime.isoformat()
And then the rev needs to be passed as 'revision' to the change:
change = changes.Change(who, files, comments, isdir, when=when,
branch=branch, revision=rev)
I don't know if this change has other side-effects, but it seems to be
working fine (except warnings show up as exceptions in the console for
whatever reason)
thanks,
Andrew
> Dustin
>
> --
> Open Source Storage Engineer
> http://www.zmanda.com
>
--
--
Andrew Melo
More information about the devel
mailing list