Skip to contentSkip to conversation

graphs/depends: do not draw transitive dependencis by default

PATCH New Yann E. MORIN 2 participants 2 messages Jun 9, 2014 – Jun 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 graphs/depends: do not draw transitive dependencis by default

From: "Yann E. MORIN" <[email protected]>

The transitive dependencies make the graphs barely readable for large configs, with a large number of packages.

So, just switch to not drawing the transitive dependencies by default.

By popular demand... ;-)

Cc; Thomas Petazzoni <[email protected]>

---
 docs/manual/common-usage.txt  | 2 +-
 support/scripts/graph-depends | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
docs/manual/common-usage.txt +1 -1
index eb83990..71fe5a3 100644
@@ -207,7 +207,7 @@ The +graph-depends+ behaviour can be controlled by setting options in the
   default, +0+, means no limit.
 
 * +--transitive+, +--no-transitive+, to draw (or not) the transitive
-  dependencies. The default is to draw transitive dependencies.
+  dependencies. The default is not to draw transitive dependencies.
 
 * +--colours R,T,H+, the comma-separated list of colours to draw the
   root package (+R+), the target packages (+T+) and the host packages
support/scripts/graph-depends +1 -1
index 42a42a8..29f271a 100755
@@ -48,7 +48,7 @@ parser.add_argument("--colours", "-c", metavar="COLOR_LIST", dest="colours",
                        + " packages, and the host packages, in this order." \
                        + " Defaults to: 'lightblue,grey,gainsboro'")
 parser.add_argument("--transitive", dest="transitive", action='store_true',
-                    default=True)
+                    default=False)
 parser.add_argument("--no-transitive", dest="transitive", action='store_false',
                     help="Draw (do not draw) transitive dependencies")
 args = parser.parse_args()
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 graphs/depends: do not draw transitive dependencis by default

Quoted 22 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

From: "Yann E. MORIN" <[email protected]>
The transitive dependencies make the graphs barely readable for large configs, with a large number of packages.

So, just switch to not drawing the transitive dependencies by default.

By popular demand... ;-)

Cc; Thomas Petazzoni <[email protected]>

---
 docs/manual/common-usage.txt  | 2 +-
 support/scripts/graph-depends | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
docs/manual/common-usage.txt +0 -0
index eb83990..71fe5a3 100644

docs/manual/common-usage.txt The +graph-depends+ behaviour can be controlled by setting options in the · line 210

Quoted 5 lines
docs/manual/common-usage.txt +1 -1
@@ -207,7 +207,7 @@ The +graph-depends+ behaviour can be controlled by setting options in the
   default, +0+, means no limit.
 
 * +--transitive+, +--no-transitive+, to draw (or not) the transitive
-  dependencies. The default is to draw transitive dependencies.
+  dependencies. The default is not to draw transitive dependencies.

I'm not a native speaker, but I think it should be '.. is to not draw'.

Committed with that (and the commit title) fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard