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

support dart-lang #113

Open
r6m opened this issue Mar 20, 2019 · 5 comments
Open

support dart-lang #113

r6m opened this issue Mar 20, 2019 · 5 comments

Comments

@r6m
Copy link

r6m commented Mar 20, 2019

Currently Dart is not supported.

Is there any plans to support dart-lang as well?

@mhamrah
Copy link
Contributor

mhamrah commented Mar 20, 2019

No immediate plans, but happy to accept PR's.

@noltedennis
Copy link

noltedennis commented May 2, 2020

Hi @mhamrah and @rezam90,

I encountered the same issue yesterday and decided to try and extend the project with DART support. Attached you can find a patch file. Since this is my first open source contribution I am hesistant to open a PR directly and would like to collect thoughts and feedback first.

For DART support, I had to undertake the following changes:

  1. Change from Alpine-based image to Debian-Stretch based base-docker image, because the DART SDK afaik cannot be compiled with musl
  2. Add the DART SDK and plugin to the image. For quickness I did not build these myself and instead used the available Debian packages.
  3. With the change of the base image I had to swap out some dependenices
  4. For DART we need to include the Google pre-defined stubs, because the DART protobuf package - unlike most other packages - does not include these.

Since we changed the base image and added the Dart SDK, the Docker image size trippled. Would you still be willing to go forward with this change?

Kind regards,
Dennis
add-dart-support.patch.txt

@mhamrah
Copy link
Contributor

mhamrah commented May 2, 2020 via email

@ido-namely
Copy link
Contributor

Hi @noltedennis ,
Sorry for the late reply.
I don't know if you've lost interest in contributing, but I'm happy to review a PR if you submit it.
Since we switched to a debian based image since your last message, I don't think there should be any problems with the approach you've described.

@jcburley
Copy link
Collaborator

@r6m @noltedennis – please consider submitting a PR for this if you're still interested; else feel free to close it out. Thanks!

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

5 participants