Mark is working on the archive query API which is great, thanks. Mark asked me to email debian-dak about canonicalising suites. FTR my current rune for this is | ssh 'iwj@mirror.ftp-master.debian.org' 'export LANG=C; psql -A service=projectb -c '\'' SELECT suite.codename FROM suite where suite_name='\'''\\''\'''\''unstable'\'''\\''\'''\'' or codename='\'''\\''\'''\''unstable'\'''\\''\'''\''; '\''' Thanks, Ian.