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

Re: Canonicalising suites

On Fri, 07, Nov, 2014 at 04:43:46PM +0000, Ian Jackson spoke thus..
> 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'\'''\\''\'''\'';
> '\'''

Hi Ian,

As I mentioned before,


will give a list of suites.

I've also added:

which will find the same data regardless of whether it's by suite_name
or codename, so you can use this for canonicalisation.

I'll restart the API server once I can sync the code across (dinstall is
currently running).



Mark Hymers <mhy at debian dot org>

"'I regret nothing?'  That's not a song, that's an idiots charter."
     Andy Hamilton, Old Harry's Game

Reply to: