Ticket #1004 (closed enhancement: wontfix)

Opened 19 months ago

Last modified 5 days ago

Consider using Lua as the configuration file language.

Reported by: wjl@… Owned by: jan
Priority: normal Milestone:
Component: core Version: 1.4.13
Severity: normal Keywords: lua
Cc: mikhail@… Blocked By:
Need User Feedback: no Blocking:

Description

Consider using Lua as the configuration file language.

Lighttpd already uses and supports Lua for some things (e.g. mod_magent). However, there are a lot of other things that are really ad-hoc, like the lighttpd configuration file which has a number of quirks and limitations.

It would be possible to support this while still keeping backwards compatibility, by simply having a Lua configuration function that can include legacy configuration files, so people only need to upgrade if they want to (e.g. they could keep their old setup and just have their master Lua configuration file just including their old config file).

Doing this also has the advantage that it would simultaneously solve almost every open bug against configuration file quirks, since everything would just be driven by Lua.

Anyway, please consider this, even if it's for 1.5.x or 1.6.x =)

Attachments

Change History

Changed 12 months ago by MikhailMiguel

  • cc mikhail@… added
  • keywords lua added
  • pending unset
  • summary changed from allow using Lua for *all* configuration to Consider using Lua as the configuration file language.

Please, staff: don't forget it! Is a really great idea!

Changed 5 days ago by stbuehler

  • status changed from new to closed
  • resolution set to wontfix

The 1.x config system is the limitation, not the config file itself. so lua wouldn't help there.

in 2.0 there will be a new config system with a lua frontend. but for 1.x this is a wontfix.

Add/Change #1004 (Consider using Lua as the configuration file language.)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.