| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| BUILD.bazel | D | 03-May-2024 | 1 KiB | 34 | 30 | |
| README.md | D | 03-May-2024 | 952 | 41 | 26 | |
| bp2build-module-dep-infos.py | D | 03-May-2024 | 6.2 KiB | 178 | 130 | |
| bp2build-progress.py | D | 03-May-2024 | 14 KiB | 429 | 317 | |
| dependency_analysis.py | D | 03-May-2024 | 4.2 KiB | 136 | 91 |
README.md
1# bp2build progress graphs 2 3This directory contains tools to generate reports and .png graphs of the 4bp2build conversion progress, for any module. 5 6This tool relies on `json-module-graph` and `bp2build` to be buildable targets 7for this branch. 8 9## Prerequisites 10 11* `/usr/bin/dot`: turning dot graphviz files into .pngs 12* Optional: `/usr/bin/jq`: running the query scripts over the json-module-graph. 13 14Tip: `--use_queryview=true` allows running `bp2build-progress.py` without `jq`. 15 16## Instructions 17 18# Generate the report for a module, e.g. adbd 19 20``` 21./bp2build-progress.py report -m adbd 22``` 23 24or: 25 26``` 27./bp2build-progress.py report -m adbd --use_queryview=true 28``` 29 30# Generate the report for a module, e.g. adbd 31 32``` 33./bp2build-progress.py graph -m adbd > /tmp/graph.in && dot -Tpng -o /tmp/graph.png /tmp/graph.in 34``` 35 36or: 37 38``` 39./bp2build-progress.py graph -m adbd --use_queryview=true > /tmp/graph.in && dot -Tpng -o /tmp/graph.png /tmp/graph.in 40``` 41