Skip to content

Added Deploy method and platform to stats - #6649

Merged
engelgabriel merged 4 commits into
developfrom
new/deployment_stats
Apr 10, 2017
Merged

engelgabriel merged 4 commits into
developfrom
new/deployment_stats

Conversation

@geekgonecrazy

Copy link
Copy Markdown
Contributor

@RocketChat/core

@engelgabriel
engelgabriel temporarily deployed to rocket-chat-pr-6649 April 10, 2017 18:16 Inactive

statistics.deploy = {
method: process.env.DEPLOY_METHOD || 'tar',
platform: process.env.DEPLOY_PLATFORM || 'selfinstall'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should we check for valid methods and platforms instead of assuming that any value is valid?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

problem with that is we have to continue to update that list, any time we or someone else adds a new one. ☹️

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

true.. just realized we can ignore them on the other end if we want 😉

@engelgabriel
engelgabriel merged commit 557f617 into develop Apr 10, 2017
@engelgabriel
engelgabriel deleted the new/deployment_stats branch April 10, 2017 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants