Skip to content

graph-depends improvements (branch yem/graphs)

Yann E. MORIN buildroot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest9 patches 0 repliesNew
  2. v38 patches 0 repliesSuperseded
  3. v2 RFC7 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch0 repliesSuperseded

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 filesSizeRepliesApplied
1/9graph-depends: refactor with more colorssupport/scripts/graph-depends+14 -70 replies
2/9graphs: add option to remove transitive dependencies in dependency graphsupport/scripts/graph-depends+49 -00 replies
3/9graphs-depends: merge redundant-dependencies eliminationsupport/scripts/graph-depends+9 -370 replies
4/9graph-depends: handle the depth argument in a more pythonic waysupport/scripts/graph-depends+5 -40 replies
5/9graph-depends: add option to set the colourssupport/scripts/graph-depends+20 -30 replies
6/9graph-depends: document the 'transitive' variablesupport/scripts/graph-depends+3 -00 replies
7/9graph-depends: rename the mode constantssupport/scripts/graph-depends+8 -120 replies
8/9graph-depends: add option to pass arbitrary dot optionsMakefile package/pkg-generic.mk+2 -20 replies
9/9manual: document the new graph-depends optionsdocs/manual/common-usage.txt+10 -10 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchThomas De Schampheleire
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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.  |
'------------------------------^-------^------------------^--------------------'