* Re: Roadmap for LUA support in GRUB
2009-11-13 8:08 ` Roman Shaposhnik
@ 2009-11-13 9:46 ` Felix Zielcke
2009-11-13 11:54 ` Vladimir 'phcoder' Serbinenko
2009-11-13 11:56 ` Robert Millan
2 siblings, 0 replies; 22+ messages in thread
From: Felix Zielcke @ 2009-11-13 9:46 UTC (permalink / raw)
To: The development of GNU GRUB
Am Freitag, den 13.11.2009, 00:08 -0800 schrieb Roman Shaposhnik:
> On Thu, Nov 12, 2009 at 2:38 AM, Robert Millan <rmh@aybabtu.com> wrote:
> > First of all, there's no license problem. We usually write our own code, but
> > when we have specific reasons to import it from another project, any license
> > that is compatible with GPL (v3 and later) would be considered suitable.
>
> Aha! So the Lua license really is a red herring here..
My bad I used the wrong word, I should have said s/license/copyright/
But anyway
> > However, we only import code from external projects when there's an important
> > reason to do so. For example, we imported LZMA code because we needed the
> > best compression around, and we didn't want to reinvent the wheel. In the
> > specific case of LUA, this compromise didn't make sense to us since we already
> > had a scripting engine.
>
> ...the real reason seems to be that you don't really believe in Lua as a primary
> scripting language for GRUB, correct?
Why do you think Lua as a *primary* language/format/whatever for
grub.cfg would be right?
With sh grub.cfg isn't that different from any other normal config file
or even GRUB Legacy's menu.lst
Learning Lua might be not so difficult for average experienced Linux
users.
But things are moving. Not every average Linux user has now some
experience.
--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Roadmap for LUA support in GRUB
2009-11-13 8:08 ` Roman Shaposhnik
2009-11-13 9:46 ` Felix Zielcke
@ 2009-11-13 11:54 ` Vladimir 'phcoder' Serbinenko
2009-11-13 15:34 ` Roman Shaposhnik
2009-11-13 11:56 ` Robert Millan
2 siblings, 1 reply; 22+ messages in thread
From: Vladimir 'phcoder' Serbinenko @ 2009-11-13 11:54 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 2483 bytes --]
Roman Shaposhnik wrote:
> On Thu, Nov 12, 2009 at 2:38 AM, Robert Millan <rmh@aybabtu.com> wrote:
>
>> First of all, there's no license problem. We usually write our own code, but
>> when we have specific reasons to import it from another project, any license
>> that is compatible with GPL (v3 and later) would be considered suitable.
>>
>
> Aha! So the Lua license really is a red herring here..
>
>
We already explained the reasons. Grub-extras is for code which is for
imported code ehich doesn't need to reside in main trunk to be
functional. ZFS is a similar case. On the other hand LZMA needs to be in
main trunk. Occasionally exceptions may occur but it doesn't discard
general rule.
>> However, we only import code from external projects when there's an important
>> reason to do so. For example, we imported LZMA code because we needed the
>> best compression around, and we didn't want to reinvent the wheel. In the
>> specific case of LUA, this compromise didn't make sense to us since we already
>> had a scripting engine.
>>
>
> ...the real reason seems to be that you don't really believe in Lua as a primary
> scripting language for GRUB, correct?
>
>
Please don't become personal on this. Except rescue parsers all parsers
are implemented the same way and can replace one another. So what do you
mean by "primary scripting language"? If what you mean is just one being
default then no project can make default which suit all usres. It's what
configuration is for. If you speak about invested efforts then you can't
force people to spend time on something they don't want (but you can pay
one of us to do stuff you need).
> IOW, the inclusion of Lua was more of a fluke than a deliberate
> decision of investing
> in a different scripting engine.
>
> This is not a value judgment -- just an attempt to figure things out.
> Personally I'm really
> excited about Lua. I see that a lot folks share my opinion (I can't
> wait to see Lua as
> a scripting engine for NetBSD kernel, for example) and I thought that
> GRUB project
> was among these folks.
>
As I said you can't ask everyone to share your language preferences. But
patches are of course welcome
> Thanks,
> Roman.
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>
--
Regards
Vladimir 'phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 293 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Roadmap for LUA support in GRUB
2009-11-13 11:54 ` Vladimir 'phcoder' Serbinenko
@ 2009-11-13 15:34 ` Roman Shaposhnik
2009-11-13 18:12 ` Bean
0 siblings, 1 reply; 22+ messages in thread
From: Roman Shaposhnik @ 2009-11-13 15:34 UTC (permalink / raw)
To: The development of GNU GRUB
On Fri, Nov 13, 2009 at 3:54 AM, Vladimir 'phcoder' Serbinenko
<phcoder@gmail.com> wrote:
>> Aha! So the Lua license really is a red herring here..
>>
>>
> We already explained the reasons.
You did. But, unfortunately, your explanation was not entirely correct. Which
is fine, because thanks to Robert I now know the answer that actually
makes perfect sense.
Licensing is thorny issues. It usually helps when it gets explained very, very
precisely.
> Please don't become personal on this.
What would make you say this? I don't think I've made any statements that
could be interpreted like making this matter a personal one.
> Except rescue parsers all parsers
> are implemented the same way and can replace one another. So what do you
> mean by "primary scripting language"?
A scripting language that is actively maintained and used for writing extensions
to GRUB. My original understanding was that Lua would fit this description,
now it seems that it was more like an odd experiment in GRUB trunk.
IOW, at the moment -- if I need to script GRUB my only portable choice would be,
unfortunately, its internal shell. With the current state of things I
can't rely on
Lua always being there for me.
> If what you mean is just one being
> default then no project can make default which suit all usres. It's what
> configuration is for. If you speak about invested efforts then you can't
> force people to spend time on something they don't want (but you can pay
> one of us to do stuff you need).
There's no need to be upset. What I'm after here is a simple statement of fact,
not value judgments. Its ok for GRUB not be interested in Lua. As long
as everybody
is clear on that -- no harm done.
Thanks,
Roman.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Roadmap for LUA support in GRUB
2009-11-13 15:34 ` Roman Shaposhnik
@ 2009-11-13 18:12 ` Bean
2009-11-13 18:29 ` Roman Shaposhnik
` (2 more replies)
0 siblings, 3 replies; 22+ messages in thread
From: Bean @ 2009-11-13 18:12 UTC (permalink / raw)
To: The development of GNU GRUB
On Fri, Nov 13, 2009 at 11:34 PM, Roman Shaposhnik <roman@shaposhnik.org> wrote:
> A scripting language that is actively maintained and used for writing extensions
> to GRUB. My original understanding was that Lua would fit this description,
> now it seems that it was more like an odd experiment in GRUB trunk.
>
> IOW, at the moment -- if I need to script GRUB my only portable choice would be,
> unfortunately, its internal shell. With the current state of things I
> can't rely on
> Lua always being there for me.
Hi,
I like the LUA language, actually It's me who add it in the first
place. Some of the purpose is detection of OS items at runtime, and
interaction with graphic menu system. And honestly, I'm not happy
with it being removed from main repository as this make it harder to
maintain.
But no worry, I've created a fork project BURG that contains some
brand-new features, the LUA engine will be added back soon.
--
Bean
My repository: https://launchpad.net/burg
Document: https://help.ubuntu.com/community/Burg
^ permalink raw reply [flat|nested] 22+ messages in thread* Re: Roadmap for LUA support in GRUB
2009-11-13 18:12 ` Bean
@ 2009-11-13 18:29 ` Roman Shaposhnik
2009-11-13 19:06 ` Robert Millan
2009-12-29 4:24 ` Bruce O. Benson
2 siblings, 0 replies; 22+ messages in thread
From: Roman Shaposhnik @ 2009-11-13 18:29 UTC (permalink / raw)
To: The development of GNU GRUB
On Fri, Nov 13, 2009 at 10:12 AM, Bean <bean123ch@gmail.com> wrote:
> On Fri, Nov 13, 2009 at 11:34 PM, Roman Shaposhnik <roman@shaposhnik.org> wrote:
>> A scripting language that is actively maintained and used for writing extensions
>> to GRUB. My original understanding was that Lua would fit this description,
>> now it seems that it was more like an odd experiment in GRUB trunk.
>>
>> IOW, at the moment -- if I need to script GRUB my only portable choice would be,
>> unfortunately, its internal shell. With the current state of things I
>> can't rely on
>> Lua always being there for me.
>
> Hi,
>
> I like the LUA language, actually It's me who add it in the first
> place. Some of the purpose is detection of OS items at runtime, and
> interaction with graphic menu system. And honestly, I'm not happy
> with it being removed from main repository as this make it harder to
> maintain.
>
> But no worry, I've created a fork project BURG that contains some
> brand-new features, the LUA engine will be added back soon.
Perfect! Thanks a million for chiming in -- that's exactly the kind of
information I was looking for.
Thanks,
Roman (switching from grub-devel to burg-devel...)
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Roadmap for LUA support in GRUB
2009-11-13 18:12 ` Bean
2009-11-13 18:29 ` Roman Shaposhnik
@ 2009-11-13 19:06 ` Robert Millan
2009-11-13 19:34 ` Bean
2009-12-29 4:24 ` Bruce O. Benson
2 siblings, 1 reply; 22+ messages in thread
From: Robert Millan @ 2009-11-13 19:06 UTC (permalink / raw)
To: The development of GNU GRUB
On Sat, Nov 14, 2009 at 02:12:38AM +0800, Bean wrote:
>
> But no worry, I've created a fork project BURG that contains some
> brand-new features, the LUA engine will be added back soon.
Does that make it any easier than maintaining LUA in grub-extras?
When moving it there, I made it clear [1] that anyone who wishes to work
on LUA is welcome to use the grub-extras repository for that purpose [1].
I expected a reply from you, but there was none.
[1] http://lists.gnu.org/archive/html/grub-devel/2009-09/msg00424.html
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Roadmap for LUA support in GRUB
2009-11-13 19:06 ` Robert Millan
@ 2009-11-13 19:34 ` Bean
2009-11-13 20:22 ` Vladimir 'phcoder' Serbinenko
2009-11-13 20:54 ` Robert Millan
0 siblings, 2 replies; 22+ messages in thread
From: Bean @ 2009-11-13 19:34 UTC (permalink / raw)
To: The development of GNU GRUB
On Sat, Nov 14, 2009 at 3:06 AM, Robert Millan <rmh@aybabtu.com> wrote:
> On Sat, Nov 14, 2009 at 02:12:38AM +0800, Bean wrote:
>>
>> But no worry, I've created a fork project BURG that contains some
>> brand-new features, the LUA engine will be added back soon.
>
> Does that make it any easier than maintaining LUA in grub-extras?
>
> When moving it there, I made it clear [1] that anyone who wishes to work
> on LUA is welcome to use the grub-extras repository for that purpose [1].
>
> I expected a reply from you, but there was none.
>
> [1] http://lists.gnu.org/archive/html/grub-devel/2009-09/msg00424.html
Hi,
As I see it, one problem of grub-extra is that it can't be compiled
separately, so user have to setup an environment to build it, which is
not straightforward. And as they have two revision system, this make
it difficult to track previous bug. For example, it's hard to tell
which revision of grub-extra can compile with which main stream
revision. And it's also the question of confidence, I don't see anyone
claim responsibility for grub-extra, it' more like a garbage dump to
me. It's hard to convince others to send patches on something that's
not actively maintained.
--
Bean
My repository: https://launchpad.net/burg
Document: https://help.ubuntu.com/community/Burg
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Roadmap for LUA support in GRUB
2009-11-13 19:34 ` Bean
@ 2009-11-13 20:22 ` Vladimir 'phcoder' Serbinenko
2009-11-14 8:11 ` Bean
2009-11-13 20:54 ` Robert Millan
1 sibling, 1 reply; 22+ messages in thread
From: Vladimir 'phcoder' Serbinenko @ 2009-11-13 20:22 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 1909 bytes --]
Bean wrote:
> On Sat, Nov 14, 2009 at 3:06 AM, Robert Millan <rmh@aybabtu.com> wrote:
>
>> On Sat, Nov 14, 2009 at 02:12:38AM +0800, Bean wrote:
>>
>>> But no worry, I've created a fork project BURG that contains some
>>> brand-new features, the LUA engine will be added back soon.
>>>
>> Does that make it any easier than maintaining LUA in grub-extras?
>>
>> When moving it there, I made it clear [1] that anyone who wishes to work
>> on LUA is welcome to use the grub-extras repository for that purpose [1].
>>
>> I expected a reply from you, but there was none.
>>
>> [1] http://lists.gnu.org/archive/html/grub-devel/2009-09/msg00424.html
>>
>
> Hi,
>
> As I see it, one problem of grub-extra is that it can't be compiled
> separately, so user have to setup an environment to build it, which is
> not straightforward.
Then propose a better system. I don't find any problem with setting
GRUB_CONTRIB
> And as they have two revision system, this make
> it difficult to track previous bug. For example, it's hard to tell
> which revision of grub-extra can compile with which main stream
> revision.
It's always latest-to-latest. And it's how it's done in Debian.
> And it's also the question of confidence, I don't see anyone
> claim responsibility for grub-extra, it' more like a garbage dump to
> me. It's hard to convince others to send patches on something that's
> not actively maintained.
>
The same code wouldn't have recieved more attention if it was in the
mainline.
You can pretty much say nobody looks into hello/hello.c but is it a
reason to tell it garbage.
I personally handle grub-extras the same way as GRUB2
Actually the same people that take care of mainline also take care of
grub-extras. I also have two new things on the queue for grub-extras:
LUKS and gPXE import.
--
Regards
Vladimir 'phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 293 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Roadmap for LUA support in GRUB
2009-11-13 20:22 ` Vladimir 'phcoder' Serbinenko
@ 2009-11-14 8:11 ` Bean
2009-11-14 12:29 ` Vladimir 'phcoder' Serbinenko
0 siblings, 1 reply; 22+ messages in thread
From: Bean @ 2009-11-14 8:11 UTC (permalink / raw)
To: The development of GNU GRUB
On Sat, Nov 14, 2009 at 4:22 AM, Vladimir 'phcoder' Serbinenko
<phcoder@gmail.com> wrote:
>> And as they have two revision system, this make
>> it difficult to track previous bug. For example, it's hard to tell
>> which revision of grub-extra can compile with which main stream
>> revision.
> It's always latest-to-latest. And it's how it's done in Debian.
Hi,
Consider this problem. I've made some patch on LUA that uses
experimental feature. I can't commit it to grub-extra as it would
break the building of grub-pc, I can't commit to my branch either as
LUA is not in it, so where do I commit the patch ?
--
Bean
My repository: https://launchpad.net/burg
Document: https://help.ubuntu.com/community/Burg
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Roadmap for LUA support in GRUB
2009-11-14 8:11 ` Bean
@ 2009-11-14 12:29 ` Vladimir 'phcoder' Serbinenko
0 siblings, 0 replies; 22+ messages in thread
From: Vladimir 'phcoder' Serbinenko @ 2009-11-14 12:29 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 901 bytes --]
Bean wrote:
> On Sat, Nov 14, 2009 at 4:22 AM, Vladimir 'phcoder' Serbinenko
> <phcoder@gmail.com> wrote:
>
>>> And as they have two revision system, this make
>>> it difficult to track previous bug. For example, it's hard to tell
>>> which revision of grub-extra can compile with which main stream
>>> revision.
>>>
>> It's always latest-to-latest. And it's how it's done in Debian.
>>
>
> Hi,
>
> Consider this problem. I've made some patch on LUA that uses
> experimental feature. I can't commit it to grub-extra as it would
> break the building of grub-pc, I can't commit to my branch either as
> LUA is not in it, so where do I commit the patch ?
>
>
We already discussed this problem and solution was straightforward: we
migrate grub-extras to bazaar too and we create experimental branches
there too
--
Regards
Vladimir 'phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 293 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Roadmap for LUA support in GRUB
2009-11-13 19:34 ` Bean
2009-11-13 20:22 ` Vladimir 'phcoder' Serbinenko
@ 2009-11-13 20:54 ` Robert Millan
1 sibling, 0 replies; 22+ messages in thread
From: Robert Millan @ 2009-11-13 20:54 UTC (permalink / raw)
To: The development of GNU GRUB
On Sat, Nov 14, 2009 at 03:34:27AM +0800, Bean wrote:
>
> Hi,
>
> As I see it, one problem of grub-extra is that it can't be compiled
> separately, so user have to setup an environment to build it,
Why? Modules from grub-extras can be compiled in-tree just as fine.
> And as they have two revision system, this make
> it difficult to track previous bug.
I've been looking into migrating grub-extras to Bazaar, but haven't found
the time. Would it help if I do this?
> And it's also the question of confidence, I don't see anyone
> claim responsibility for grub-extra, it' more like a garbage dump to
> me. It's hard to convince others to send patches on something that's
> not actively maintained.
I think you're presenting the problem in a way that can't have any possible
solution:
- I made an open offer to anyone who would want to maintain LUA in
grub-extras. You weren't interested.
- Now you say that you made a fork of GRUB because LUA in grub-extras
isn't being properly maintained.
I'm afraid I can't help you there. If you have other reasons for this, feel
free to explain them, and maybe we can find a solution.
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Roadmap for LUA support in GRUB
2009-11-13 18:12 ` Bean
2009-11-13 18:29 ` Roman Shaposhnik
2009-11-13 19:06 ` Robert Millan
@ 2009-12-29 4:24 ` Bruce O. Benson
[not found] ` <20100101114244.GE3692@thorin>
2 siblings, 1 reply; 22+ messages in thread
From: Bruce O. Benson @ 2009-12-29 4:24 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1: Type: text/plain, Size: 475 bytes --]
On Fri, Nov 13, 2009 at 1:12 PM, Bean <bean123ch@gmail.com> wrote:
> But no worry, I've created a fork project BURG that contains some
> brand-new features, the LUA engine will be added back soon.
>
Is there a URL for BURG yet?
As soon as I see a bootloader that uses Lua as its scripting/config engine,
I'm switching to it.
Thanks,
Bruce.
--
Bruce O. Benson, mailto:bbenson@gmail.com | http://www.tux.org
Donating spare CPU to science: Folding@home Team Debian (#2019)
[-- Attachment #2: Type: text/html, Size: 860 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Roadmap for LUA support in GRUB
2009-11-13 8:08 ` Roman Shaposhnik
2009-11-13 9:46 ` Felix Zielcke
2009-11-13 11:54 ` Vladimir 'phcoder' Serbinenko
@ 2009-11-13 11:56 ` Robert Millan
2 siblings, 0 replies; 22+ messages in thread
From: Robert Millan @ 2009-11-13 11:56 UTC (permalink / raw)
To: The development of GNU GRUB
On Fri, Nov 13, 2009 at 12:08:24AM -0800, Roman Shaposhnik wrote:
> > However, we only import code from external projects when there's an important
> > reason to do so. For example, we imported LZMA code because we needed the
> > best compression around, and we didn't want to reinvent the wheel. In the
> > specific case of LUA, this compromise didn't make sense to us since we already
> > had a scripting engine.
>
> ...the real reason seems to be that you don't really believe in Lua as a primary
> scripting language for GRUB, correct?
No. It's quoted above in this mail. Please read it again...
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
^ permalink raw reply [flat|nested] 22+ messages in thread