-
Notifications
You must be signed in to change notification settings - Fork 801
Import Java SDK as Experimental #5504
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
Conversation
Signed-off-by: Jean-Christophe Sirot <[email protected]>
Initial version of the SDK --------- Signed-off-by: Jean-Christophe Sirot <[email protected]>
* build: clean up build update pom.xml dependency management remove unused dependencies remove unused import * build: Add maven exec plugin to run the code samples from the CLI
Set the log level to debug in integration tests
fix(connection): refactoring of the engine connection package Move CLIRunner and ConnectParams to a dedicated class file Replace JSON-B by JSON-P to deserialize the connection parameters Move the Dagger CLI process execution to the CLI runner (Single-responsibility principle) Fix process hanging when connection to the engine failed Improve code style Add some tests for Connection class --------- Signed-off-by: Jean-Christophe Sirot <[email protected]>
macos is limited to PR builds So far windows VM does not support Linux containers Signed-off-by: Jean-Christophe Sirot <[email protected]>
) package jar with dependencies and upload artifact in github upload artifact only on push to main update README.md --------- Signed-off-by: Jean-Christophe Sirot <[email protected]>
So that this can be imported into dagger/dagger repository Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
But keep as is, same as we did for other experimental SDKs. Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
@gerhard among the actions which are part of this PR I would also add:
|
OK! I just added that. |
Signed-off-by: Jean-Christophe Sirot <[email protected]>
…es and use it when schema is not available. Inject the CLI version in the code at build time Signed-off-by: Jean-Christophe Sirot <[email protected]>
Signed-off-by: Jean-Christophe Sirot <[email protected]>
…le dedicated to deployment Signed-off-by: Jean-Christophe Sirot <[email protected]>
…ome log messages Signed-off-by: Jean-Christophe Sirot <[email protected]>
Signed-off-by: Jean-Christophe Sirot <[email protected]>
Signed-off-by: Jean-Christophe Sirot <[email protected]>
Signed-off-by: Jean-Christophe Sirot <[email protected]>
- add initial build worflow in internal/mage/sdk/java.go - add test & lint actions in github action worflow Signed-off-by: Jean-Christophe Sirot <[email protected]>
c1b6bdf
to
1a32215
Compare
@wingyplus I tried to rebase on main but the process encounters a lot of conflicts. I think this is because a lot of files were moved from the root of the repo to @gerhard I also tried to squash the commits in the PR but I also have the same issues with a lot of conflicts, for instance on |
@jcsirot If the branch you're rebasing has just moved wholesale into the sub dir - you could possibly rewrite your local checkout with filter-branch with the It almost feels similar to what I did when migrating our old subversion repos which I wrote about ages ago on https://www.theoryinpractice.net/post/1350252794/repository-migration-from-subversion-to-git using that and a bit of |
I remember that I face a similar issue during move Elixir SDK into Dagger. But at that time, I manually resolved it one-by-one. 😂 |
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
I am picking this one up now @jcsirot. The merge with I am going over the remaining action items now. |
I submitted a JIRA ticket for https://central.sonatype.org/publish/, waiting for https://issues.sonatype.org/browse/OSSRH-94866 to be resolved. |
Also finished reviewing
|
The last thing to check are the GHA workflows. As I do that, do you want to review the PR @jcsirot? |
Signed-off-by: Gerhard Lazu <[email protected]>
3a556fc
to
bb00ee2
Compare
Leverage the re-usable _hack_make workflow. Signed-off-by: Gerhard Lazu <[email protected]>
All checks are now green, including: https://github.com/dagger/dagger/actions/runs/6125459830?pr=5504 There are 2 actions items for you @jcsirot before this can be merged:
This one has been a long time coming, it will be so amazing to merge this as soon as the above are done @jcsirot 💪 |
https://issues.sonatype.org/browse/OSSRH-94866 has now been solved too. How do we move ahead with publishing @jcsirot? |
Anything else that I can do @jcsirot to help move this one along? |
@gerhard I'm planning to review everything tonight or tomorrow |
Looking forward to it! |
@gerhard everything LGTM Should I squash all commits or leave the history as is? |
Hey @jcsirot! First step for you is to make the change that I mentioned in my previous comment. Second step is to approve the PR via: As you can see above, I cannot approve my own PR. |
Engine & CLI use the same Apache 2.0 license. Signed-off-by: Jean-Christophe Sirot <[email protected]>
ab8e5ab
to
d428853
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you @jcsirot! Will get this merged as soon as |
This imports https://github.com/jcsirot/dagger-java-sdk under
sdk/java
as an experimental SDK.@gerhard action items (part of this PR)
dagger
repositoryCODEOWNERS
(@dagger/sdk-dotnet
group)internal/mage/sdk/java.go
@jcsirot action items (part of this PR)
org.chelonix.dagger.*
toio.dagger.*
sdk/java/.github
to.github/
internal/mage/sdk
, e.g. https://github.com/dagger/dagger/blob/e454aa6b8ff40bf1502927fcdf1badb6cb4998a7/internal/mage/sdk/elixir.goFollow-ups (outside / after this PR)
README.md
, e.g. https://github.com/nabsul/DaggerSDK/blob/main/README.mdDid I miss anything @jcsirot?
Fixes DEV-2320 cc @shykes @helderco @mircubed @d3rp3tt3