From 7fb851e7abdc3584b3367ca85f1b70889d4a18f4 Mon Sep 17 00:00:00 2001 From: Matt Kangas Date: Tue, 8 Sep 2015 13:03:26 -0400 Subject: [PATCH 1/3] INT-562 rename Scout -> Compass --- .evergreen.yml | 4 ++-- CONTRIBUTING.md | 2 +- README.md | 4 ++-- docs/ampersand.md | 6 +++--- gulpfile.js | 4 ++-- package.json | 4 ++-- src/app.js | 2 +- src/bugsnag.js | 2 +- src/electron/crash-reporter.js | 2 +- src/electron/index.js | 4 ++-- src/electron/menu.js | 4 ++-- src/models/types.js | 2 +- tasks/win32.js | 8 ++++---- 13 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index 1cb34972c34..efa32154c67 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -126,7 +126,7 @@ buildvariants: add_environment: "SCOUT_INSTALLER_UNSIGNED=1" node_path: /opt/node/bin installer_content_type: "application/x-apple-diskimage" - installer_filename: "MongoDB Scout.dmg" + installer_filename: "MongoDB Compass.dmg" num_cores: $(sysctl -n hw.logicalcpu) tasks: - name: compile @@ -141,7 +141,7 @@ buildvariants: add_environment: "APPDATA=C:\\Program Files (x86)\\nodejs\\node_modules" node_path: "/cygdrive/c/Program Files (x86)/nodejs" installer_content_type: "application/octet-stream" - installer_filename: "MongoDBScoutSetup.exe" + installer_filename: "MongoDBCompassSetup.exe" exe: ".exe" npm_version: "3" num_cores: $(grep -c ^processor /proc/cpuinfo) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f492e52a084..573e0bcd58b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,7 +10,7 @@ Great to have you here. These are a few ways you can help make this project bett if there is something you need this project to do that it currently doesn't. We're always more than happy to chat about other projects. -More information to help you work on Scout is available in +More information to help you work on Compass is available in [the dev guide](https://github.com/10gen/scout/blob/dev/docs/dev.md). ## Workflow diff --git a/README.md b/README.md index d283284bf8e..bdb2224d17d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# scout +# compass Explore your MongoDB. @@ -12,7 +12,7 @@ Explore your MongoDB. ## Modules
-
scout
+
Compass
The default Ampersand.js single-page application people actually interact with. ScoutClientMixin diff --git a/docs/ampersand.md b/docs/ampersand.md index a27c99f1415..be0fc80a860 100644 --- a/docs/ampersand.md +++ b/docs/ampersand.md @@ -1,12 +1,12 @@ -# scout-ui +# compass-ui -The frontend for scout. +The frontend for compass. ## Some Tips and Tricks using Ampersand.js ### View Hierarchy -This diagram shows the view hierarchy of Scout and where the `.js` files and `.jade` templates for each view are. +This diagram shows the view hierarchy of Compass and where the `.js` files and `.jade` templates for each view are. ![](./docs/view_hierarchy.png) diff --git a/gulpfile.js b/gulpfile.js index e281c0bd1f2..f2ddcd6e87a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,7 +1,7 @@ process.env.DEBUG = '*'; /** - * # Welcome to Scout's gulpfile! + * # Welcome to Compass's gulpfile! * * Here are a few tips to guide you on your quest: * @@ -35,7 +35,7 @@ var platform = require(path.join(__dirname, 'tasks', process.platform)); /** * # release * - * `npm run release` calls this to build Scout + * `npm run release` calls this to build Compass * and generate installers for users. */ gulp.task('release', function(done) { diff --git a/package.json b/package.json index 16fb57ffad7..54a39e8c3c4 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "mongodb-scout", + "name": "mongodb-compass", "description": "The MongoDB GUI.", "version": "0.3.0", "main": "main.js", "electron_version": "0.30.6", - "product_name": "MongoDB Scout", + "product_name": "MongoDB Compass", "authors": "MongoDB Inc.", "check": { "ignore": [ diff --git a/src/app.js b/src/app.js index 22c8ba9e350..89a4418188a 100644 --- a/src/app.js +++ b/src/app.js @@ -19,7 +19,7 @@ var localLinks = require('local-links'); * The top-level application singleton that brings everything together! * * @example - * // Drive Scout from the chrome devtools console using the `app` window global: + * // Drive Compass from the chrome devtools console using the `app` window global: * console.log(app); * // What are the current query options? * console.log('Query options are', app.queryOptions); diff --git a/src/bugsnag.js b/src/bugsnag.js index d6063e6cb71..6ace11b0521 100644 --- a/src/bugsnag.js +++ b/src/bugsnag.js @@ -1,5 +1,5 @@ /** - * Bugsnag captures errors in real-time from Scout, which helps us understand + * Bugsnag captures errors in real-time from Compass, which helps us understand * and resolve them as fast as possible. It's very similar to * [Sentry](https://getsentry.com), [Exceptional](https://www.exceptional.io/), * and [airbrake](https://airbrake.io/). We trust it because it's used in diff --git a/src/electron/crash-reporter.js b/src/electron/crash-reporter.js index a9e34c6ddf6..33489628504 100644 --- a/src/electron/crash-reporter.js +++ b/src/electron/crash-reporter.js @@ -1,7 +1,7 @@ var reporter = module.exports = require('crash-reporter'); reporter.start({ - productName: 'Scout', // @todo (imlucas): standardize w/ package.json + productName: 'Compass', // @todo (imlucas): standardize w/ package.json companyName: 'MongoDB', submitUrl: 'http://breakpad.mongodb.parts/post', autoSubmit: true diff --git a/src/electron/index.js b/src/electron/index.js index 74a145a053f..5e15a4a802b 100644 --- a/src/electron/index.js +++ b/src/electron/index.js @@ -1,8 +1,8 @@ // Start crash-reporter asap so if anything goes // wrong, we can at least view the crash reports // locally. When a crash occurs, a `.dmp` file -// will be created in `/tmp/Scout` -// (`~\AppData\Local\Temp\Scout` on Windows). +// will be created in `/tmp/Compass` +// (`~\AppData\Local\Temp\Compass` on Windows). require('./crash-reporter'); if (!require('electron-squirrel-startup')) { diff --git a/src/electron/menu.js b/src/electron/menu.js index 641ec5745ec..d13820b0ac5 100644 --- a/src/electron/menu.js +++ b/src/electron/menu.js @@ -6,10 +6,10 @@ function getTemplate(_window) { if (process.platform === 'darwin') { return [ { - label: 'MongoDB Scout', + label: 'MongoDB Compass', submenu: [ { - label: 'About Scout', + label: 'About Compass', selector: 'orderFrontStandardAboutPanel:' }, { diff --git a/src/models/types.js b/src/models/types.js index 15539b4d4c5..ae7799f53ee 100644 --- a/src/models/types.js +++ b/src/models/types.js @@ -1,7 +1,7 @@ var types = require('scout-brain').types; /** - * Friendly wrapper around MongoDB and types used in Scout. + * Friendly wrapper around MongoDB and types used in Compass. * @see https://github.com/10gen/scout/blob/dev/scout-brain/lib/types.js */ module.exports = types; diff --git a/tasks/win32.js b/tasks/win32.js index 9193422d3e5..deb59f787a9 100644 --- a/tasks/win32.js +++ b/tasks/win32.js @@ -5,12 +5,12 @@ var packager = require('electron-packager'); var createInstaller = require('electron-installer-squirrel-windows'); var debug = require('debug')('scout:tasks:win32'); -var APP_PATH = path.resolve(__dirname, '../dist/MongoDBScout-win32-x64'); -module.exports.ELECTRON = path.join(APP_PATH, 'MongoDBScout.exe'); +var APP_PATH = path.resolve(__dirname, '../dist/MongoDBCompass-win32-x64'); +module.exports.ELECTRON = path.join(APP_PATH, 'MongoDBCompass.exe'); module.exports.RESOURCES = path.join(APP_PATH, 'resources'); var PACKAGER_CONFIG = { - name: 'MongoDBScout', + name: 'MongoDBCompass', dir: path.resolve(__dirname, '../build'), out: path.resolve(__dirname, '../dist'), platform: 'win32', @@ -31,7 +31,7 @@ var PACKAGER_CONFIG = { }; var INSTALLER_CONFIG = { - name: 'MongoDBScout', + name: 'MongoDBCompass', path: APP_PATH, out: path.resolve(__dirname, '../dist'), overwrite: true From cb0fd890b2ac26b915aaabb5c5e30d8c499c770f Mon Sep 17 00:00:00 2001 From: Matt Kangas Date: Tue, 8 Sep 2015 13:05:26 -0400 Subject: [PATCH 2/3] INT-562 rename Scout -> Compass, docs only --- docs/dev.md | 2 +- docs/hypotheses.md | 24 ++++++++++++------------ docs/schema-editor.md | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/dev.md b/docs/dev.md index a1e04ce366e..6a3cfa795e1 100644 --- a/docs/dev.md +++ b/docs/dev.md @@ -78,7 +78,7 @@ is available in [the patternlib][less-variables]. ## Dev Dependencies There are a few dev dependencies that will be installed you might be -interested that make developing Scout a complete joy. +interested that make developing Compass a complete joy. ### Gulp diff --git a/docs/hypotheses.md b/docs/hypotheses.md index a0bf2092f25..efdb2b896dc 100644 --- a/docs/hypotheses.md +++ b/docs/hypotheses.md @@ -20,16 +20,16 @@ ## Positioning -- We do not believe Scout is an enterprise-only feature. -- We believe Scout will provide insight into MongoDB's market penetration that will be a critical factor to the success of MongoDB Inc. -- We believe Scout will provide insight into MongoDB feature usage that will be a critical factor to the success of MongoDB Inc. -- We believe Scout will provide a channel for MongoDB Inc. to communicate with those that do not want to sign-up for our newsletters. -- We believe Scout will provide a channel for MongoDB Inc. that will substantially reduce support costs. -- We believe Scout will provide a channel for MongoDB Inc. that will substantially improve the support experience. -- We believe Scout will allow MongoDB University to source more qualified sales leads. -- We believe Scout will allow MongoDB Cloud to source more qualified sales leads. -- We believe Scout will fill a critical gap in our sales cycle, between the millions of anonymous downloaders and the premium offerings of MongoDB Inc. -- We do not believe Scout alone will convert existing users into paying MongoDB Enterprise customers. +- We do not believe Compass is an enterprise-only feature. +- We believe Compass will provide insight into MongoDB's market penetration that will be a critical factor to the success of MongoDB Inc. +- We believe Compass will provide insight into MongoDB feature usage that will be a critical factor to the success of MongoDB Inc. +- We believe Compass will provide a channel for MongoDB Inc. to communicate with those that do not want to sign-up for our newsletters. +- We believe Compass will provide a channel for MongoDB Inc. that will substantially reduce support costs. +- We believe Compass will provide a channel for MongoDB Inc. that will substantially improve the support experience. +- We believe Compass will allow MongoDB University to source more qualified sales leads. +- We believe Compass will allow MongoDB Cloud to source more qualified sales leads. +- We believe Compass will fill a critical gap in our sales cycle, between the millions of anonymous downloaders and the premium offerings of MongoDB Inc. +- We do not believe Compass alone will convert existing users into paying MongoDB Enterprise customers. ## PHPMyAdmin (CRUD Admin Tool) @@ -38,7 +38,7 @@ ## Real-time - We believe there is sufficient demand for investigating a "real-time" value proposition (e.g. visualizing data from the query profiler, visualizing db.serverStats() data). -- We believe the core technologies used in Scout could be delivered as a new agent managed by automation that would enable real-time, bi-directional interaction from the MongoDB Cloud web application to any MongoDB deployment managed by MongoDB Cloud. +- We believe the core technologies used in Compass could be delivered as a new agent managed by automation that would enable real-time, bi-directional interaction from the MongoDB Cloud web application to any MongoDB deployment managed by MongoDB Cloud. ## Platform Support @@ -78,4 +78,4 @@ ## OTHER -- We believe Scout should help #{TargetCustomer}'s solve problems, but not do it automatically. +- We believe Compass should help #{TargetCustomer}'s solve problems, but not do it automatically. diff --git a/docs/schema-editor.md b/docs/schema-editor.md index b17b9c0e8a8..864ceceef97 100644 --- a/docs/schema-editor.md +++ b/docs/schema-editor.md @@ -1,6 +1,6 @@ > Source: [Integrations Flowdock Conversation](https://www.flowdock.com/app/10gen/integrations/threads/FM5IQ0IYllwXeuTSHiXz44hLFft) -@thomasr, this just reminded me of our co-creation of value story (e.g. "Hey Scout, you dummy, I'm using short key aliasing to save disk space. Let me give you some aliases so when you see a key `u` display as `url`, `c` displays as `username`, and so on." ). Let's just call this **"key packing"**. +@thomasr, this just reminded me of our co-creation of value story (e.g. "Hey Compass, you dummy, I'm using short key aliasing to save disk space. Let me give you some aliases so when you see a key `u` display as `url`, `c` displays as `username`, and so on." ). Let's just call this **"key packing"**. Similarly, "value packing". Some examples of value packing: From f6cc69ef7990bee1fc528d3c474794daca0a2e41 Mon Sep 17 00:00:00 2001 From: Matt Kangas Date: Tue, 8 Sep 2015 13:08:46 -0400 Subject: [PATCH 3/3] INT-562 rename Scout -> Compass, darwin app-bundle-id --- tasks/darwin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/darwin.js b/tasks/darwin.js index 78a87b7b1e7..acc86a007ed 100644 --- a/tasks/darwin.js +++ b/tasks/darwin.js @@ -27,7 +27,7 @@ var PACKAGER_CONFIG = { icon: path.resolve(__dirname, '../images/darwin/scout.icns'), overwrite: true, prune: true, - 'app-bundle-id': 'com.mongodb.scout', + 'app-bundle-id': 'com.mongodb.compass', 'app-version': pkg.version, sign: '90E39AA7832E95369F0FC6DAF823A04DFBD9CF7A', protocols: [