Provide a checkoutFrom.revision url parameter for factoryUrl #21922
Labels
area/dashboard
kind/enhancement
A feature request - must adhere to the feature request template.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
severity/P2
Has a minor but important impact to the usage or development of the system.
sprint/current
Is your enhancement related to a problem? Please describe
This enhancement is an alternative to #21921
When creating a workspace with a factory url with a branch:
The
checkoutFrom.revision
for the resulting DW is7.59.x
, meaning, when opening the workspace, the branch that is checked out is7.59.x
:But, if we take the url above and configure remotes on top of it, by setting
origin
tohttps://github.com/dkwon17/che-plugin-registry
andupstream
tohttps://github.com/eclipse-che/che-plugin-registry
:The
checkoutFrom.revision
is not set in this case, because there is no guarantee that the7.59.x
branch exists in the newly configuredorigin
remote:Therefore, it would be great to have some way to configure the
checkoutFrom.revision
field when specifying remotes.Describe the solution you'd like
Have
checkoutFrom.revision
configurable with a url parameterDescribe alternatives you've considered
#21921
Additional context
This feature is helpful for redhat-actions/try-in-web-ide#14, since it would help the GitHub action to set up remotes as well as set up the
checkoutFrom.revision
branch.The text was updated successfully, but these errors were encountered: