botch-graph-sources1
Find all sources (vertices without predecessors) in a graph in graphml or dot format
Usage
botch-graph-sources[options] [ingraph] [outgraph]
Overview
Extract the subgraph of all sources (vertices without predecessors) in the input graph.
If either (or both) of the positional arguments is/are omitted, then read GraphML or dot from standard input and/or write GraphML or dot to standard output, respectively. Passing a '-' as either argument, explicitly specifies to read the input from standard input and write the output to standard output, respectively.
The input graph type will be determined automatically. If the output graph is given as a filename, then the output type will be GraphML if the filename ends with .xml and dot if the filename ends with .dot. If the output is done on standard output then it will happen in the same format as the input graph.
Options
-
-h, --help -
Display help.
-
-v, --verbose -
Be verbose.
Examples
Find all source packages that build depend on "texlive-binaries:amd64 (=2015.20150524.37493-5)".
Using package selection and reverse dependency cone computation by ceve:
dose-ceve -r "texlive-binaries:amd64 (= 2015.20150524.37493-5)" --deb-native-arch=amd64 -G pkg -T grml deb://Packages debsrc://Sources \| botch-graph-sources - - \| botch-graph2text - "{realpackage} (= {realversion})" --vertex type:src \| sort
Using package selection and ancestor vertex computation by botch:
dose-ceve --deb-native-arch=amd64 -G pkg -T grml deb://Packages debsrc://Sources \| botch-graph-ancestors - - --target realpackage:texlive-binaries:amd64 realversion:2015.20150524.37493-5 \| botch-graph-sources - - \| botch-graph2text - "{realpackage} (= {realversion})" --vertex type:src \| sort
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.