]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory.bbclass: Improve the generated depends.dot file
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 9 Jun 2017 19:34:27 +0000 (21:34 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Jun 2017 14:17:50 +0000 (15:17 +0100)
commit37ea2c8b299483f0e12fad66efa789c6445571e0
tree16374817138a13fb52074e0f336336871e2af81f
parent2cbeb6edbfcbd9378a5a79b17f7d31a49e0356ff
buildhistory.bbclass: Improve the generated depends.dot file

* Convert incorrectly formatted dependencies such as:
    "bar -> "foo" ">=" "1.2.3"
  into dependencies with edge labels:
    "bar -> "foo" [label=">= 1.2.3"]
* Remove rpmlib() and config() dependencies such as:
    "foo" -> "rpmlib(CompressedFileNames)" [label="<= 3.0.4-1"]
  and:
    "base-files" -> "config(base-files)" [label="= 3.0.14-r89.49"]
* Remove the trailing semicolon that was added to each line. It fills
  no purpose.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildhistory.bbclass