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

procedures: starting a new workspace #2227

Closed
wants to merge 46 commits into from
Closed

Conversation

max-cx
Copy link
Contributor

@max-cx max-cx commented Feb 7, 2022

What does this pull request change

Adding the first batch of new content to the new docs.

What issues does this pull request fix or reference

RHDEVDOCS-3505 > RHDEVDOCS-3789, RHDEVDOCS-3790

Specify the version of the product this pull request applies to

7.42+

Pull request checklist

The author and the reviewers validate the content of this pull request with the following checklist, in addition to the automated tests.

  • Any procedure:
    • Successfully tested.
  • Any page or link rename:
  • Builds on Eclipse Che hosted by Red Hat.
  • the Validate language on files added or modified step reports no vale warnings.

 Changes to be committed:
	modified:   .github/workflows/build-and-validate-on-pr.yaml
	new file:   .github/workflows/build-container.yml
	modified:   .github/workflows/publish-netlify.yml
	modified:   .gitignore
	modified:   Dockerfile
	modified:   antora-playbook-for-development.yml
	modified:   gulpfile.js
	modified:   modules/user-guide/nav.adoc
	modified:   modules/user-guide/pages/projects-with-git.adoc
	deleted:    package.json
	deleted:    supplemental-ui/.htaccess
	new file:   supplemental-ui/css/search.css
	new file:   supplemental-ui/js/search-ui.js
	modified:   supplemental-ui/partials/footer-content.hbs
	modified:   supplemental-ui/partials/head-meta.hbs
	modified:   supplemental-ui/partials/header-content.hbs
	modified:   tools/get_vale_styles.sh
@max-cx max-cx changed the title feat: adding sections on starting a new workspace procedures: adding sections on starting a new workspace Mar 23, 2022
@max-cx max-cx changed the title procedures: adding sections on starting a new workspace procedures: starting a new workspace Mar 23, 2022
* Your organization has a running instance of {prod-short}.
* You have been given the xref:url-of-your-organizations-che-instance.adoc[].
* Your Git repository maintainer keeps the `devfile.yaml` or `.devfile.yaml` file in the root directory of the Git repository.
* Optional: Private repositories that are hosted on GitHub, GitLab, or Bitbucket require (1) an authorized application link to be created on the repository-hosting website by the repository maintainer (which is you for your fork) and (2) a {platforms-name} secret to be applied by the administrator of the {prod-short} instance that belongs to your organization.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Optional: Private repositories that are hosted on GitHub, GitLab, or Bitbucket require (1) an authorized application link to be created on the repository-hosting website by the repository maintainer (which is you for your fork) and (2) a {platforms-name} secret to be applied by the administrator of the {prod-short} instance that belongs to your organization.
* Optional: Private repositories that are hosted on GitHub, GitLab, or Bitbucket require:
- An authorized application link to be created on the repository-hosting website by the repository maintainer (which is you for your fork) and
- A {platforms-name} secret to be applied by the administrator of the {prod-short} instance that belongs to your organization.


.Procedure

. Optional: visit the xref:url-of-your-che-dashboard.adoc[] to log in as a {prod-short} user to your organization's instance of {prod-short}.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
. Optional: visit the xref:url-of-your-che-dashboard.adoc[] to log in as a {prod-short} user to your organization's instance of {prod-short}.
. Optional: Visit the xref:url-of-your-che-dashboard.adoc[] to log in as a {prod-short} user to your organization's instance of {prod-short}.

[id="url-of-your-{prod-id-short}-dashboard_{context}"]
= URL of your {prod-short} dashboard

The *Workspaces* page of your {prod-short} dashboard is where you manage your workspaces and verify their current states. The URL syntax for this page is like so:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
The *Workspaces* page of your {prod-short} dashboard is where you manage your workspaces and verify their current states. The URL syntax for this page is like so:
The *Workspaces* page of your {prod-short} dashboard is where you manage your workspaces and verify their current states. The URL syntax for this page is as follows:

{prod-url}#__<git_repository_url>__?new
----

NOTE: Attempting to reuse the devfile and linked Git repository without the `new` URL parameter to start a new workspace in addition to a workspace that already exists results in an error message.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
NOTE: Attempting to reuse the devfile and linked Git repository without the `new` URL parameter to start a new workspace in addition to a workspace that already exists results in an error message.
NOTE: Attempting to reuse the devfile and linked Git repository without the `new` URL parameter to start a new workspace in addition to a workspace that already exists will provide an error message.

[id="url-parameter-for-the-devfile-file-name_{context}"]
= URL parameter for the devfile file name

When you visit a URL for starting a new workspace, {prod-short} searches the linked Git repository for a devfile with the file name `.devfile.yaml` or `devfile.yaml`. So the devfile in the linked Git repository must follow this convention.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
When you visit a URL for starting a new workspace, {prod-short} searches the linked Git repository for a devfile with the file name `.devfile.yaml` or `devfile.yaml`. So the devfile in the linked Git repository must follow this convention.
When you visit a URL for starting a new workspace, {prod-short} searches the linked Git repository for a devfile with the file name `.devfile.yaml` or `devfile.yaml`. Therefore, the devfile in the linked Git repository must follow the convention.

[id="url-parameter-for-the-devfile-file-path_{context}"]
= URL parameter for the devfile file path

When you visit a URL for starting a new workspace, {prod-short} searches the root directory of the linked Git repository for a devfile (with the file name `.devfile.yaml` or `devfile.yaml`). So the file path of the devfile in the linked Git repository must follow this convention.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
When you visit a URL for starting a new workspace, {prod-short} searches the root directory of the linked Git repository for a devfile (with the file name `.devfile.yaml` or `devfile.yaml`). So the file path of the devfile in the linked Git repository must follow this convention.
When you visit a URL for starting a new workspace, {prod-short} searches the root directory of the linked Git repository for a devfile (with the file name `.devfile.yaml` or `devfile.yaml`). Therefore, the file path of the devfile in the linked Git repository must follow the convention.

[id="url-parameter-for-the-workspace-ide_{context}"]
= URL parameter for the workspace IDE

Che-Theia is currently the default integrated development environment (IDE) that a workspace loads with if no IDE is specified as a URL parameter as part of the URL for starting a new workspace.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Che-Theia is currently the default integrated development environment (IDE) that a workspace loads with if no IDE is specified as a URL parameter as part of the URL for starting a new workspace.
Che-Theia is currently the default integrated development environment (IDE) loaded by a workspace if no IDE is specified as a URL parameter as part of the URL for starting a new workspace.

@themr0c themr0c added this to Triage in Reviews via automation Mar 25, 2022
@themr0c themr0c requested a review from a team as a code owner March 25, 2022 13:27
@themr0c themr0c requested a review from l0rd March 25, 2022 13:27
@max-cx
Copy link
Contributor Author

max-cx commented Mar 28, 2022

Migrating the contents of this PR into a new PR for the master branch.

@max-cx max-cx closed this Mar 28, 2022
Reviews automation moved this from Triage to Done Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Reviews
  
Done
4 participants