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

feat(cli) better version information for dependency binaries #1307

Merged
merged 2 commits into from Jul 1, 2016

Conversation

Tieske
Copy link
Member

@Tieske Tieske commented Jun 10, 2016

Replaces #1221

log.debug("%s: '%s'", cmd, stderr:sub(1, -2))
local version_match = stderr:match(nginx_version_pattern)
if (not version_match) or (not nginx_compatible:matches(version_match)) then
return nil, "Incompatible nginx found. Kong requires OpenResty, version "..tostring(nginx_compatible) ..
Copy link
Member

Choose a reason for hiding this comment

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

Please do not capitalize error messages here to stay consistent with other errors in the CLI and respect the punctuation when thy are printed to the user ("Error: ...").
Ditto for the other 2-3 occurrences in this changelog

Copy link
Member

Choose a reason for hiding this comment

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

Also: the shorter the better

@Tieske
Copy link
Member Author

Tieske commented Jun 10, 2016

de-capitalized

@thibaultcha thibaultcha changed the title add better version information feat(cli) better version information for dependency binaries Jun 27, 2016
@thibaultcha
Copy link
Member

Could you rebase your changes on the latest refactor/cli?

@Tieske Tieske merged commit e1c4ab3 into refactor/cli Jul 1, 2016
@Tieske Tieske deleted the refactor/version-info branch July 1, 2016 12:50
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.

None yet

3 participants