]> code.ossystems Code Review - openembedded-core.git/commit
devtool: add a 'latest-version' command
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Thu, 23 Nov 2017 15:11:40 +0000 (17:11 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Dec 2017 18:00:24 +0000 (18:00 +0000)
commite8f5b5cc25ce7a9882f21473cefc47edcebf77d4
tree2ee7a2b386f46ec268bfebc455e70e855a5dfa2f
parent1825473ba35b4557db99786420ca451068922223
devtool: add a 'latest-version' command

This command queries the upstream server for what the latest release is and prints
the output; it is a much neater way to find out these things than fumbling with distrodata,
'bitbake -c checkpkg' and awkward to read csv output in a file.

Examples:

python3 (tarballs):
NOTE: Current version: 3.5.3
NOTE: Latest version: 3.6.3

rpm (git):
NOTE: Current version: 4.13.90
NOTE: Latest version: 4.14.0
NOTE: Latest version's commit: da3720f62e57648fb1dc2a632744d38866139971

puzzles (git without version tags):
NOTE: Latest commit: ee8ea9b9785964694cb2b3ad77c3fb2460f49510

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
scripts/lib/devtool/upgrade.py