Skip to content

Conversation

gerhard
Copy link
Contributor

@gerhard gerhard commented May 25, 2023

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
Copy link
Contributor

kjuulh commented May 25, 2023

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

@kjuulh
Copy link
Contributor

kjuulh commented May 25, 2023

FYI I am not quite sure why I am tagged xD

@wingyplus
Copy link
Contributor

wingyplus commented May 26, 2023

Note for myself:

@wingyplus
Copy link
Contributor

wingyplus commented May 26, 2023

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?

@gerhard
Copy link
Contributor Author

gerhard commented May 30, 2023

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

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

@gerhard
Copy link
Contributor Author

gerhard commented May 30, 2023

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
Copy link
Contributor Author

gerhard commented May 30, 2023

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 force-pushed the import-sdk-elixir branch from e3d05e7 to a822bbf Compare June 1, 2023 03:24
@wingyplus
Copy link
Contributor

wingyplus commented Jun 1, 2023

@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 23 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 force-pushed the import-sdk-elixir branch from a822bbf to b7f69e5 Compare June 1, 2023 17:34
@wingyplus
Copy link
Contributor

wingyplus commented Jun 1, 2023

Rebase again

@wingyplus
Copy link
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
Copy link
Contributor Author

gerhard commented Jun 1, 2023

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