<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/include/version.mk, branch state</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=state</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=state'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2018-08-02T05:54:40Z</updated>
<entry>
<title>base-files: fix HOME_URL replace</title>
<updated>2018-08-02T05:54:40Z</updated>
<author>
<name>Chen Minqiang</name>
</author>
<published>2018-08-02T01:10:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=33bce21bb0f3def5a2516384a8ae16f88b9b193e'/>
<id>urn:sha1:33bce21bb0f3def5a2516384a8ae16f88b9b193e</id>
<content type='text'>
Signed-off-by: Chen Minqiang &lt;ptpt52@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: add menuconfig option for HOME_URL</title>
<updated>2018-06-27T06:40:34Z</updated>
<author>
<name>Mathias Kresin</name>
</author>
<published>2017-11-02T07:21:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=52a9edb1bfaf51c250a33303beacba95dd1dbc05'/>
<id>urn:sha1:52a9edb1bfaf51c250a33303beacba95dd1dbc05</id>
<content type='text'>
Add a menuconfig option to set the HOME_URL exposed in
/usr/lib/os-release independent from the
LEDE_DEVICE_MANUFACTURER_URL.

Fixes: FS#1123

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
</entry>
<entry>
<title>build: change version.mk defaults to OpenWrt</title>
<updated>2018-06-22T11:45:03Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-06-22T11:45:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=333e609703ff40a272b8f8832a8af682826fb572'/>
<id>urn:sha1:333e609703ff40a272b8f8832a8af682826fb572</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>treewide: combine VERSION_SED and VERSION_SED_SCRIPT</title>
<updated>2018-02-02T12:59:34Z</updated>
<author>
<name>Philip Prindeville</name>
</author>
<published>2018-01-25T00:33:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=ff8e9a4ecbe70564c8649ea4ed69f28bec77dfa7'/>
<id>urn:sha1:ff8e9a4ecbe70564c8649ea4ed69f28bec77dfa7</id>
<content type='text'>
We don't need two versions of this.  The escaping quotes
is so that the sed commands aren't misinterpreted by shell;
it has nothing to do with the contents of the file, thus
one version is adequate.

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
</content>
</entry>
<entry>
<title>version.mk: escape values used in VERSION_SED macro</title>
<updated>2018-02-02T12:59:34Z</updated>
<author>
<name>Philip Prindeville</name>
</author>
<published>2018-01-24T23:52:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=abbb07a6616afa942d69d8b612cfad90213d40eb'/>
<id>urn:sha1:abbb07a6616afa942d69d8b612cfad90213d40eb</id>
<content type='text'>
In addition to backslash and ampersand needing to be escaped for
simple sed RHS strings, we also need to escape comma since we're
using that as our s/// delimiter.

Pass everything through a macro filter to sanitize it.

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
</content>
</entry>
<entry>
<title>merge: release/banner: drop release name and update banner</title>
<updated>2017-12-08T18:41:18Z</updated>
<author>
<name>Zoltan HERPAI</name>
</author>
<published>2017-11-07T08:45:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=bf5cef47b38c0b119dc84a78919944e21d5c4092'/>
<id>urn:sha1:bf5cef47b38c0b119dc84a78919944e21d5c4092</id>
<content type='text'>
Signed-off-by: Zoltan HERPAI &lt;wigyori@uid0.hu&gt;
</content>
</entry>
<entry>
<title>build: use SNAPSHOT instead of CURRENT to designate untagged branch builds</title>
<updated>2016-12-14T17:43:49Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2016-12-02T21:11:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=a4232cd4bfa9d244a0b763742564f22d15264839'/>
<id>urn:sha1:a4232cd4bfa9d244a0b763742564f22d15264839</id>
<content type='text'>
Calling a build ##.##-CURRENT might mislead users into thinking that this
build is the most current release of a branch.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: adjust version number handling</title>
<updated>2016-12-02T15:02:02Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2016-12-01T16:40:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=5f3c96c28503b8a0aad1514ef144b15e670d338b'/>
<id>urn:sha1:5f3c96c28503b8a0aad1514ef144b15e670d338b</id>
<content type='text'>
Move the revision info to the VERSION_CODE variable and default VERSION_NUMBER
to CURRENT for master branch builds.

Also introduce a new menuconfig option CONFIG_VERSION_CODE which allows users
to override the revision value put into VERSION_CODE and adjust the template
files used by the base-files package to accomodate for the changed semantics.

While we're at it, also adjust the various URLs to match the current web site.

