<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luci/modules/luci-base/src/Makefile, branch master</title>
<subtitle>Lua Configuration Interface (mirror)</subtitle>
<id>https://git-03.infra.openwrt.org/project/luci/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/luci/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/'/>
<updated>2026-01-06T13:19:34Z</updated>
<entry>
<title>luci-base: clean overlooked files</title>
<updated>2026-01-06T13:19:34Z</updated>
<author>
<name>novenary enneagon</name>
</author>
<published>2026-01-05T13:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=6ebcfe66eca2f9b6c5ef41c8992fa190f499436d'/>
<id>urn:sha1:6ebcfe66eca2f9b6c5ef41c8992fa190f499436d</id>
<content type='text'>
Updates: https://github.com/openwrt/luci/issues/8195

This fixes the primary symptom (subsequent builds reusing stale
products), but not the root cause (the build running in-tree).

Signed-off-by: novenary enneagon &lt;novenary@kwak.zip&gt;
</content>
</entry>
<entry>
<title>luci-base: specify c17 standard</title>
<updated>2025-04-18T13:03:43Z</updated>
<author>
<name>Andrew Robbins</name>
</author>
<published>2025-04-15T05:38:35Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=7e6741fbae9b122545e80aad8b9e3a5529c442ce'/>
<id>urn:sha1:7e6741fbae9b122545e80aad8b9e3a5529c442ce</id>
<content type='text'>
build was failing b/c gcc15 defaults to c23, which lemon is not written for (and errors with).

Signed-off-by: Andrew Robbins &lt;andrew@robbinsa.me&gt;
</content>
</entry>
<entry>
<title>luci-base: always link core.so with libcrypt to satisfy glibc builds</title>
<updated>2022-10-27T10:36:33Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-10-27T10:36:33Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=2a5efb31b7b8a1fcd253b3897bed97abb0a67f4a'/>
<id>urn:sha1:2a5efb31b7b8a1fcd253b3897bed97abb0a67f4a</id>
<content type='text'>
Fixes the following runtime error on glibc based builds:

    Runtime error: Unable to dlopen file ...: undefined symbol: crypt
    In module(), file /usr/share/ucode/luci/dispatcher.uc, line 1, byte 1:
      called from anonymous function (/www/cgi-bin/luci:7:21)

Ref: https://forum.openwrt.org/t/x/137250/18
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>treewide: separate Lua runtime resources</title>
<updated>2022-10-24T23:03:37Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-09-13T21:50:12Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=673f38246ac3548caefec41183e3dd7477d9f6f6'/>
<id>urn:sha1:673f38246ac3548caefec41183e3dd7477d9f6f6</id>
<content type='text'>
Move classes required for Lua runtime support into a new `luci-lua-runtime`
package. Also replace the `luci.http` and `luci.util` classes in
`luci-lib-base` with stubbed versions interacting with the ucode based
runtime environment.

Finally merge `luci-base-ucode` into the remainders of `luci-base`.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>luci-base: add support for plural translations and contexts in Lua api</title>
<updated>2020-01-25T22:21:35Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-01-23T20:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=9939fc5a26d07da4756497bb6a7dc51dcf379e98'/>
<id>urn:sha1:9939fc5a26d07da4756497bb6a7dc51dcf379e98</id>
<content type='text'>
 - Introduce a new luci.template.parser.ntranslate() function which
   takes a count, a singular and a plural translation string as well
   as an optional context argument and returns the appropriate,
   language specific plural translation.

 - Introduce an optional translation context argument in the existing
   luci.template.parser.translate() function

 - Support translation contexts in LuCI template directives.
   Translation messages are split on the first unescaped pipe
   character and the reamining string after the pipe is treated
   as context.

Examples:

 - `string.format(p.ntranslate(n, "1 apple", "%d apples"), n)` will
   return an appropriate plural translation for the given amount.

 - `translate("Load", "The system load")` will return an appropiate
   translation for `Load`, using `The system load` as disambiguation
   context (a `msgctxt` directive in *.po files).

 - Likewise `&lt;%:Load|The system load%&gt;` will translate the word
   `Load` while using the remainder of the string as context.

 - To use pipes in translations strings literally, they must be
   escaped: `&lt;%:Use the "\|" character%&gt;` will translate the literal
   string `Use the "|" character`.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: add build option to minify *.js files</title>
<updated>2018-11-22T11:49:14Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-11-21T17:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=17690f2d73b640cf4bbf082fe96f5b3075a040fe'/>
<id>urn:sha1:17690f2d73b640cf4bbf082fe96f5b3075a040fe</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>LuCI: Display the proper LuCI git branch in GUI</title>
<updated>2016-03-10T17:50:58Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2016-03-10T17:50:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=7553654bb10af9206cff9837a485b828d1998213'/>
<id>urn:sha1:7553654bb10af9206cff9837a485b828d1998213</id>
<content type='text'>
Adjust luci.mk and luci-base to find out correctly if Luci is built
from master or from a branch. Display that value in the footer and
the overview page.

* Evaluate the git branch in luci.mk and pass that to LuCI submodules
  as a make variable. Use branch name, ignore tags.
* Deprecate svn detection in luci-base's mkversion.sh that generates
  version.lua. Simply use the value passed by make.

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
<entry>
<title>Rework LuCI build system</title>
<updated>2015-01-08T15:26:20Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2014-12-03T14:17:05Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/luci/commit/?id=1bb4822dca6113f73e3bc89e2acf15935e6f8e92'/>
<id>urn:sha1:1bb4822dca6113f73e3bc89e2acf15935e6f8e92</id>
<content type='text'>
 * Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich &lt;jow@openwrt.org&gt;
</content>
</entry>
</feed>
