<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 25 September 2013 22:06, Joerg Jaspert <span dir="ltr"><<a href="mailto:joerg@debian.org" target="_blank">joerg@debian.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
> Right now I'm working on puppetising the whole setup and I'm going to try<br>
> to include some documentation in there. But the biggest issue here is that<br>
> when there is a new release the name of 'testing' changes, and that<br>
> requires updating half a dozen scripts. There really needs to be a better<br>
> way to do that. Is there a supported automatable way to determine what<br>
> testing currently is, so that scripts can detect when it happens and warn<br>
> about it?<br>
<br>
</div>Look at any (full) mirrors dists/ where the {testing,stable,...}<br>
symlinks point to?<br>
<span class="HOEnZb"></span><br clear="all"></blockquote></div><br></div><div class="gmail_extra">That seems reasonable, except I don't see how you can reliably check for symlinks on a mirror via HTTP/FTP. Sure, as a human looking it seems fairly clear, but it's not something I'd feel comfortable automating.<br>
<br></div><div class="gmail_extra">lftp seems to do a reasonable job with ftp, so parsing the output of "cls" on <a href="http://ftp.debian.org">ftp.debian.org</a> seems doable (look for an @ symbol), but somewhat obtuse. I was hoping for a file that said "stable wheezy".<br>
<br>Have a nice day,<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">-- <br>Martijn van Oosterhout <<a href="mailto:kleptog@gmail.com">kleptog@gmail.com</a>> <a href="http://svana.org/kleptog/">http://svana.org/kleptog/</a>
</div></div>