After this commit, the relevent files will look like the examples given below:

    # cat /etc/openwrt_version
    r2398+1

    # cat /etc/openwrt_release
    DISTRIB_ID='LEDE'
    DISTRIB_RELEASE='CURRENT'
    DISTRIB_REVISION='r2398+1'
    DISTRIB_CODENAME='reboot'
    DISTRIB_TARGET='x86/64'
    DISTRIB_DESCRIPTION='LEDE Reboot CURRENT r2398+1'
    DISTRIB_TAINTS='no-all override'

    # cat /usr/lib/os-release
    NAME="LEDE"
    VERSION="CURRENT, Reboot"
    ID="lede"
    ID_LIKE="lede openwrt"
    PRETTY_NAME="LEDE Reboot CURRENT"
    VERSION_ID="current"
    HOME_URL="http://lede-project.org/"
    BUG_URL="http://bugs.lede-project.org/"
    SUPPORT_URL="http://forum.lede-project.org/"
    BUILD_ID="r2398+1"
    LEDE_BOARD="x86/64"
    LEDE_TAINTS="no-all override"
    LEDE_DEVICE_MANUFACTURER="LEDE"
    LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/"
    LEDE_DEVICE_PRODUCT="Generic"
    LEDE_DEVICE_REVISION="v0"
    LEDE_RELEASE="LEDE Reboot CURRENT r2398+1"

On a release branch, those files would look like:

    # cat /etc/openwrt_version
    r2399

    # cat /etc/openwrt_release
    DISTRIB_ID='LEDE'
    DISTRIB_RELEASE='16.12-CURRENT'
    DISTRIB_REVISION='r2399'
    DISTRIB_CODENAME='test_release'
    DISTRIB_TARGET='x86/64'
    DISTRIB_DESCRIPTION='LEDE Test Release 16.12-CURRENT r2399'
    DISTRIB_TAINTS='no-all override'

    # cat /usr/lib/os-release
    NAME="LEDE"
    VERSION="16.12-CURRENT, Test Release"
    ID="lede"
    ID_LIKE="lede openwrt"
    PRETTY_NAME="LEDE Test Release 16.12-CURRENT"
    VERSION_ID="16.12-current"
    HOME_URL="http://lede-project.org/"
    BUG_URL="http://bugs.lede-project.org/"
    SUPPORT_URL="http://forum.lede-project.org/"
    BUILD_ID="r2399"
    LEDE_BOARD="x86/64"
    LEDE_TAINTS="no-all override"
    LEDE_DEVICE_MANUFACTURER="LEDE"
    LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/"
    LEDE_DEVICE_PRODUCT="Generic"
    LEDE_DEVICE_REVISION="v0"
    LEDE_RELEASE="LEDE Test Release 16.12-CURRENT r2399"

On a release tag, those files would look like:

    # cat /etc/openwrt_version
    r2500

    # cat /etc/openwrt_release
    DISTRIB_ID='LEDE'
    DISTRIB_RELEASE='17.02.1'
    DISTRIB_REVISION='r2500'
    DISTRIB_CODENAME='mighty_unicorn'
    DISTRIB_TARGET='x86/64'
    DISTRIB_DESCRIPTION='LEDE Mighty Unicorn 17.02.1 r2500'
    DISTRIB_TAINTS='no-all override'

    # cat /usr/lib/os-release
    NAME="LEDE"
    VERSION="17.02.1, Mighty Unicorn"
    ID="lede"
    ID_LIKE="lede openwrt"
    PRETTY_NAME="LEDE Mighty Unicorn 17.02.1"
    VERSION_ID="17.02.1"
    HOME_URL="http://lede-project.org/"
    BUG_URL="http://bugs.lede-project.org/"
    SUPPORT_URL="http://forum.lede-project.org/"
    BUILD_ID="r2500"
    LEDE_BOARD="x86/64"
    LEDE_TAINTS="no-all override"
    LEDE_DEVICE_MANUFACTURER="LEDE"
    LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/"
    LEDE_DEVICE_PRODUCT="Generic"
    LEDE_DEVICE_REVISION="v0"
    LEDE_RELEASE="LEDE Mighty Unicorn 17.02.1 r2500"

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
Acked-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>sdk: predefine SOURCE_DATE_EPOCH</title>
<updated>2016-10-21T10:43:45Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2016-10-21T10:21:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=8cc922411561dfa6f65fbb492a7bdb6fb9bbb6d5'/>
<id>urn:sha1:8cc922411561dfa6f65fbb492a7bdb6fb9bbb6d5</id>
<content type='text'>
When building packages within the SDK, there is no Git revision history
available so prepopulate SOURCE_DATE_EPOCH in version.mk, similar to
how we handle REVISION already.

Acked-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>base-files: Add standard os-release file</title>
<updated>2016-06-24T11:52:53Z</updated>
<author>
<name>Daniel Dickinson</name>
</author>
<published>2016-05-18T13:07:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=f954f4337b85bd8d8ad6a589bc63edf48f777ee6'/>
<id>urn:sha1:f954f4337b85bd8d8ad6a589bc63edf48f777ee6</id>
<content type='text'>
/etc/os-release is the standard distribution release information
file, therefore add it (and image configuration options for
fields not previously present in LEDE).  Once it is deemed
reasonable the non-standard openwrt_release, openwrt_version,
and device_info files could be removed (that is with this patch
we consider them deprecated in favour of the standard file).

Signed-off-by: Daniel Dickinson &lt;lede@daniel.thecshore.com&gt;
</content>
</entry>
</feed>
