-
Notifications
You must be signed in to change notification settings - Fork 171
chore: Add a URL parameter for the existing workspace name #2922
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,33 @@ | ||||||||||||||||||||
:_content-type: CONCEPT | ||||||||||||||||||||
:description: URL parameter for the existing workspace name | ||||||||||||||||||||
:keywords: existing-workspace-name, how-to-start-workspace | ||||||||||||||||||||
:navtitle: URL parameter for the existing workspace name | ||||||||||||||||||||
:page-aliases: | ||||||||||||||||||||
|
||||||||||||||||||||
[id="url-parameter-for-the-existing-workspace-name"] | ||||||||||||||||||||
= URL parameter for the existing workspace name | ||||||||||||||||||||
|
||||||||||||||||||||
If the URL for starting a new workspace contain a URL parameter specifying the existing workspace name, | ||||||||||||||||||||
an existing workspace created from the same URL is opened, or a new workspace is created. | ||||||||||||||||||||
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. to understand this sentence better: in which case is a new workspace created with the 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. A new workspace is created with the existing URL parameter if no workspaces with the same repository URL already exist. 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. We need the 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. I see. thanks for the explanation, I re-worded the sentence a bit. I'm wondering if there's a way to rewrite "The specified existing workspace name will be preferred " to make it more clear what's going to happen. does it mean that the workspace with the |
||||||||||||||||||||
The specified existing workspace name will be preferred if multiple workspaces were created from the same URL. | ||||||||||||||||||||
Comment on lines
+10
to
+12
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.
Suggested change
|
||||||||||||||||||||
|
||||||||||||||||||||
The URL parameter for the existing workspace name is `existing=`: | ||||||||||||||||||||
Contributor
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. @olexii4
|
||||||||||||||||||||
|
||||||||||||||||||||
[source,subs="+quotes,+attributes,+macros"] | ||||||||||||||||||||
---- | ||||||||||||||||||||
pass:c,a,q[{prod-url}]#__<git_repository_url>__?existing=__<existing_workspace_name>__ | ||||||||||||||||||||
---- | ||||||||||||||||||||
|
||||||||||||||||||||
.Example | ||||||||||||||||||||
|
||||||||||||||||||||
==== | ||||||||||||||||||||
|
||||||||||||||||||||
`pass:c,a,q[{prod-url}]#https://github.com/eclipse-che/che-docs?existing=che-docs` | ||||||||||||||||||||
Contributor
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. @deerskindoll I think it should be good, because it's just an example, but to double check: would it be OK if we have che related link in the DevSpaces documentation ? 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 catch! we shouldn't do that. we need separate example for Dev Spaces or a neutral example applicable for both. 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. I think it could be replaced with |
||||||||||||||||||||
|
||||||||||||||||||||
==== | ||||||||||||||||||||
|
||||||||||||||||||||
This URL opens the existing workspace named `che-docs` if it was created from the same URL. | ||||||||||||||||||||
|
||||||||||||||||||||
.Additional resources | ||||||||||||||||||||
|
||||||||||||||||||||
* xref:url-parameter-for-starting-duplicate-workspaces.adoc[] |
Uh oh!
There was an error while loading. Please reload this page.
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.
Could you please add an example like
pass:c,a,q[{prod-url}]#<git_repository_url>?new