tree: 381af79f5c60b9e87088d5450ea1e2cf68c5f2de [path history] [tgz]
  1. bp2build-progress.py
  2. README.md
scripts/bp2build-progress/README.md

bp2build progress graphs

This directory contains tools to generate reports and .png graphs of the bp2build conversion progress, for any module.

This tool relies on json-module-graph and bp2build to be buildable targets for this branch.

Prerequisites

  • /usr/bin/dot: turning dot graphviz files into .pngs
  • Optional: /usr/bin/jq: running the query scripts over the json-module-graph.

Tip: --use_queryview=true allows running bp2build-progress.py without jq.

Instructions

Generate the report for a module, e.g. adbd

./bp2build-progress.py report adbd

or:

./bp2build-progress.py report adbd --use_queryview=true

Generate the report for a module, e.g. adbd

./bp2build-progress.py graph adbd > /tmp/graph.in && dot -Tpng -o /tmp/graph.png /tmp/graph.in

or:

./bp2build-progress.py graph adbd --use_queryview=true > /tmp/graph.in && dot -Tpng -o /tmp/graph.png /tmp/graph.in