]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory.bbclass: Improve the generated depends.dot file
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Tue, 29 Aug 2017 21:21:03 +0000 (23:21 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Aug 2017 10:19:11 +0000 (11:19 +0100)
commit99ef2f26cf498e1693a947bb44e40c31c20ec525
tree2db445db8adb27777614e5a1f3edf664297d88bf
parent6d64b110ed0c22f2bcd10cde437a13e03c15b23e
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