<br><div class="gmail_quote">On Tue, Jan 19, 2010 at 6:43 PM, Carl Eastlund <span dir="ltr"><<a href="mailto:carl.eastlund@gmail.com">carl.eastlund@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5"><br>
</div></div>Why would you need to try all version numbers? The requirement is a<br>
minimum. Just use the highest available version number, and all<br>
packages should be available. As a starting point, you could just use<br>
the version number from the proxy server itself; the only packages<br>
this will miss are those too new to install on the server's platform.<br>
<font color="#888888"></font><br></blockquote><div><br>Great point! When I said trying all the version numbers, it was a worst-case scenario in my mind and I was hoping to come up with a better algorithm than that once I get started. Thanks for the tip!<br>
<br>I believe there are packages out there that are only downloadable for 3xx version (I seem to recall a 2xx package last time I looked at it it but not sure) - I assume in such case 399 and 299 would be the highest version number for those branches? <br>
<br>In such case it might take up to 3 tries but the brute force approach now sounds more reasonable than my worst case scenario.<br><br>Thanks,<br>yc<br><br></div></div>