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β dropBuild-Depends-Indepdependencies π--deb-drop-b-d-archβ dropBuild-Depends-Archdependencies π--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β additionalPackageslists that are checked and used for resolving dependencies (can be repeated) π--bg=PKGSβ additionalPackageslists that are NOT checked but are used for resolving dependencies (can be repeated) π--deb-native-arch=ARCHβ native architectureARCHπ§--deb-host-arch=archβ host architecturearch. 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 markedEssential:yesto 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 π
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
- 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