LuCI - OpenWrt Configuration Interface
Find a file
Hannu Nyman 3836b457b6 Luci opkg/packages: Limit version string display to 26 chars
Many packages currently include a git commit hash in version string.
That makes version strings very long and the version column takes much space
when listing available/installed packages in Luci.

Longest version string is 58 characters (micropython).
85 packages have at least 50 chars and 150 packages at least 40 chars.

Adjust Luci to display max. 26 characters (= luci's own version string).

Longer version strings are cut to: "first 21c" + ".." + "last 3c"

The last 3 chars are used to preserve the possible PKG_REVISION string.
E.g. 'opkg' has only hash+PKG_REVISION, so using only start of the string
might not be optimal.

Examples:

1.3.10-20150302-f2a889564b3a215902622b040a1247af38cb8203-1
1.3.10-20150302-f2a88..3-1

0.1-20150302-654c7d288603f7dae09eb09b57fb67b38c7ac6c3-1
0.1-20150302-654c7d28..3-1

9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7
9c97d5ecd795709c8584e..d-7

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(backport of commit ca75918ff3)
2015-09-05 11:24:37 +03:00
applications statistics: fix typo 2015-09-02 15:59:23 +03:00
build build: rework i18n-sync.sh to support new structure 2015-04-20 10:17:23 +02:00
collections collections/luci: depend on luci-proto-ipv6 if IPV6 is enabled 2015-05-06 15:59:40 +02:00
contrib contrib/meshwizard: fix LAN with OLSR and DHCP 2015-07-07 12:23:32 +02:00
libs Move inline documentation into separate files. 2015-01-29 16:26:46 +01:00
modules Luci opkg/packages: Limit version string display to 26 chars 2015-09-05 11:24:37 +03:00
protocols Fix typo in last commit 2015-04-10 18:55:56 +02:00
themes Merge pull request #333 from legendtang/master 2015-03-10 18:55:15 +01:00
.buildpath * new project: ff-luci - Freifunk Lua Configuration Interface 2008-03-02 21:52:58 +00:00
.cproject More C-Functions (luci.cutil.instanceof, luci.cutil.pcdata) 2008-11-20 19:22:05 +00:00
.gitignore Update .gitignore 2015-04-20 10:08:23 +02:00
.project LuCI Core C-Rewrite: First steps 2008-11-19 23:02:36 +00:00
CONTRIBUTING.md Add initial contribution guidelines 2014-10-10 15:32:27 +02:00
INSTALL HTTP is sufficient for plain checkouts, Schäuble could also do checkouts before by himself 2009-01-02 21:42:49 +00:00
LICENSE * new project: ff-luci - Freifunk Lua Configuration Interface 2008-03-02 21:52:58 +00:00
luci.mk luci.mk: don't builtin translations selected by CONFIG_ALL 2015-05-05 10:33:30 +02:00
Makefile build: introduce luci-base 2014-06-11 13:29:05 +00:00
NOTICE Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
README.md Create README.md 2014-11-07 18:05:28 +03:00
THANKYOU * luci: replace all "OpenWRT" occurences with "OpenWrt" 2008-10-27 15:19:58 +00:00

OpenWrt luci feed

Description

This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.

Usage

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update luci
./scripts/feeds install -a -p luci

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.