-
Notifications
You must be signed in to change notification settings - Fork 33
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
Update migration guide. #22
Conversation
@elsony could you PTAL if everything is correct content-wise? Thanks. |
|
||
=== starterProjects and projects description | ||
=== `starterProjects` and projects description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason we have a different format for starterProjects
vs projects given that both are elements within the devfile? If one is with ` then the other should also have it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Added backticks around project.
@@ -75,35 +75,35 @@ components: | |||
|
|||
Details can be found in the https://github.com/che-incubator/devworkspace-api/issues/4[corresponding issue]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this URL to devfile/api#4
@@ -75,35 +75,35 @@ components: | |||
|
|||
Details can be found in the https://github.com/che-incubator/devworkspace-api/issues/4[corresponding issue]. | |||
|
|||
=== Shared Volumes Across Components | |||
=== Shared volumes across components | |||
|
|||
Details can be found in the https://github.com/che-incubator/devworkspace-api/issues/19[corresponding issue]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this URL to devfile/api#19
|
||
Details can be found in the https://github.com/devfile/api/issues/48[corresponding issue]. | ||
|
||
=== Replace Alias with Name | ||
=== Replace alias with Name | ||
|
||
Details can be found in the https://github.com/che-incubator/devworkspace-api/issues/9[corresponding issue]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change URL to devfile/api#9
This comment applies to all other URLs that start with
https://github.com/che-incubator/devworkspace-api/issues
and the prefix should be changed to use the prefix
https://github.com/devfile/api/issues
|
||
Details can be found in the https://github.com/che-incubator/devworkspace-api/issues/9[corresponding issue]. | ||
|
||
=== Renaming dockerimage component type | ||
=== Renaming `dockerimage` component type | ||
|
||
Details can be found in the https://github.com/che-incubator/devworkspace-api/issues/8[corresponding issue]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change URL prefix, see above.
@@ -175,27 +175,27 @@ components: | |||
|
|||
Details can be found in the https://github.com/che-incubator/devworkspace-api/issues/31[corresponding issue]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change URL prefix, see above.
|
||
Details can be found in the https://github.com/devfile/api/issues/56[corresponding issue]. | ||
|
||
=== Environment Varibables for a Specific Command | ||
=== Environment variables for a specific command | ||
|
||
Details can be found in the https://github.com/che-incubator/devworkspace-api/issues/21[corresponding issue]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change URL prefix, see above.
|
||
Details can be found in the https://github.com/che-incubator/devworkspace-api/issues/21[corresponding issue]. | ||
|
||
=== Renaming workdir into workingDir | ||
=== Renaming `workdir` into `workingDir` | ||
|
||
Details can be found in the https://github.com/che-incubator/devworkspace-api/issues/22[corresponding issue]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change URL prefix, see above.
|
||
Details can be found in the https://github.com/che-incubator/devworkspace-api/issues/22[corresponding issue]. | ||
|
||
=== Id and label for Composite Commands | ||
=== `Id` and `label` for composite commands | ||
|
||
Details can be found in the https://github.com/che-incubator/devworkspace-api/issues/18[corresponding issue]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change URL prefix, see above.
---- | ||
v2.0 | ||
--- | ||
- id: helloWorld |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be name
instead of id
@elsony Thank you for the review! I've changed the URLs and addressed your other feedback. PTAL when you have time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@boczkowska, adding a bunch of nitpicks.
@@ -73,37 +72,37 @@ components: | |||
reference: https://.../mongo.yaml | |||
---- | |||
|
|||
Details can be found in the https://github.com/che-incubator/devworkspace-api/issues/4[corresponding issue]. | |||
Details can be found in the https://github.com/devfile/api/issues/4[corresponding issue]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of the "Details can be found in the >corresponding issue<." sentences would look better with:
- No passive tense
- Title of the linked issue
E.g.: "For more details, see >Polymorphic component type UX in a devfile<."
@@ -1,9 +1,9 @@ | |||
= Devfile v2 Migration Guide | |||
= Migrating from devfile v1 to devfile v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless there's a specific reason not to, I believe the use of v1
vs v1.0
and v2
vs v2.0
should be unified.
@rkratky thanks! PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @boczkowska.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: boczkowska, elsony, rkratky The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Added description of v2 changes w/ links to respective issues and some language suggestions.
Docs issue: devfile/api#160