[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

binNMU request generation script



Hi,

for the Debian Haskell Group, I’ve started to write a script that
calculates required binNMU requests (due to new dependencies). It is at
a very early, prototypical state, but here are first results. I only ran
it for i386, amd64 and powerpc this time:

$ ./haskell-pkg-infos.py 
# Found ghc6 version 6.10.3-3
# Found 116 haskell library source packages
# ... of which 90 are buildable and 26 are not buildable.

# Architecture: i386
# Needs binNMus for these sources:
# missingpy, haskell-haskeline, haskell-hsh, hdbc-postgresql, washngo, haskell-anydbm
nmu missingpy_0.10.0.2 . i386 . -m 'Rebuilding due to new libghc6-missingh-dev (version 1.1.0-1, but dependency << 1.0.3.2+b1+)'
dw missingpy_0.10.0.2 . i386 . -m 'libghc6-anydbm-dev (>> 1.0.5.4+b1)'
nmu haskell-haskeline_0.6.1.6-1 . i386 . -m 'Rebuilding due to new libghc6-utf8-string-prof (version 0.3.5-1, but dependency << 0.3.4+)'
nmu haskell-hsh_2.0.0-1 . i386 . -m 'Rebuilding due to new libghc6-utf8-string-dev (version 0.3.5-1, but dependency << 0.3.4+)'
nmu hdbc-postgresql_2.1.0.1-1 . i386 . -m 'Rebuilding due to new libghc6-utf8-string-dev (version 0.3.5-1, but dependency << 0.3.4+)'
nmu washngo_2.12-6 . i386 . -m 'Rebuilding due to new libghc6-regex-compat-dev (version 0.92-1.1+b1, but dependency << 0.91+)'
nmu haskell-anydbm_1.0.5.4 . i386 . -m 'Rebuilding due to new libghc6-missingh-dev (version 1.1.0-1, but dependency << 1.0.3.2+b1+)'

# Architecture: amd64
# Needs binNMus for these sources:
# missingpy, haskell-haskeline, hdbc-odbc, haskell-hsh, hdbc-postgresql, hdbc-sqlite3, haskell-anydbm, hdbc
dw missingpy_0.10.0.2 . amd64 . -m 'libghc6-anydbm-dev (>> 1.0.5.4)'
nmu haskell-haskeline_0.6.1.6-1 . amd64 . -m 'Rebuilding due to new libghc6-utf8-string-prof (version 0.3.5-1, but dependency << 0.3.4+)'
dw hdbc-odbc_2.1.0.0-3 . amd64 . -m 'libghc6-hdbc-dev (>> 2.1.0-2+b1)'
nmu hdbc-postgresql_2.1.0.1-1 . amd64 . -m 'Rebuilding due to new libghc6-utf8-string-dev (version 0.3.5-1, but dependency << 0.3.4+)'
dw hdbc-postgresql_2.1.0.1-1 . amd64 . -m 'libghc6-hdbc-dev (>> 2.1.0-2+b1)'
dw hdbc-sqlite3_2.1.0.2-1 . amd64 . -m 'libghc6-hdbc-dev (>> 2.1.0-2+b1)'
nmu hdbc_2.1.0-3 . amd64 . -m 'Rebuilding due to new libghc6-utf8-string-dev (version 0.3.5-1, but dependency << 0.3.4+)'

# Architecture: powerpc
# Needs binNMus for these sources:
# missingpy, haskell-haskeline, haskell-hsh, haskell-anydbm, hdbc-postgresql
nmu missingpy_0.10.0.2 . powerpc . -m 'Rebuilding due to new libghc6-missingh-dev (version 1.1.0-1, but dependency << 1.0.3.2+)'
dw missingpy_0.10.0.2 . powerpc . -m 'libghc6-anydbm-dev (>> 1.0.5.4)'
nmu haskell-haskeline_0.6.1.6-1 . powerpc . -m 'Rebuilding due to new libghc6-utf8-string-prof (version 0.3.5-1, but dependency << 0.3.4+)'
nmu haskell-anydbm_1.0.5.4 . powerpc . -m 'Rebuilding due to new libghc6-missingh-dev (version 1.1.0-1, but dependency << 1.0.3.2+)'


It only adds nmu’s for packages that wanna-build considers to have state
"Installed", i.e. it does not try to recover from "Building" or
"Failed". Debwaits are added for those, though (e.g. missingpy on
amd64), I hope these will always be good enough, if not I will need to
merge them with the Depwaits in the database, or just never issue dw
commands when there already are depwaits in the database.

@debian-release: Am I on the right track here? Is this going to be
useful? If so, feel free to apply these commands already.

Code can be seen here:
http://darcs.debian.org/pkg-haskell/tools/haskell-pkg-infos.py
http://darcs.debian.org/pkg-haskell/tools/getdata.sh

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: