Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Enterprise and Platform from log info #6501

Merged
merged 4 commits into from Aug 5, 2019

Conversation

astuyve
Copy link
Contributor

@astuyve astuyve commented Aug 5, 2019

What did you implement:

Removed Enterprise and Platform from logline

How did you implement it:

With the delete key.

How can we verify it:

run serverless -v against this branch, or require this class in a node console and run getVersionNumber()
image

Todos:

Note: Run npm run test-ci to run all validation checks on proposed changes

  • Write tests and confirm existing functionality is not broken.
    Validate via npm test
  • Write documentation
  • Ensure there are no lint errors.
    Validate via npm run lint-updated
    Note: Some reported issues can be automatically fixed by running npm run lint:fix
  • Ensure introduced changes match Prettier formatting.
    Validate via npm run prettier-check-updated
    Note: All reported issues can be automatically fixed by running npm run prettify-updated
  • Make sure code coverage hasn't dropped
  • Provide verification config / commands / resources
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: YES
Is it a breaking change?: NO

@astuyve astuyve requested review from dschep and pmuens August 5, 2019 13:20
dschep
dschep previously approved these changes Aug 5, 2019
Copy link
Contributor

@dschep dschep left a comment

Choose a reason for hiding this comment

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

seems a bit ambiguous, but if this was product wants, :shipit:

@@ -330,7 +330,7 @@ class CLI {

getVersionNumber() {
this.consoleLog(
`${version} (Enterprise Plugin: ${enterpriseVersion}, Platform SDK: ${sdkVersion})`
`Framework Core: ${version}\nPlugin: ${enterpriseVersion}\nSDK: ${sdkVersion}\n`
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm.. seems a bit to ambiguous now thb... what about Dashboard Plugin and Dashboard SDK?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think the preference is to leave it somewhat ambiguous, in order to keep things more future-proof.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree here 🤔

What if we use the npm package names?

serverless: 1.49.0
@serverless/enterprise-plugin: 1.2.3
@serverless/platform-sdk: 1.2.3

pmuens
pmuens previously approved these changes Aug 5, 2019
Copy link
Contributor

@pmuens pmuens left a comment

Choose a reason for hiding this comment

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

Also agree with what @dschep said.

Anyway, we can merge it since it's not a big deal.

@pmuens pmuens dismissed stale reviews from dschep and themself via 8f86fb2 August 5, 2019 14:37
Copy link
Contributor

@pmuens pmuens left a comment

Choose a reason for hiding this comment

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

Just fixes the tests. Travis should be happy and we should be able to merge this ASAP.

@pmuens pmuens merged commit 9159899 into master Aug 5, 2019
@pmuens pmuens deleted the remove-enterprise-from-logline branch August 5, 2019 15:05
@pmuens pmuens mentioned this pull request Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants