[LEDE-DEV] [PATCH] scripts/getver.sh: treat all commits as local if can't find upstream

Baptiste Jonglez baptiste at bitsofnetworks.org
Tue Nov 22 02:25:13 PST 2016


Hi,

On Thu, Nov 17, 2016 at 07:25:21AM +0100, Rafał Miłecki wrote:
> If something goes wrong and script can't find upstream revision it will
> return something like:
> r2220
> which looks like a valid upstream revision 2220. We cant' distinguish it
> from e.g. 2200 upstream commits and 20 local ones.
> 
> The new format still provides revision number but also points clearly
> that is may be not the upstream one:
> r0+2220

I tried a LEDE snapshot yesterday, and the version number in the banner
had this format (r0+22XX, can't remember which version exactly).  So it
seems that there is an issue either with the buildbots or with your patch.

The exact snapshot I used is this one, for WR841 v11.0: https://downloads.lede-project.org/snapshots/targets/ar71xx/generic/lede-ar71xx-generic-tl-wr841-v11-squashfs-factory-eu.bin

Baptiste
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20161122/5710a22c/attachment-0001.sig>


More information about the Lede-dev mailing list