On Wed, Sep 19, 2012 at 8:15 AM, Ildar Mulyukov
<[email protected]> wrote:
> On 19.09.2012 05:19:10, Hisham wrote:
>> This discussion and your different approaches are very interesting.
>>
>> Alexander, just to make sure I'm still following: the LuaRocks patch
>> you refer is #89, right?
>>
>> Thinking out loud: I notice both approaches use some project-specific
>> parts to implement "export to RPM" and "export to DEB". Do you guys
>> think it would be possible to somehow implement these features in a
>> generic enough manner so those could be included someday as "LuaRocks
>> plugins" or something like that?
>
> IMHO packaging is quite different thing and I see no use of doing it
> from LR.
>
> Instead I have an idea for you: LR could enter deps on system libs that
> would be checked with a package manager at hand.

Such platform-specific field in a rockspec would not hurt. Only LR'd
have to branch that field by Distribution ID or something on Linux —
package names vary wildly. (Note that the field is useful even without
actual checking — as it can be done outside of LR. Maintaining a
Distribution ID can be a PITA though.)

Alexander.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to