summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorRichard Kreuter <richard@10gen.com>2010-05-20 12:26:47 -0400
committerRichard Kreuter <richard@10gen.com>2010-05-20 12:27:43 -0400
commit661478e40bbc1388daa6bed2d8ef0f7557718cff (patch)
tree1155ac473d9f40a12ae3a6cbaad3e766614f4ca0 /buildscripts
parentb35be1cbb4279e4cddab19e81aafcb7a97cc9d1e (diff)
downloadmongo-661478e40bbc1388daa6bed2d8ef0f7557718cff.tar.gz
Add stuff for downloading prebuilt drivers; uncomment the core_server() call.
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/distmirror.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/buildscripts/distmirror.py b/buildscripts/distmirror.py
index 6130b174790..1902e2afd73 100644
--- a/buildscripts/distmirror.py
+++ b/buildscripts/distmirror.py
@@ -97,6 +97,17 @@ def drivers():
raise Exception('unknown archive format %s' % archive)
filename = driver_filename_format % (lang, release, extension)
get(url, filename)
+ # ugh ugh ugh
+ if lang == 'csharp' and release != 'master':
+ url = 'http://github.com/downloads/samus/mongodb-csharp/MongoDBDriver-Release-%.zip' % (release)
+ filename = 'MongoDBDriver-Release-%.zip' % (release)
+ get(url, filename)
+ if lang == 'java' and release != 'master':
+ get('http://github.com/downloads/mongodb/mongo-java-driver/mongo-%s.jar' % (release), 'mongo-%s.jar' % (release))
+ # I have no idea what's going on with the PHP zipfiles.
+ if lang == 'php' and release == '1.0.6':
+ get('http://github.com/downloads/mongodb/mongo-php-driver/mongo-1.0.6-php5.2-osx.zip', 'mongo-1.0.6-php5.2-osx.zip')
+ get('http://github.com/downloads/mongodb/mongo-php-driver/mongo-1.0.6-php5.3-osx.zip', 'mongo-1.0.6-php5.3-osx.zip')
def docs():
# FIXME: in principle, the doc PDFs could be out of date.
@@ -122,7 +133,7 @@ if len(sys.argv) > 1:
print """NOTE: the md5sums for all the -latest tarballs are out of
date. You will probably see warnings as this script runs. (If you
don't, feel free to delete this note.)"""
-#core_server()
+core_server()
drivers()
docs()
extras()