-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
It should be easier to configure remotes in Devfile v2 flow #21315
Comments
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
/remove-lifecycle stale |
@amisevsk to clarify: on the devfile / devworkspace API level everything is already there. What's missing is something like a |
In this case, with the help of a browser extension, we could make it automatic. |
Right, devfiles/devworkspaces support everything that would be needed to support this currently, and it's possible to manually create a devfile that works as expected. I'm not sure an ideal solution, and maybe a browser extension is the best option. Overall the outcome I would want is that when I start a workspace e.g. |
I am assuming this can be closed now |
Is your enhancement related to a problem? Please describe
By default, I set up repos I work in with remotes
However, with the devfile v2 flow, only one repo can be specified and the devfile from that repo is used for the workspace. This can lead to issues if a fork is out of date, and requires adding remotes manually after the fact.
Describe the solution you'd like
Ideally it would be possible to specify a full list of remotes that the workspace should use. If not that, specifying (or automatically detecting) a fork + upstream set of remotes would be very useful
When cloning a new repo for the first time, I would like it to be configured so that
main
into the workspace and track upstream/main in the local main branchDescribe alternatives you've considered
No response
Additional context
On a DevWorkspace level, the configuration looks like
(
revision
can be omitted if the default branch is to be used)Related issue: Sometimes Che-Theia overwrites the DevWorkspace CR when adding remotes via UI: #21244
The text was updated successfully, but these errors were encountered: