# HG changeset patch # User MattD # Date 1268828950 0 # Node ID d19c45914cb20fbf331fbf345fae851a52c51a83 # Parent e274d29c8bc98d7044c37326078a64b97a17afae# Parent 90e6dc7191317123920a86ef7b3db1e9a2bda047 Catchup merge diff -r e274d29c8bc9 -r d19c45914cb2 downloadkit/downloadkit.py --- a/downloadkit/downloadkit.py Wed Mar 17 12:27:45 2010 +0000 +++ b/downloadkit/downloadkit.py Wed Mar 17 12:29:10 2010 +0000 @@ -26,7 +26,7 @@ import hashlib import xml.etree.ElementTree as ET -version = '0.14' +version = '0.15' user_agent = 'downloadkit.py script v' + version headers = { 'User-Agent' : user_agent } top_level_url = "https://developer.symbian.org" @@ -424,7 +424,10 @@ continue # no snapshots of Mercurial source thanks... if options.nowinscw and re.search(r"winscw", filename) : continue # no winscw emulator... - + if options.noarmv5 and re.search(r"armv5", filename) : + continue # no armv5 emulator... + if options.noarmv5 and options.nowinscw and re.search(r"binaries_epoc.zip|binaries_epoc_sdk", filename) : + continue # skip binaries_epoc and binaries_sdk ... if download_file(filename, downloadurl) != True : continue # download failed @@ -453,6 +456,8 @@ help="Don't download any of the source code available directly from Mercurial") parser.add_option("--nowinscw", action="store_true", dest="nowinscw", help="Don't download the winscw emulator") +parser.add_option("--noarmv5", action="store_true", dest="noarmv5", + help="Don't download the armv5 binaries") parser.add_option("--nounzip", action="store_true", dest="nounzip", help="Just download, don't unzip or delete any files") parser.add_option("--nodelete", action="store_true", dest="nodelete", @@ -471,6 +476,7 @@ dryrun=False, nosrc=False, nowinscw=False, + noarmv5=False, nounzip=False, nodelete=False, progress=False,