BOTCH-CREATE-GRAPH(1)

πŸ’– BOTCH-CREATE-GRAPH πŸ’–

okay bestie, so this is the manual page for botch-create-graph β€” one of the botch tools β€” and I'm gonna walk you through it like we're texting at 2am, except every single fact is staying exactly where it is. no cap. 🫢


✨ NAME ✨

botch-create-graph β€” create graph based on installation sets, strong dependency sets or dependency closures πŸ¦‹


🌸 SYNOPSIS 🌸

botch-create-graph [options] Packages.. Sources

πŸ’… DESCRIPTION πŸ’…

so basically: you hand it a repository of source packages and binary packages, and it creates the build graph and the source graph for it. that's the whole vibe. iconic. ✨


πŸŽ€ OPTIONS πŸŽ€

  • --version β€” show the program's version and dip πŸ’¨
  • -h, --help β€” show this help message and exit 🫢
  • -v, --verbose β€” print additional information, like, more talking πŸ‘€
  • --quiet β€” do no print any messages. silence. the quiet luxury of it all πŸ’…
  • -A, --available=FILE β€” a list of available packages (arch:all, crossed...) in control file format
  • --custom-is=FILE β€” list of files with dependencies that should not be part of the IS
  • --deb-drop-b-d-indep β€” drop Build-Depends-Indep dependencies πŸ“
  • --deb-drop-b-d-arch β€” drop Build-Depends-Arch dependencies πŸ“
  • --allowsrcmismatch β€” if a binary package has no source package but there is a source package of the same name with a different version, match this binary package to that source package πŸ‘‘
  • --progress β€” print progress bars πŸ“Š
  • --timers β€” print timing information ⏱️
  • --strongtype β€” generate a strong build graph (only strong dependencies) πŸ’ͺ
  • --closuretype β€” generate a dependency closure build graph (all dependency relationships) πŸ”—
  • --fg=PKGS β€” additional Packages lists that are checked and used for resolving dependencies (can be repeated) πŸ”
  • --bg=PKGS β€” additional Packages lists that are NOT checked but are used for resolving dependencies (can be repeated) πŸ”
  • --deb-native-arch=ARCH β€” native architecture ARCH 🧚
  • --deb-host-arch=arch β€” host architecture arch. defaults to native architecture.
  • --deb-foreign-archs=archs β€” comma-separated foreign architectures in addition to native and host architectures 🌈
  • --deb-ignore-essential β€” by default, installing any binary package requires the coinstallation set of all binary packages marked Essential:yes to be installed as well. this option drops that requirement. πŸ™ˆ
  • --optgraph β€” calculate a dependency graph where each installation set contains the minimal number of unavailable binary packages πŸ’€

πŸ”₯ EXAMPLE πŸ”₯

calculate a self-contained repository:

zcat packages | grep-dctrl -X \( -FPackage build-essential --or -FEssential yes \) > minimal
dose-deb-coinstall --deb-native-arch=amd64 --bg=packages --fg=minimal > minimal-amd64
botch-bin2src --deb-native-arch=amd64 minimal-amd64 sources > minimal-src
grep-dctrl -FArchitecture all packages > available
botch-create-graph --deb-ignore-essential -A available --deb-native-arch=amd64 --bg sources packages minimal-src > graph.xml
botch-buildgraph2packages graph.xml packages > min-closure
botch-packages-union min-closure minimal-amd64 min-closure
botch-bin2src --deb-native-arch=amd64 min-closure sources > min-closure-src
dose-builddebcheck --deb-native-arch=amd64 min-closure min-closure-src

the self-contained repository will then be min-closure and min-closure-src. slay. ✨


😭 BUGS 😭

see <http://bugs.debian.org/botch>. (not me sending you straight to the bug tracker πŸ’€)


πŸ¦‹ SEE ALSO πŸ¦‹

Debian doc-base Manual /usr/share/doc/botch/wiki/Home.html πŸ“–


πŸ‘‘ AUTHOR πŸ‘‘

this man page was written by Johannes Schauer. Botch is written by Johannes Schauer and Pietro Abate. 🫢


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. πŸ“œ


and that's the whole page bestie, mwah πŸ’…βœ¨ β€” this was perl v5.36.0, dated 2023-02-17, and it's the BOTCH-CREATE-GRAPH(1) page, so go forth and graph. periodt. πŸ’–

πŸ“¦ where this page comes from