From 98adf2fe4f09419040e1ee839388283ff3a47eb6 Mon Sep 17 00:00:00 2001 From: Rowan Decker <Smasher816@gmail.com> Date: Sat, 29 Mar 2014 18:04:36 -0500 Subject: [PATCH] Update Mongo This updates the installer script to use the latest mongo (v2.6 nightly) --- scripts/devSetup/factories.py | 4 ++-- scripts/devSetup/mongo.py | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/devSetup/factories.py b/scripts/devSetup/factories.py index 4cebce35a..1a01950af 100644 --- a/scripts/devSetup/factories.py +++ b/scripts/devSetup/factories.py @@ -39,8 +39,8 @@ class SetupFactory(object): mongo_version_string = mongo_version_string.decode(encoding='UTF-8') except: print("Mongod not found.") - if "v2.5.4" not in mongo_version_string: - print("MongoDB 2.5.4 not found, so installing...") + if "v2.6." not in mongo_version_string: + print("MongoDB not found, so installing...") self.mongo.download_dependencies() self.mongo.install_dependencies() self.node.download_dependencies() diff --git a/scripts/devSetup/mongo.py b/scripts/devSetup/mongo.py index a426f5850..dbb0f8e11 100644 --- a/scripts/devSetup/mongo.py +++ b/scripts/devSetup/mongo.py @@ -79,10 +79,10 @@ class LinuxMongoDBDownloader(MongoDBDownloader): @property def download_url(self): if self.dependency.config.mem_width == 64: - return u"http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.5.4.tgz" + return u"http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-latest.tgz" else: warnings.warn(u"MongoDB *really* doesn't run well on 32 bit systems. You have been warned.") - return u"http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.5.4.tgz" + return u"http://fastdl.mongodb.org/linux/mongodb-linux-i686-latest.tgz" class WindowsMongoDBDownloader(MongoDBDownloader): @property @@ -90,13 +90,13 @@ class WindowsMongoDBDownloader(MongoDBDownloader): #TODO: Implement Windows Vista detection warnings.warn(u"If you have a version of Windows older than 7, MongoDB may not function properly!") if self.dependency.config.mem_width == 64: - return u"http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.5.4.zip" + return u"http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-latest.zip" else: - return u"http://fastdl.mongodb.org/win32/mongodb-win32-i386-2.5.4.zip" + return u"http://fastdl.mongodb.org/win32/mongodb-win32-i386-latest.zip" class MacMongoDBDownloader(MongoDBDownloader): @property def download_url(self): - return u"http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-2.5.4.tgz" + return u"http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-v2.4-latest.tgz"