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 metadata fields to openapi-2-kong package.json #2802

Merged
merged 9 commits into from
Apr 27, 2021

Conversation

mikaello
Copy link
Contributor

@mikaello mikaello commented Nov 1, 2020

The metadata fields on https://www.npmjs.com/package/openapi-2-kong are a bit scarce, and it would be nice if these were improved:

image

Copy link
Contributor

@develohpanda develohpanda left a comment

Choose a reason for hiding this comment

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

Thanks for doing this! One comment, and a question for @nijikokun

packages/openapi-2-kong/package.json Outdated Show resolved Hide resolved
@@ -29,5 +29,8 @@
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11"
},
"repository": "https://github.com/Kong/insomnia/tree/develop/packages/openapi-2-kong",
"bugs": "https://github.com/Kong/insomnia/issues",
"license": "MIT",
Copy link
Contributor

Choose a reason for hiding this comment

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

@nijikokun should the license be MIT or Apache2? Inso is set to Apache2.

Copy link
Contributor Author

@mikaello mikaello Nov 19, 2020

Choose a reason for hiding this comment

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

Just a comment to this question: if you set this to Apache2, I think you should change the licence that is distributed with openapi-2-kong, which is currently MIT:

$ npm pack openapi-2-kong
$ tar xzf openapi-2-kong-2.2.24.tgz
$ cat package/LICENSE

MIT License

Copyright (c) Insomnia REST Client

Permission is hereby granted....

For reference why this came to my attention in the first place, see discussion in Kong Nation.

Copy link
Contributor

Choose a reason for hiding this comment

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

A recent PR went in to set up license fields using feedback from the Legal team, so we can remove this field from this PR. I have created a separate internal ticket INS-658 in order to address your suggestion (with this package and all other packages).

Suggested change
"license": "MIT",

Copy link
Contributor

@develohpanda develohpanda left a comment

Choose a reason for hiding this comment

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

🎉

@CLAassistant
Copy link

CLAassistant commented Dec 6, 2020

CLA assistant check
All committers have signed the CLA.

@netlify
Copy link

netlify bot commented Dec 6, 2020

✔️ Deploy preview for insomnia-storybook ready!

🔨 Explore the source changes: fb37297

🔍 Inspect the deploy logs: https://app.netlify.com/sites/insomnia-storybook/deploys/5fec60831089af0008848a9e

😎 Browse the preview: https://deploy-preview-2802--insomnia-storybook.netlify.app

@vercel vercel bot temporarily deployed to Preview April 27, 2021 04:33 Inactive
Comment on lines +34 to +38
"repository": {
"type": "git",
"url": "https://github.com/Kong/insomnia.git",
"directory": "packages/openapi-2-kong"
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice improvement here! We should certainly update the other packages to follow this pattern, TIL.

@develohpanda develohpanda requested review from dimitropoulos and reynolek and removed request for nijikokun and dimitropoulos April 27, 2021 05:17
Copy link
Contributor

@reynolek reynolek left a comment

Choose a reason for hiding this comment

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

Approved from product perspective

@develohpanda develohpanda merged commit 05b5c3d into Kong:develop Apr 27, 2021
@mikaello mikaello deleted the patch-1 branch April 27, 2021 07:18
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.

4 participants