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

Rename "development environment" to "development container" #910

Merged
merged 1 commit into from Jun 13, 2020

Conversation

pchico83
Copy link
Contributor

Signed-off-by: Pablo Chico de Guzman pchico83@gmail.com

Proposed changes

  • Rename "development environment" to "development container". The development environment is a wider concept.

@codecov
Copy link

codecov bot commented Jun 12, 2020

Codecov Report

Merging #910 into master will increase coverage by 0.03%.
The diff coverage is 9.43%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #910      +/-   ##
==========================================
+ Coverage   33.37%   33.41%   +0.03%     
==========================================
  Files          67       67              
  Lines        5378     5378              
==========================================
+ Hits         1795     1797       +2     
+ Misses       3434     3432       -2     
  Partials      149      149              
Impacted Files Coverage Δ
cmd/doctor.go 0.00% <0.00%> (ø)
cmd/down.go 0.00% <0.00%> (ø)
cmd/exec.go 0.00% <0.00%> (ø)
cmd/init.go 17.44% <0.00%> (ø)
cmd/push.go 0.00% <0.00%> (ø)
cmd/restart.go 0.00% <0.00%> (ø)
cmd/status.go 0.00% <0.00%> (ø)
cmd/up.go 6.30% <0.00%> (ø)
pkg/analytics/analytics.go 16.10% <0.00%> (ø)
pkg/k8s/deployments/crud.go 11.57% <0.00%> (ø)
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd7ef09...11945e4. Read the comment docs.

cmd/restart.go Outdated
@@ -31,7 +31,7 @@ func Restart() *cobra.Command {

cmd := &cobra.Command{
Use: "restart",
Short: "Restarts the pods of your development environment",
Short: "Restarts the services of your okteto manifest",
Copy link
Contributor

Choose a reason for hiding this comment

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

This is the only one that sounds odd. The rest of the changes are much more clear now.
What about Restarts the pods containing your development container? or Restart the pod of your development container or something like that... I'm not sure if my proposal is accurate enough.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This command restarts the pods indicated by the services field of the okteto manifest. It does not restart the dev container. What about something like:
Restarts the pods references by the "services" field of the okteto manifest

Copy link
Contributor

Choose a reason for hiding this comment

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

Sounds more accurate like that then

Copy link
Member

Choose a reason for hiding this comment

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

In kubernetes you don't restart services, you recreate (or restart) the pods. I think we should use more kubernetes-specific in this kind of descriptions.

Copy link
Member

Choose a reason for hiding this comment

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

Maybe: restarts the deployment listed in the services field of the okteto manifest?

Signed-off-by: Pablo Chico de Guzman <pchico83@gmail.com>
@pchico83 pchico83 merged commit 7b3fee7 into master Jun 13, 2020
@pchico83 pchico83 deleted the dev-container branch June 13, 2020 07:56
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