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 first version of the code #1

Merged
merged 10 commits into from
Sep 10, 2018
Merged

Conversation

gaocegege
Copy link
Contributor

@gaocegege gaocegege commented Sep 8, 2018

/assign @ddysher

NONE

Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
@caicloud-bot caicloud-bot added do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. caicloud-cla: yes Indicates the PR's author has not signed the Caicloud CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Sep 8, 2018
// TODO: Using a real s2i client.
s2iClient := s2i.New()

interpreter := interpreter.New()
Copy link
Member

Choose a reason for hiding this comment

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

nit: do not shadow package name, ditto for manager and kernel.

cmd/kubeflow-kernel/main.go Show resolved Hide resolved
pkg/kernel/kernel.go Show resolved Hide resolved
}
}

func (m Manager) Execute(code string) (*types.Job, error) {
Copy link
Member

Choose a reason for hiding this comment

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

add godoc for public methods

}
}

func (i Interpreter) Preprocess(code string) (*types.Parameter, error) {
Copy link
Member

Choose a reason for hiding this comment

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

ditto, add godoc for public methods

pkg/kernel/kernel.go Show resolved Hide resolved
"kubeflow-kernel",
"{connection_file}"
],
"display_name": "Kubeflow",
Copy link
Member

Choose a reason for hiding this comment

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

s/Kubeflow/Kubeflow-PythonN?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we will support Python 2 & 3 in the future, while now we can set to Kubeflow-Python3

"{connection_file}"
],
"display_name": "Kubeflow",
"language": "Python"
Copy link
Member

Choose a reason for hiding this comment

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

Python3 vs Python2? we probably need to make clear (even though the pr doesn't implement python integration)

docs/demo.md Show resolved Hide resolved
version/version.go Show resolved Hide resolved
@gaocegege
Copy link
Contributor Author

For these suggestions about improvements, I have opened some issues to keep track. And I will address other comments today or tomorrow.

@gaocegege
Copy link
Contributor Author

@ddysher Addressed, PTAL

@ddysher
Copy link
Member

ddysher commented Sep 10, 2018

Thanks! btw, can u add vendor?

/lgtm

@caicloud-bot caicloud-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 10, 2018
@caicloud-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ddysher
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:

Assign the PR to them by writing /assign in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ddysher
Copy link
Member

ddysher commented Sep 10, 2018

First PR without OWNERS file, manually merge.

@ddysher ddysher merged commit e0f28a3 into caicloud:master Sep 10, 2018
@gaocegege gaocegege deleted the readme branch September 10, 2018 02:53
This was referenced Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
caicloud-cla: yes Indicates the PR's author has not signed the Caicloud CLA. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants