[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: [Monotone-devel] Question for Tim - testsuite.lua giant list
From: |
Alex Queiroz |
Subject: |
Fwd: [Monotone-devel] Question for Tim - testsuite.lua giant list |
Date: |
Tue, 4 Jul 2006 15:41:25 -0300 |
Hallo,
I should remember to click the "Reply to all" button...
---------- Forwarded message ----------
From: Alex Queiroz <address@hidden>
Date: Jul 4, 2006 3:03 PM
Subject: Re: [Monotone-devel] Question for Tim - testsuite.lua giant list
To: Zack Weinberg <address@hidden>
Hallo,
On 7/4/06, Zack Weinberg <address@hidden> wrote:
If it's the former, does anyone object to my snarfing Steve Kemp's
lua-fs extension[1] into our local copy of the interpreter, and using
that to get rid of the giant list? (Note I can see this being useful
for hooks too - it has other useful things like stat, chmod, mkdir -
which is why I suggest grabbing the whole thing rather than just the
readdir implementation.)
Reading the site I saw that this library is for Lua 5.0. Although
that's the version of Lua used by monotone, it would hold even more
the upgrade to Lua 5.1.1.
I don't think an external library is necessary for this. Monotone
has already directory traversing for Windows and UNIX, it could be
easily exported to Lua as an interator function:
for file in direntries(dir) do ... end
--
-alex
http://www.ventonegro.org/
--
-alex
http://www.ventonegro.org/
Message not available
- Fwd: [Monotone-devel] Question for Tim - testsuite.lua giant list,
Alex Queiroz <=
Re: [Monotone-devel] Question for Tim - testsuite.lua giant list, Timothy Brownawell, 2006/07/04
[Monotone-devel] Re: Question for Tim - testsuite.lua giant list, Graydon Hoare, 2006/07/04