Skip to content

feat: allow to import require statements and show all failing with multi-error#2354

Merged
FabianKramm merged 5 commits intodevspace-sh:mainfrom
dtomasi:feature/import-require
Oct 5, 2022
Merged

feat: allow to import require statements and show all failing with multi-error#2354
FabianKramm merged 5 commits intodevspace-sh:mainfrom
dtomasi:feature/import-require

Conversation

@dtomasi
Copy link
Contributor

@dtomasi dtomasi commented Sep 30, 2022

What issue type does this pull request address? (keep at least one, remove the others)
/kind enhancement
/kind feature

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
resolves #2353

Please provide a short message that should be published in the DevSpace release notes
Fixed an issue where DevSpace does not resolve require recursive in imports. Additionally this introduces mutlierror for requirements to output all unmet requirements at once. This is useful if there are a bunch of imports with different requirements.

What else do we need to know?

Copy link
Collaborator

@lizardruss lizardruss left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

See my inline comments for requested changes

@dtomasi dtomasi requested review from lizardruss and removed request for FabianKramm and LukasGentele October 1, 2022 13:44
Copy link
Collaborator

@FabianKramm FabianKramm left a comment

Choose a reason for hiding this comment

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

@dtomasi thanks for the PR! LGTM!

@FabianKramm
Copy link
Collaborator

@dtomasi unfortunately the tests are failing, please take a look there!

@dtomasi
Copy link
Contributor Author

dtomasi commented Oct 4, 2022

@FabianKramm well ... a stupid mistake in variable assignment caused this. Unfortunately, I cannot see if everything passes now now, as of

First-time contributors need a maintainer to approve running workflows. Learn more.

However ... Hope this fixes the tests.

@pratikjagrut pratikjagrut changed the title feat: allow to import require statements and show all failing with mu… feat: allow to import require statements and show all failing with multi-error Oct 4, 2022
@FabianKramm FabianKramm merged commit d9b4303 into devspace-sh:main Oct 5, 2022
@dtomasi dtomasi deleted the feature/import-require branch October 21, 2022 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Require should be added to ImportSections to allow recursive requirement checks

3 participants