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

Feature/naming-updates #1275

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open

Feature/naming-updates #1275

wants to merge 30 commits into from

Conversation

bkneis
Copy link
Contributor

@bkneis bkneis commented Sep 20, 2024

I have added some docblocks and performed some re factoring as I was looking around the code to check if the docs were correct. Some of this was making certain statements more idiomatic but mostly it was renaming. I found a lot of the code had long fully qualified names and duplicate words once the package identifier was included, i.e. devcontainer.FindDevContainer. I know naming is very subjective so I only changed what I thought was awkward to read.

@bkneis bkneis marked this pull request as draft September 20, 2024 08:25
@bkneis bkneis marked this pull request as ready for review September 23, 2024 08:12
Copy link
Contributor

@Piotr1215 Piotr1215 left a comment

Choose a reason for hiding this comment

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

@bkneis really nice use of the PlantUML diagrams, I left a few suggestions. In general, once the diagrams' repository will grow, you can take advantage of the preprocessing capabilities and reuse some components either via procedure or function calls.

On the sequence diagrams you can also use themes, I think !theme cloudscape-design would fit devpod pretty well!

docs/uml/c4_build.puml Show resolved Hide resolved
docs/uml/c4_component_machine.puml Outdated Show resolved Hide resolved
docs/uml/c4_component_machine.puml Outdated Show resolved Hide resolved
docs/uml/up_sequence.puml Outdated Show resolved Hide resolved
cmd/up.go Outdated Show resolved Hide resolved
Copy link
Member

@pascalbreuninger pascalbreuninger left a comment

Choose a reason for hiding this comment

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

Overall good additions, thanks!
I don't agree on all of the naming changes but that's naming I guess. Commented on the ones I find irritating.

Other than that it's mostly small nitpicks and suggestions.

Could you additionally swap out all devpod mentions for DevPod please? At least our docs should refer to the actual name :D

docs/pages/how-it-works/building-workspaces.mdx Outdated Show resolved Hide resolved
sidebar_label: Deploying kubernetes
---

DevPod works the same with kubernetes as with Machines, the key difference is the secure tunnel is set up using the kubernetes control plane (e.g. kubectl ...) so an agent is not necessary
Copy link
Member

Choose a reason for hiding this comment

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

so an agent is not necessary
Technically we still have a local agent and one in the workspace container, just not one in the VM. What do you think of removing that part?

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 was the complete sentence - so an agent is not necessary to be run on the kubernetes node. I wanted to add this as looking at machine you could easily think the devpod agent is on the k8s node as well as the pod

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 can remove, but I think it's a good distinction

Copy link
Contributor

Choose a reason for hiding this comment

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

@pascalbreuninger, @bkneis you can use vale to ensure DevPod is always spelled with proper capitalization. LMK if you are interested, and I can set it up for you.

docs/pages/how-it-works/deploy-machines.mdx Outdated Show resolved Hide resolved
docs/pages/how-it-works/overview.mdx Outdated Show resolved Hide resolved
docs/pages/how-it-works/overview.mdx Outdated Show resolved Hide resolved
docs/pages/how-it-works/overview.mdx Outdated Show resolved Hide resolved
docs/pages/tutorials/reduce-build-times-with-cache.mdx Outdated Show resolved Hide resolved
docs/pages/tutorials/reduce-build-times-with-cache.mdx Outdated Show resolved Hide resolved
docs/pages/tutorials/reduce-build-times-with-cache.mdx Outdated Show resolved Hide resolved
docs/pages/tutorials/reduce-build-times-with-cache.mdx Outdated Show resolved Hide resolved
@bkneis
Copy link
Contributor Author

bkneis commented Oct 4, 2024

@pascalbreuninger Just finished updating this PR, all of your comments but one should be addressed, including name changes :) Just one remark on your comment, let me know what you think and if I should remove

@bkneis
Copy link
Contributor Author

bkneis commented Oct 7, 2024

Fixes #1235 and #1247 and #1187

@bkneis bkneis changed the title Feature/docs Feature/naming-updates Oct 10, 2024
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.

3 participants