]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory-diff: improve command-line handling
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 15 Aug 2013 17:04:39 +0000 (18:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Aug 2013 10:38:33 +0000 (11:38 +0100)
commit5e2be70e89820ffc74208d225fe4414fe5182050
treef42b55c140c17b4b8b92531ea7c3b8293799c4a3
parent99efdad886aa5063a68912846c00a46ba9b15536
buildhistory-diff: improve command-line handling

Improve command-line argument handling of buildhistory-diff to make it
easier to use.

* Default buildhistory directory to buildhistory/ under the current
  directory and require an option to set it (since most users will
  likely run buildhistory-diff from the build directory and keep
  BUILDHISTORY_DIR at its default location)
* Default from-revision to "build-minus-1" to get the difference from
  the previous build with no arguments
* Allow from/to revisions to be specified by from..to (since git accepts
  this form).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/buildhistory-diff