graphs/depends: do not draw transitive dependencies by default
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 9 Jun 2014 22:28:56 +0000 (00:28 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 13 Jun 2014 12:39:48 +0000 (14:39 +0200)
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... ;-)

[Peter: reword]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc; Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
docs/manual/common-usage.txt
support/scripts/graph-depends

index eb839902449a3f2e8beadbfd26cfe7f877913c52..539185a814626e76baf0f29dcbef610ca2cc161f 100644 (file)
@@ -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 to not 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
index 42a42a8542a91efa0edb46ea1e004a21b135de83..29f271a8e346e922edd0bfe58d0ed48c2eaa4fe5 100755 (executable)
@@ -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()