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