Skip to content

Import Elixir SDK as Experimental - #5201

Merged
gerhard merged 108 commits into
dagger:mainfrom
gerhard:import-sdk-elixir
Jun 1, 2023
Merged

gerhard merged 108 commits into
dagger:mainfrom
gerhard:import-sdk-elixir

Conversation

@gerhard

@gerhard gerhard commented May 25, 2023 •

Copy link
Copy Markdown
Contributor

This imports https://github.com/wingyplus/dagger_ex under sdk/elixir as an experimental SDK.

@gerhard action items (part of this PR)

git remote add dagger-sdk-elixir [email protected]:wingyplus/dagger_ex
git fetch dagger-sdk-elixir --no-tags
git checkout -b sdk/elixir dagger-sdk-elixir/main
mkdir -p sdk/elixir
git ls-tree -z --name-only HEAD | xargs -0 -I {} git mv {} sdk/elixir/
git commit --gpg-sign --signoff

git checkout main
git pull
git checkout -b import-sdk-elixir

git merge --gpg-sign --signoff --allow-unrelated-histories sdk/elixir

git push -u fork

@wingyplus action items (part of this PR)

Follow-ups (outside / after this PR)

This sounds like maintainer on-boarding to me @wingyplus 🙂

Did I miss anything @shykes @samalba @wingyplus @d3rp3tt3 @mircubed?

@kjuulh

kjuulh commented May 25, 2023

Copy link
Copy Markdown
Contributor

Looks good from my pov. I guess the next steps would be adopting the hack/ scripts and integrating ci?

@kjuulh

kjuulh commented May 25, 2023

Copy link
Copy Markdown
Contributor

FYI I am not quite sure why I am tagged xD

@wingyplus

wingyplus commented May 26, 2023 •

Copy link
Copy Markdown
Contributor

Note for myself:

@wingyplus

wingyplus commented May 26, 2023 •

Copy link
Copy Markdown
Contributor

Hi @gerhard,

I've done porting sdk/elixir/.github into .github and ported the test and lint pipeline into internal/mage/sdk already. I'm not sure about 3 mage tasks left (generate, bump, publish), do I need to tackle in this PR or do it later?

Comment thread sdk/elixir/mix.exs Resolved
@gerhard

gerhard commented May 30, 2023 •

Copy link
Copy Markdown
Contributor Author

@kjuulh FYI I am not quite sure why I am tagged xD

My mistake, it's OK to unfollow this PR 👍

@gerhard

gerhard commented May 30, 2023 •

Copy link
Copy Markdown
Contributor Author

I've done porting sdk/elixir/.github into .github and ported the test and lint pipeline into internal/mage/sdk already.

🙌 @wingyplus. I will be checking the state of this PR shortly.

I'm not sure about 3 mage tasks left (generate, bump, publish), do I need to tackle in this PR or do it later?

All of these can be done in follow-up PRs, no worries.

@gerhard

gerhard commented May 30, 2023

Copy link
Copy Markdown
Contributor Author

All the changes look good to me.

Would you like to rebase everything on top of main before we merge @wingyplus?

After you do that, if everything looks good to you, please approve the PR @wingyplus so that we can get it merged 💪

@wingyplus

wingyplus commented Jun 1, 2023 •

Copy link
Copy Markdown
Contributor

@gerhard The PR is now rebased. And all tests related to Elixir are now passed except test / engine which seems not related to this PR and DCO check. 🙇

wingyplus and others added 24 commits June 2, 2023 00:33
* Add `:workdir` into `dagger session`.
* Remove `:config_path`.
* Cleanup `:log_output` to accept device uses by `IO.binwrite/2`.
* Use `IO.binwrite/2` instead of `IO.write/2`.

Closes #28
Signed-off-by: Gerhard Lazu <[email protected]>
This is still in complete and make test failures. So remove it.

Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>
And change Sync to ExitCode.

Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>
Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>
It already ported to ./hack/make sdk:elixir:[test,lint]

Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>
Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>
Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>
Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>
Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>
Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]>
So that they are declared only once - single replace when needed.

Signed-off-by: Gerhard Lazu <[email protected]>
They are not repository top-level.

Signed-off-by: Gerhard Lazu <[email protected]>
@wingyplus

wingyplus commented Jun 1, 2023 •

Copy link
Copy Markdown
Contributor

Rebase again

@wingyplus

Copy link
Copy Markdown
Contributor

I found lint-daggerized workflow error due to pointing to incorrect local action (ref https://github.com/dagger/dagger/actions/runs/5147441125). I sent a fix here #5244.

@gerhard

gerhard commented Jun 1, 2023 •

Copy link
Copy Markdown
Contributor Author

Set DCO to pass.

Engine test is a flake - re-running the test.

When all checks pass, this will be merged. Thank you for sticking with this @wingyplus!

@gerhard
gerhard merged commit 100b99d into dagger:main Jun 1, 2023
@gerhard
gerhard deleted the import-sdk-elixir branch June 1, 2023 18:47
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.

3 participants