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

2313 universe #2316

Merged
merged 10 commits into from
Aug 13, 2023
Merged

2313 universe #2316

merged 10 commits into from
Aug 13, 2023

Conversation

levBagryansky
Copy link
Member

@levBagryansky levBagryansky commented Jul 25, 2023

Closes: #2313


PR-Codex overview

This PR focuses on introducing a new class called Universe in the eo-runtime module. It also includes changes to the Native and EOrust classes in the eo-maven-plugin module.

Detailed summary

  • Added a new class Universe in the org.eolang package.
  • Updated imports in NativeTest.java and Native.java to use org.eolang.Universe instead of EOorg.EOeolang.EOrust.
  • Updated the EOrust class to use Universe instead of EOrust as a parameter in the constructor and method.
  • Added new methods find, put, bind, copy, and dataize in the Universe class.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@levBagryansky
Copy link
Member Author

@Graur please take a look

Copy link
Contributor

@Graur Graur left a comment

Choose a reason for hiding this comment

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

@levBagryansky Just to be sure: You take some part from EOrust class and put it to new Universe.class?

@levBagryansky
Copy link
Member Author

Yes, this functionality must be in other class.

Copy link
Contributor

@Graur Graur left a comment

Choose a reason for hiding this comment

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

@levBagryansky Good one, just a few suggestions below:

* method relates to building a new eo object in rust insert.
* @checkstyle NonStaticMethodCheck (4 lines)
*/
public void put(final int vertex, final byte[] bytes) {
Copy link
Contributor

Choose a reason for hiding this comment

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

@levBagryansky You need to add something here to avoid style checkers failings

@levBagryansky levBagryansky requested a review from Graur July 26, 2023 09:55
Copy link
Contributor

@Graur Graur left a comment

Choose a reason for hiding this comment

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

@levBagryansky Good one
@yegor256 Please have a look

@levBagryansky
Copy link
Member Author

@yegor256 please check

@levBagryansky
Copy link
Member Author

@yegor256 please check

@yegor256
Copy link
Member

@rultor merge

@rultor
Copy link
Contributor

rultor commented Aug 13, 2023

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit 1493413 into objectionary:master Aug 13, 2023
11 checks passed
@rultor
Copy link
Contributor

rultor commented Aug 13, 2023

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 12min)

@levBagryansky levBagryansky deleted the 2313_Universe branch August 13, 2023 12:40
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.

EOrust.java:61-64: Create Universe class. Now its...
5 participants