gittup / tup

Tup is a file-based build system.
http://gittup.org/tup/
GNU General Public License v2.0
1.17k stars 144 forks source link

lua modification may block packaging #190

Open leaf-node opened 10 years ago

leaf-node commented 10 years ago

while creating new packages, debian maintainers have a very strong preference to use system libraries instead of those bundled with a program. this practice is for the sake of efficiently patching bugs and security vulnerabilities. i imagine that similar policies and practices are in place for other distros as well.

i noticed that you're using a feature-patched version of the lua library. i suspect that this may inhibit early adoption of tup into many popular distributions.

it might be worthwhile to look into alternative solutions that don't require modifying the lua binary yet achieve the same result.

gittup commented 10 years ago

On Sun, Jun 29, 2014 at 7:08 PM, Andrew Engelbrecht < notifications@github.com> wrote:

while creating new packages, debian maintainers have a very strong preference to use system libraries instead of those bundled with a program. this practice is for the sake of efficiently patching bugs and security vulnerabilities. i imagine that similar policies and practices are in place for other distros as well.

i noticed that you're using a feature-patched version of the lua library. i suspect that this may inhibit early adoption of tup into many popular distributions.

it might be worthwhile to look into alternative solutions that don't require modifying the lua binary yet achieve the same result.

That is a good point. I'd much prefer if we could use a system version of Lua and then somehow patch it with an addon library or the like, but I'm not sure if that's possible. Unfortunately I do not think Lua by itself is really suited for something that requires a bit of a domain-specific language like a build description. Doing things like adding one CFLAGS per line is really hideous in a stock Lua, which is why we added support for +=. I'm open to alternatives here, but I suspect it will be difficult.

-Mike