graph-depends improvements (branch yem/graphs)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest9 patches 0 repliesNew
- v38 patches 0 repliesSuperseded
- v2 RFC7 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 0 replies | Superseded |
Changes in v4 from the cover letter
- include Fran?ois' host-package colours (Fran?ois)
- fix commit log (Thomas)
- add option for colours, add to manual
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | graph-depends: refactor with more colorssupport/ | +14 | 0 replies | |
| 2/9 | graphs: add option to remove transitive dependencies in dependency graphsupport/ | +49 | 0 replies | |
| 3/9 | graphs-depends: merge redundant-dependencies eliminationsupport/ | +9 | 0 replies | |
| 4/9 | graph-depends: handle the depth argument in a more pythonic waysupport/ | +5 | 0 replies | |
| 5/9 | graph-depends: add option to set the colourssupport/ | +20 | 0 replies | |
| 6/9 | graph-depends: document the 'transitive' variablesupport/ | +3 | 0 replies | |
| 7/9 | graph-depends: rename the mode constantssupport/ | +8 | 0 replies | |
| 8/9 | graph-depends: add option to pass arbitrary dot optionsMakefile package/ | +2 | 0 replies | |
| 9/9 | manual: document the new graph-depends optionsdocs/ | +10 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Thomas De Schampheleire |
|---|---|
| 1/9 | |
| 2/9 | |
| 3/9 | |
| 4/9 | |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Buildroot] [PATCH 0/9 v4] graph-depends improvements (branch yem/graphs)
From: "Yann E. MORIN" <[email protected]>
Hello All!
This series brings a few improvements to the graph-depends utility:
- add option to remove transitive dependencies
- add option to pas arbitrary args to the dot utility
- cleanup and re-arrange the code
This series is open for discusion, especially on how we pass options to the graph generators:
- support/scripts/graph-depends: needs to know whether to generate transitive dependencies or not, and how deep to limit the dependencies
- the 'dot' utility: needs to know whether to graph top-down or left-right (or whatever), the type of graph (tree, circle...) and so on...
Currently, environment variables are used, but that is not in the tastes of some (me including), but I can't see a better way.
Peter suggested using kconfig knobs, but it does not scale when you want different settings for different graphs (e.g, different depth level for different packages).
Samuel suggested using a config file, but it has the same issues as the kconfig options. He also suggested pasing a single environment variable, but that does not work since some options are for graph-depends shile others are for dot.
So I went for adding a new variable to pass options to dot.
Changes v3 -> v4:
- include Fran?ois' host-package colours (Fran?ois)
- fix commit log (Thomas)
- add option for colours, add to manual
Changes v2 -> v3:
- pythonise even further the handling of --depth (Samuel)
- rename BR2_GRAPH_DEPTH to BR2_GRAPH_DEPS_OPTS
- introduce BR2_GRAPH_DOT_OPTS
- update manual accordingly
Changes v1 -> v2:
- complete rewrite, split into a series
Regards,
Yann E. MORIN.
The following changes since commit ed1182641812986f529b2150635f1e93c799a419:
xserver_xorg-server: add support for xtensa architecture (2014-06-08 15:51:00 +0200)
are available in the git repository at:
git://gitorious.org/buildroot/buildroot.git yem/graphs
for you to fetch changes up to fa5477ea2ced52b952961623097578564a7247b6:
manual: document the new graph-depends options (2014-06-08 15:58:27 +0200)
----------------------------------------------------------------
Francois Perrad (1):
graph-depends: refactor with more colors
Yann E. MORIN (8):
graphs: add option to remove transitive dependencies in dependency graph
graphs-depends: merge redundant-dependencies elimination
graph-depends: handle the depth argument in a more pythonic way
graph-depends: add option to set the colours
graph-depends: document the 'transitive' variable
graph-depends: rename the mode constants
graph-depends: add option to pass arbitrary dot options
manual: document the new graph-depends options
Makefile | 2 +- docs/manual/common-usage.txt | 11 ++- package/pkg-generic.mk | 2 +- support/scripts/graph-depends | 161 +++++++++++++++++++++++++++--------------- 4 files changed, 115 insertions(+), 61 deletions(-)
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'