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

Add Github package.json dependency version badge; affects [githubpackagejson githubmanifest npm] #2709

Merged
merged 12 commits into from
Jan 12, 2019

Conversation

paulmelnikow
Copy link
Member

@paulmelnikow paulmelnikow commented Jan 8, 2019

Close #2259 which is mostly about a package.json dependency badge.

Requires #2644.

…ejson githubmanifest npm]

Close #2259 which is mostly about a `package.json` dependency badge.
@paulmelnikow paulmelnikow added the service-badge Accepted and actionable changes, features, and bugs label Jan 8, 2019
@shields-ci
Copy link

shields-ci commented Jan 8, 2019

Warnings
⚠️

📚 Remember to ensure any changes to serverSecrets in services/npm/npm-base.js are reflected in the server secrets documentation

Messages
📖 ✨ Thanks for your contribution to Shields, @paulmelnikow!

Generated by 🚫 dangerJS against c8e803f

@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2709 January 8, 2019 22:11 Inactive
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2709 January 8, 2019 23:51 Inactive
@paulmelnikow paulmelnikow changed the title Add [GithubPackageJsonDependencyVersion] badge; affects [githubpackagejson githubmanifest npm] Add Github package.json dependency version badge; affects [githubpackagejson githubmanifest npm] Jan 9, 2019
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2709 January 9, 2019 21:36 Inactive
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2709 January 10, 2019 17:32 Inactive
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2709 January 11, 2019 17:26 Inactive
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2709 January 11, 2019 19:34 Inactive
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-2709 January 11, 2019 19:40 Inactive
} else if (kind === 'prod') {
dependenciesOfKind = dependencies
} else {
throw Error(`Not very kind: ${kind}`)
Copy link
Member

Choose a reason for hiding this comment

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

😆 The only time this would get hit is if a service accepts and/or passes along a bad dependency kind here right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thought I responded to this before. Yes! That would be a programmer error.

Copy link
Member

Choose a reason for hiding this comment

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

Okay cool. Just wanted to make sure we weren't planning on surfacing this message up to end users
👍

Copy link
Member Author

Choose a reason for hiding this comment

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

If it got thrown in production, they'd see shields internal error.

Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

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

LGTM

@paulmelnikow paulmelnikow merged commit ef18429 into master Jan 12, 2019
@shields-deployment
Copy link

This pull request was merged to master branch. This change is now waiting for deployment, which will usually happen within a few days. Stay tuned by joining our #ops channel on Discord!

After deployment, changes are copied to gh-pages branch:

@paulmelnikow paulmelnikow deleted the github-app-dependency branch January 12, 2019 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service-badge Accepted and actionable changes, features, and bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants