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 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