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

Move to v1alpha3 DevWorkspaces #1226

Open
amisevsk opened this issue Jan 29, 2024 · 1 comment
Open

Move to v1alpha3 DevWorkspaces #1226

amisevsk opened this issue Jan 29, 2024 · 1 comment

Comments

@amisevsk
Copy link
Collaborator

Description

The DevWorkspace API has become cluttered as new features are added. Since a lot of these devfile features duplicate functionality, it would be helpful to create a new API version that is simplified.

  • Move to using .spec.project and .spec.dependentProjects instead of .spec.projects, the difference being that .spec.project is a single project (normally implicit in the devfile) and dependentProjects are additional projects to import alongside the single main one (see Dependent Projects api#1082)
    • For conversion, the first project in .spec.projects should probably be treated as .spec.project with the rest as .spec.dependentProjects.
  • Remove plugin-type components and move to exclusively using .spec.contributions
    • Conversion is easy, as the objects are the same; labels/annotations may be required to ensure plugins stay plugins after round-trip conversion.
    • This change would likely break Web Terminal, we would need to verify its compatible and work around if not (in particular, terminal customization depends on plugin components). This could potentially be worked around by continuing to use v1alpha2 as the storage version.

Additional context

Most of the preparation work would need to be done in the devfile/api repository.

@amisevsk
Copy link
Collaborator Author

This is not something we can do in the immediate future, but it is something to consider down the line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant