[Debian-ports-devel] debian-ports archive moving
Michael Cree
mcree at orcon.net.nz
Thu May 26 09:48:59 UTC 2016
On Thu, May 26, 2016 at 11:24:32AM +0200, John Paul Adrian Glaubitz wrote:
> On 05/26/2016 10:55 AM, Aurelien Jarno wrote:
> > No, that won't change anything, we are just moving everything from one
> > machine to another. The main changes will be in the on the mirroring
> > network side.
>
> Aww, what a pity :(. Having to do the Haskell binNMUs manually is quite
> of a burden. Would just be great if that could be sorted out somehow.
I have a little awk/bash script that runs dose-debcheck on the haskell
source file names on the command line and outputs useful nmu commands
for most cases. It's not 100% foolproof as it guesses the binary
package name from the source package name. And it's hard-coded to
alpha so you would need to edit both scripts to whatever arch you want
to run it for. I attach the script, even though very simple, it did
quite reduce the manual work I was putting in to doing haskell binNMUs.
Cheers
Michael.
-------------- next part --------------
#!/bin/bash
while (( "$#" )); do
bin=`echo "libghc-$1-dev" | sed s/haskell-//`
echo $bin
dose-debcheck --quiet -f -e --latest --checkonly $bin cache/Packages_alpha | awk -f check-for-missing.awk
shift
done
-------------- next part --------------
BEGIN {
is_missing = 0;
noi = 0;
}
$1 ~ /source/ {
source = $2;
}
$1 ~ /missing/ {
is_missing = 1;
}
$1 ~ /unsat-dependency/ {
missing = $2;
}
$1 ~ /conflict/ {
noi = 1;
}
$1 ~ /depchain/ {
noi = 1;
}
END {
if (is_missing && ! noi) {
print "wb nmu " source " . alpha . unstable -m \"Missing " missing ".\"";
}
}
More information about the Debian-ports-devel
mailing list