| 1 |
=head1 NAME |
| 2 |
|
| 3 |
botch-wanna-build-sortblockers - importance of source packages for ports |
| 4 |
|
| 5 |
=head1 SYNOPSIS |
| 6 |
|
| 7 |
=over |
| 8 |
|
| 9 |
=item B<botch-wanna-build-sortblockers> [options] I<build-attempt-list> I<importance-metric> |
| 10 |
|
| 11 |
=back |
| 12 |
|
| 13 |
=head1 DESCRIPTION |
| 14 |
|
| 15 |
Filter the output of botch-calcportsmetric for "build-attempted" packages from |
| 16 |
wanna-build. |
| 17 |
|
| 18 |
=head1 OPTIONS |
| 19 |
|
| 20 |
=over 4 |
| 21 |
|
| 22 |
=item B<-h, --help> |
| 23 |
|
| 24 |
Show help. |
| 25 |
|
| 26 |
=item B<-r, --reverse> |
| 27 |
|
| 28 |
reverse the result of comparisons |
| 29 |
|
| 30 |
=item B<-m, --min> |
| 31 |
|
| 32 |
sort by minimum number of blocked source packages (default) |
| 33 |
|
| 34 |
=item B<-M, --max> |
| 35 |
|
| 36 |
sort by maximum number of blocked source packages |
| 37 |
|
| 38 |
=item B<--min-popcon> |
| 39 |
|
| 40 |
sort by minimum sum of popcon values of the blocked source packages |
| 41 |
|
| 42 |
=item B<--max-popcon> |
| 43 |
|
| 44 |
sort by maximum sum of popcon values of the blocked source packages |
| 45 |
|
| 46 |
=item B<-v, --verbose> |
| 47 |
|
| 48 |
Be verbose. |
| 49 |
|
| 50 |
=back |
| 51 |
|
| 52 |
=head1 EXAMPLE |
| 53 |
|
| 54 |
Either download an importance file: |
| 55 |
|
| 56 |
wget http://bootstrap.debian.net/importance_metric_noall.txt |
| 57 |
|
| 58 |
Or generate it: |
| 59 |
|
| 60 |
zcat packages_amd64.gz | grep-dctrl -FArchitecture all > available |
| 61 |
botch-create_graph --deb-native-arch=amd64 --available=available --strongtype packages sources > strongbuildgraph.xml |
| 62 |
botch-buildgraph2srcgraph --deb-native-arch=amd64 strongbuildgraph.xml packages sources > strongsrcgraph.xml |
| 63 |
botch-create_graph --deb-native-arch=amd64 --available=available --closuretype packages sources > closurebuildgraph.xml |
| 64 |
botch-buildgraph2srcgraph --deb-native-arch=amd64 closurebuildgraph.xml packages sources > closuresrcgraph.xml |
| 65 |
botch-calcportsmetric --online strongsrcgraph.xml closuresrcgraph.xml > importance_metric_noall.txt |
| 66 |
|
| 67 |
And then do: |
| 68 |
|
| 69 |
ssh [email protected] wanna-build -A arm64 -d unstable -l build-attempted > build-attempted |
| 70 |
botch-wanna-build-findblockers build-attempted importance_metric_noall.txt |
| 71 |
|
| 72 |
=head1 BUGS |
| 73 |
|
| 74 |
See L<http://bugs.debian.org/botch>. |
| 75 |
|
| 76 |
=head1 SEE ALSO |
| 77 |
|
| 78 |
Debian doc-base Manual F</usr/share/doc/botch/wiki/Home.html> |
| 79 |
|
| 80 |
=head1 AUTHOR |
| 81 |
|
| 82 |
This man page was written by Johannes Schauer. Botch is written by Johannes |
| 83 |
Schauer and Pietro Abate. |
| 84 |
|
| 85 |
=head1 COPYRIGHT |
| 86 |
|
| 87 |
Copyright 2012-2014 Johannes Schauer, Pietro Abate |
| 88 |
|
| 89 |
This program is free software: you can redistribute it and/or modify it under |
| 90 |
the terms of the GNU Lesser General Public License as published by the Free |
| 91 |
Software Foundation, either version 3 of the License, or (at your option) any |
| 92 |
later version. A special linking exception to the GNU Lesser General Public |
| 93 |
License applies to this library, see the COPYING file for more information. |
| 94 |
|