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

chore: fix spelling #1127

Merged
merged 2 commits into from
Mar 26, 2021
Merged

chore: fix spelling #1127

merged 2 commits into from
Mar 26, 2021

Conversation

jbampton
Copy link
Member

@jbampton jbampton commented Mar 9, 2021

No description provided.

Copy link
Contributor

@mrutkows mrutkows left a comment

Choose a reason for hiding this comment

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

Would love to merge this, but the go-binadata tool needs to be run against the translated string changes in the files following these instructions: https://github.com/apache/openwhisk-wskdeploy/blob/master/wski18n/README.md

@@ -95,7 +95,7 @@ func testLoadAndBindDeploymentYAML(t *testing.T, path string, triggerName string
dReader := NewDeploymentReader(sDeployer)
err := dReader.HandleYaml()

// DEBUG() Uncomment to display initial DeploymentDescriptor (manifest, deployemnt befopre binding)
Copy link
Contributor

Choose a reason for hiding this comment

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

Always type this wrong ;) Thx


When you want to return an error, you need to provide the same structure wrapped into an `error` object. If you don't wrap it into an `error` object, it will still work from an HTTP prespective but OpenWhisk will not recognise it as an error.
Copy link
Contributor

Choose a reason for hiding this comment

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

Another typo common to me...

@@ -31,8 +31,8 @@ import (
const PATH_WILDCARD = "*"
const ONE_DIR_UP = "../"

func NewZipWritter(src string, des string, include [][]string, exclude []string, manifestFilePath string) *ZipWritter {
Copy link
Contributor

Choose a reason for hiding this comment

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

This has long bothered me; thanks for fixing and cascading

@@ -21,7 +21,7 @@
},
{
"id": "msg_cmd_desc_long_root",
"translation": "The OpenWhisk Deployment Tool\n\nTo begin working with wskdeploy, run the 'wskdeploy' command:\n\n\t$ wskdeploy\n\nThis will deploy OpenWhisk assets specified in manifest.yaml or manifest.yml\nIf current directory doesnt have any manifest file, wskdeploy prints this help message.\n\nThe most common ways of using wskdeploy to deploy and/or undeploy OpenWhisk assets are:\n\n$ wskdeploy\n$ wskdeploy -m path/to/manifest.yaml\n$ wskdeploy -m path/to/manifest.yaml -d path/to/deployment.yaml\n$ wskdeploy undeploy\n$ wskdeploy undeploy -m path/to/manifest.yaml\n$ wskdeploy undeploy -m path/to/manifest.yaml -d path/to/deployment.yaml\n\nAunthentication:\nwskdeploy reads credentials from $HOME/.wskprops by default\nOverwrite default config file on CLI:\n $ wskdeploy --config <config file> -m path/to/manifest.yaml\nOr specify all three on CLI:\n $ wskdeploy --apihost HOST --auth KEY --namespace NAMESPACE -m path/to/manifest.yaml"
Copy link
Contributor

Choose a reason for hiding this comment

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

These changes need to be "built" using the go-bindata tool to render them as ascii-encoded data using the following instructions: https://github.com/apache/openwhisk-wskdeploy/blob/master/wski18n/README.md

@mrutkows
Copy link
Contributor

@jbampton Thanks for such a comprehensive cleanup of all our code/docs! If you could run the go-bindata tool as ref. in the review (https://github.com/apache/openwhisk-wskdeploy/blob/master/wski18n/README.md) and commit the resultant i18n_resources.go file, I would love to merge this.

Copy link
Contributor

@mrutkows mrutkows left a comment

Choose a reason for hiding this comment

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

I fixed the i18n_resources.go file by generating a new one with the spelling fixes...

@mrutkows mrutkows merged commit d653592 into apache:master Mar 26, 2021
@jbampton jbampton deleted the fix-spelling branch March 26, 2021 14:42
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.

2 participants