1 .TH AUR-GRAPH 1 2020-11-08 AURUTILS
3 aur\-graph \- print package/dependency directed graph
12 prints out a partial ordering of packages (tab-separated)
16 files. If no files are listed on the command-line, input
17 is taken from standard input.
20 Options can be specified with the
22 parameter. Every option requires a single
24 parameter prepending it.
27 .BR CHECKDEPENDS=[1|0] ", " DEPENDS=[1|0] ", " MAKEDEPENDS=[1|0]
35 For a split package, only global dependencies corresponding to
37 are printed. Defaults to
50 List all global dependencies for a
52 Any encountered dependencies are printed as-is, that is, no version
53 comparisons are done by
55 nor are results limited to
57 encountered in specified
65 and versioned dependencies. This can be used to verify output from
66 tools with no or limited support for such dependencies, for example
70 $ mkdir build; cd build
71 $ aur depends <package> | xargs -d '\\n' aur fetch
72 $ aur graph */.SRCINFO >/dev/null
76 output is suitable as input for
78 provided no cycles are present. The resulting topologically ordered
79 list can be used to build packages in the correct order. For example:
83 $ aur graph */.SRCINFO | tsort | tac > deps.txt
84 $ aur build -a deps.txt
87 To improve performance,
89 files may be concatenated before processing:
92 $ cat */.SRCINFO | aur graph | tsort | tac
100 .BR aur\-depends (1),
106 .MT https://github.com/AladW
110 .\" vim: set textwidth=72: