BOTCH-CALCPORTSMETRIC(1)
β¨ BOTCH-CALCPORTSMETRIC(1) β¨
okay bestie, this is a page from the botch tools manual set, and it's genuinely one of my faves π«Ά so like, botch-calcportsmetric β say that five times fast, I dare you β it calculates source package importance. that's the whole vibe. let's get into it π
πΈ NAME πΈ
botch-calcportsmetric β calculate source package importance π
π¦ SYNOPSIS π¦
botch-calcportsmetric [options] strongsrcgraph.xml closuresrcgraph.xml
β¨ DESCRIPTION β¨
so the tea is this: it calculates a metric for how important a source package is, based on how many source packages β both minimum and maximum β become compilable in a bootstrapping scenario, just through the compilability of a given source package. it's giving "how much does the whole ecosystem need this one little guy" energy. no cap. π₯
π OPTIONS π
-h,--helpβ show this help message and exit. classic. iconic. she never misses π--onlineβ retrieve popcon results for source packages. yes, that means it goes online, so maybe don't do this on airplane wifi π-v,--verboseβ print additional information. turn this on if you want the full group-chat update instead of the two-word text π¬
π EXAMPLE π
calculate source package importance, bestie:
zcat packages_amd64.gz | grep-dctrl -FArchitecture all > available
botch-create_graph --deb-native-arch=amd64 --available=available --strongtype packages sources > strongbuildgraph.xml
botch-buildgraph2srcgraph --deb-native-arch=amd64 strongbuildgraph.xml packages sources > strongsrcgraph.xml
botch-create_graph --deb-native-arch=amd64 --available=available --closuretype packages sources > closurebuildgraph.xml
botch-buildgraph2srcgraph --deb-native-arch=amd64 closurebuildgraph.xml packages sources > closuresrcgraph.xml
botch-calcportsmetric --online strongsrcgraph.xml closuresrcgraph.xml > importance_metric_noall.txt
look at her go. a whole pipeline. main character energy fr fr π
π BUGS π
See <http://bugs.debian.org/botch>. that's the place to spill, not here π
π§ 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. absolute legends, 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.
okay so important: that linking exception is a whole extra thing layered on top, and you gotta read the COPYING file for the details. don't skip it, bestie, licensing is not a vibe check you wanna fail π
and that's the page!! written for perl v5.36.0, dated 2023-02-17 β slay, she's been around a minute and she's still serving. 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