Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

feat: Add an ability to pass editor description as URL to the generator #722

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

RomanNikitenko
Copy link
Member

@RomanNikitenko RomanNikitenko commented Mar 1, 2023

What does this PR do?

  • Add an ability to pass editor description as URL to the generator
  • Respect inline format of the editor devfile

Screenshot/screencast of this PR

What issues does this PR fix or reference?

We need it for eclipse-che/che#18670

How to test this PR?

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
@github-actions
Copy link

github-actions bot commented Mar 1, 2023

Click here to review and test in web IDE: Contribute

Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
@github-actions
Copy link

github-actions bot commented Mar 1, 2023

Click here to review and test in web IDE: Contribute

@@ -275,7 +275,7 @@ describe('Test Main with stubs', () => {
} catch (e) {
message = e.message;
}
expect(message).toEqual('missing editorPath or editorEntry or editorContent');
expect(message).toEqual('missing editorPath or editorEntry or editorContent or editorUrl');
Copy link
Member Author

Choose a reason for hiding this comment

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

The Jest is unhappy because of uncovered lines:

image

working on it, will update the PR soon...

@RomanNikitenko RomanNikitenko changed the title Add editor url to generator feat: Add an ability to pass editor description as URL to the generator Mar 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant