[Buildbot-devel] Date column in directories.html

Fredric Dorothy fredricdorothy at gmail.com
Thu Apr 12 16:14:47 UTC 2012

Thanks, I got what I needed by modifying the _getFilesAndDirectories
method in twisted/web/static.py.  I just added the file creation and
modification time to the same dictionary that reports the 'text',
'type', 'size' and 'encoding' in the _getFilesAndDirectories method.
I'll put a patch together and submit it to the twisted guys.

On Thu, Apr 12, 2012 at 12:03 AM, Dustin J. Mitchell <dustin at v.igoro.us> wrote:
> On Wed, Apr 11, 2012 at 9:54 AM, Fredric Dorothy
> <fredricdorothy at gmail.com> wrote:
>> I took a look at the directories.html file, and it looks like it is
>> using twisted to get the information about the files and directories.
>> Do I need to dig deep into twisted to pull out that information for
>> each file, or is there some easier way?
> I expect so - I think you'd need to get _getFilesAndDirectories to
> give you more information.
> That might be something worth sending upstream to Twisted - at least
> as an option.
> Dustin

More information about the devel mailing list