Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Add ability to control mongo download #51

Merged
merged 2 commits into from
Dec 1, 2018

Conversation

xscheiner
Copy link

@xscheiner xscheiner commented Jun 14, 2018

We needed to be able to download a specific version of mongo to run our tests. So we added the ability to pass in options that go to the mongodb-download package. We've tested that this runs cleanly in the default mode as well as with the options.

We also added some scripts for linting and building in package.json. We left in the fix option on the linting which has added a lot of spacing and formatting changes. Apologies for that.

Fixes #50
Fixes #42

@LoneRifle
Copy link
Contributor

Apologies, but could I have you redo this PR so that the linting and actual changes are in separate commits?

Copy link
Contributor

@LoneRifle LoneRifle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per comments. If you could also split out the commit, that would be great

@@ -92,4 +104,8 @@ export class MongodHelper {
return /shutting down with code/i;
}

stop(): void {
this.mongoBin.childProcess.kill('SIGINT');
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not be needed as this has been implemented in #49

David Scheiner added 2 commits December 1, 2018 11:40
* Create `IMongoDBDownloadOpts`, options passed on to MongoDBDownload
* Make relevant changes to MongoDBPrebuilt ctor to accept the options
@LoneRifle LoneRifle merged commit a45644c into mongodb-js:master Dec 1, 2018
@xscheiner
Copy link
Author

Sorry, I didn't see the notifications on these messages and I left you with a bit of extra work. Is it all sorted now?

@LoneRifle
Copy link
Contributor

Yes it is - published as 6.4.0. I had to force-push into your branch as part of the work done, sorry about that

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How can we know version of mongodb? Override the download path of mongodb
2 participants