-
Notifications
You must be signed in to change notification settings - Fork 32
WIP: made migrating docs adhere to style guide #39
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
Changes from all commits
8ac2ff8
5ac121b
ff05d0c
4caff9d
f72a9ee
6471455
f5c22d3
155d6ec
1a06eb0
fbfe349
d1d03ef
5c5ec99
72fa0cd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,33 +2,44 @@ | |
= Migrating commands | ||
|
||
[role="_abstract"] | ||
This section describes how to migrate plug-ins to devfile v2. There ARE major changes in the `commands` section of the devfile. A command specified in a v1.0 devfile will NOT work as it is in a devfile v2.0. | ||
<<<<<<< HEAD | ||
This section describes how to migrate commands to devfiles v2.x. A command specified in a devfile v1.x no longer works in a devfile v2.x. | ||
======= | ||
This section describes how to migrate commands to devfiles v2.x. Major changes have been made from devfiles v1.x to the command section of devfile v2.x. A command specified in a devfile v1.x no longer works in a devfile v2.x. | ||
jc-berger marked this conversation as resolved.
Show resolved
Hide resolved
|
||
>>>>>>> 6471455677b28b0e892adc4c24e14acfc17678a4 | ||
|
||
.Procedure | ||
|
||
. Command Groups: build,run,test,debug. | ||
. Apply Command. | ||
. Environment Varibables for a Specific Command. | ||
. Renaming workdir into workingDir. | ||
. Id and label for Composite Commands. | ||
. Run exec Commands as Specific User. | ||
. Command groups: build, run, test, debug. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is it clear to the reader how to command groups? I don't understand this step^^ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, this doc needs major revisions which we've discussed in previous PRs. We'll tackle these concerns in the separate issue for properly structure our procedures: devfile/api#402 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what is this paragraph supposed to do? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should it really list enumerated steps to follow? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See my response in your previous comment. |
||
. Apply command. | ||
. Environment variables for a specific command. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not a step in a procedure. Should this paragraph be a procedure in the first place? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See my response in your previous comment. |
||
. Renaming workdir into workingDir. | ||
jc-berger marked this conversation as resolved.
Show resolved
Hide resolved
|
||
. Id and label for composite commands. | ||
. Run exec commands as specific user. | ||
. Devfile metadata: add a link to an external website. | ||
. Stack/Devfile Matching Rules. | ||
. Stack or devfile matching rules. | ||
|
||
[role="_additional-resources"] | ||
.Additional resources | ||
|
||
* Command Groups: build,run,test,debug. See https://github.com/che-incubator/devworkspace-api/issues/27[corresponding issue]. | ||
* Apply Command. See https://github.com/devfile/api/issues/56[corresponding issue]. | ||
<<<<<<< HEAD | ||
For a deeper understanding of migrating commands, go to the following GitHub issues: | ||
======= | ||
Go to the following GitHub issues: | ||
jc-berger marked this conversation as resolved.
Show resolved
Hide resolved
|
||
>>>>>>> 6471455677b28b0e892adc4c24e14acfc17678a4 | ||
|
||
* Environment Varibables for a Specific Command. See https://github.com/che-incubator/devworkspace-api/issues/21[corresponding issue]. | ||
* link:https://github.com/devfile/api/issues/27[Command groups: build, run, test, debug] | ||
|
||
* Renaming workdir into workingDir. See https://github.com/che-incubator/devworkspace-api/issues/22[corresponding issue]. | ||
* link:https://github.com/devfile/api/issues/56[Apply command] | ||
|
||
* Id and label for Composite Commands. See https://github.com/che-incubator/devworkspace-api/issues/18[corresponding issue]. | ||
* link:https://github.com/devfile/api/issues/21[Environment variables for a specific command] | ||
|
||
* Run exec Commands as Specific User. See https://github.com/che-incubator/devworkspace-api/issues/34[corresponding issue]. | ||
* link:https://github.com/devfile/api/issues/22[Renaming workdir into workingDir] | ||
|
||
* Devfile metadata: add a link to an external website. See https://github.com/che-incubator/devworkspace-api/issues/38[corresponding issue]. | ||
* link:https://github.com/devfile/api/issues/18[Id and label for composite commands] | ||
|
||
* Stack/Devfile Matching Rules. See https://github.com/che-incubator/devworkspace-api/issues/40[corresponding issue]. | ||
* link:https://github.com/devfile/api/issues/34[Run exec commands as specific user] | ||
|
||
* link:https://github.com/devfile/api/issues/38[Devfile metadata: add a link to an external website] | ||
|
||
* link:https://github.com/devfile/api/issues/40[Stack or devfile matching rules] |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,12 @@ | |
= Migrating schema version | ||
|
||
[role="_abstract"] | ||
This section describes how to migrate schema version. | ||
This section describes how to migrate a schema version to devfiles v2.x. A schema version specified in a devfile v1.x still works in a devfile v2.x. | ||
|
||
.Procedure | ||
|
||
* Replace `apiVersion: 1.0.0` by `schemaVersion: 2.0.0`: | ||
|
||
. To migrate a schema version from devfiles v1.x to devfiles v2.x, replace `apiVersion: 1.0.0` with `schemaVersion: 2.0.0`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. where do I need to go to replace the schema version? Do you change a section in the devfile? This should be more clear I think. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point. I don't know the answer. It's probably something we can tackle in the separate issue for properly structure our procedures: devfile/api#402 |
||
+ | ||
[cols="1a,1a"] | ||
|==== | ||
| | ||
|
@@ -29,9 +29,13 @@ metadata: | |
name: devfile-sample | ||
---- | ||
|==== | ||
|
||
|
||
+ | ||
|
||
[role="_additional-resources"] | ||
.Additional resources | ||
* See link:https://github.com/che-incubator/devworkspace-api/issues/7[corresponding issue] | ||
|
||
<<<<<<< HEAD | ||
For a deeper understanding of migrating schema versions, go to the following GitHub issue: link:https://github.com/devfile/api/issues/7[schemaVersion attribute]. | ||
======= | ||
Go to the following GitHub issue: link:https://github.com/devfile/api/issues/7[schemaVersion attribute]. | ||
jc-berger marked this conversation as resolved.
Show resolved
Hide resolved
|
||
>>>>>>> 6471455677b28b0e892adc4c24e14acfc17678a4 |
Uh oh!
There was an error while loading. Please reload this page.