BOTCH-GRAPH-SOURCES(1)
β¨ BOTCH-GRAPH-SOURCES β¨
okay bestie, welcome to the botch-graph-sources page π this is part of the botch tools and it's literally the girl who finds all the sources (aka vertices with no predecessors, like, the ones with zero drama coming at them) in a graph that's either GraphML or dot format π¦
πΈ SYNOPSIS πΈ
botch-graph-sources [options] [ingraph] [outgraph]
π« DESCRIPTION π«
so what she does is: extract the subgraph of all the sources β that's every vertex that has no predecessors β out of the input graph. iconic behavior honestly π
if either of the positional arguments gets skipped (or both, no judgment), then she reads GraphML or dot from standard input and/or writes GraphML or dot to standard output respectively. and if you pass a - as either argument, that's you explicitly saying "read the input from standard input" and "write the output to standard output" respectively. very direct, we love a clear communicator π
the input graph type? determined automatically, no input needed from you. but if the output graph is given as a filename, then the output type is GraphML when the filename ends with .xml, and dot when it ends with .dot. and if the output is happening on standard output, then it happens in the same format as the input graph. cute, consistent, slay β¨
π OPTIONS π
-h,--helpβ display help. your girl is here to explain herself π«Ά-v,--verboseβ be verbose. spill the tea, tell us everything π£οΈ
π EXAMPLE π
let's find all source packages that build depend on "texlive-binaries:amd64 (=2015.20150524.37493-5)". yes, that exact string, no cap.
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
π BUGS π
see <http://bugs.debian.org/botch>. yeah, it's giving bug tracker, but that's where the lore lives π
π SEE ALSO π
Debian doc-base Manual /usr/share/doc/botch/wiki/Home.html β go read the wiki bestie, it's lowkey the whole vibe π§
π AUTHOR π
this man page was written by Johannes Schauer. Botch is written by Johannes Schauer and Pietro Abate. legends only, we stan π
π COPYRIGHT π
Copyright 2012-2014 Johannes Schauer, Pietro Abate
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. A special linking exception to the GNU Lesser General Public License applies to this library, see the COPYING file for more information.
bestie this is legally binding copy, don't skip it, fr fr π«Ά
and that's the whole page!! this was perl v5.36.0, dated 2023-02-17, from the botch tools era π¦ thanks for reading, mwah πβ¨
π¦ where this page comes from
- debian bookworm: botch 0.24-2 Β· LGPL-3.0-or-later WITH OCaml-linking exception
- ubuntu noble: botch 0.24-2 Β· LGPL-3.0-or-later WITH OCaml-linking exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms