LuCI - OpenWrt Configuration Interface
Find a file
Hannu Nyman ca75918ff3 Luci opkg/packages: Limit version string display to 26 chars
Many packages currently include a git commit hash in version string.
That makes versions string 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>
2015-09-01 22:45:17 +03:00
applications Merge pull request #393 from nmav/no-group-match 2015-08-31 11:20:29 +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 16:00:33 +02:00
contrib contrib/community-profiles: add hameln 2015-07-30 16:44:44 +02:00
documentation luci-lib-ip: fix documentation issue 2015-09-01 16:49:19 +02:00
libs luci-lib-ip: fix documentation issue 2015-09-01 16:49:19 +02:00
modules Luci opkg/packages: Limit version string display to 26 chars 2015-09-01 22:45:17 +03:00
protocols IPv6 updates 2015-05-17 17:06:43 +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
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:32:15 +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 Remove ancient INSTALL file and update README.me 2015-08-28 18:38:41 +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. Your feeds.conf.default (or feeds.conf) should contain a line like:

src-git luci https://github.com/openwrt/luci.git

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.