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

meta package #37

Merged
merged 2 commits into from
Sep 10, 2019
Merged

meta package #37

merged 2 commits into from
Sep 10, 2019

Conversation

kmoe
Copy link
Member

@kmoe kmoe commented Sep 9, 2019

No description provided.

Copy link
Contributor

@appilon appilon left a comment

Choose a reason for hiding this comment

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

Overall looking great! Only thing I question is if the meta package is responsible for many meta things, should these variables and functions be prefixed with SDK like SDKVersion (eyesore I know). I envision we might query the protocol for protocol versions? Not a blocker for me just thought I would bring it up.

Copy link
Member

@radeksimko radeksimko left a comment

Choose a reason for hiding this comment

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

Totally nitpicky note & not a blocker, but we may want to think about the UA string length. I'm not sure what is considered reasonable and if we could reduce it e.g. by assuming that "Plugin SDK" is Terraform's SDK, or if we need/should be explicit in each UA "product" name.

We just need to keep in mind that providers will want to append things like AWS' SDK version, Go version, arch, os etc.

Just food for thought. Feel free to merge though!

@kmoe
Copy link
Member Author

kmoe commented Sep 10, 2019

I think we should be explicit in each UA product name, as the relationship between product names is not represented in the RFC7231 syntax, although there is some argument to be made that our product identifiers are not "listed in decreasing order of their significance".

With the addition of the extra details you mention, UA headers produced by provider requests should still not hit 200 characters, which I think is a reasonable lower bound for incompatibility with very old or very quirky web servers.

@kmoe kmoe merged commit 53994dd into master Sep 10, 2019
@kmoe kmoe deleted the meta-package branch September 10, 2019 15:09
@ghost
Copy link

ghost commented Oct 11, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Oct 11, 2019
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.

3 participants