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

Generate JS files with Maven build #22645

Merged
merged 1 commit into from
May 2, 2024

Conversation

yhwang
Copy link
Member

@yhwang yhwang commented Apr 30, 2024

Description

Compile the JS files with the Maven build and no
need to check in and verify the JS files in a PR.
Also, update the documents accordingly and remove
all the compiled JS files.

related: #21062 item 6

Motivation and Context

Checking in the compiled JS files causes confusion and no way to review the change. Integrating yarn into
the Maven build solves the issue.

Impact

No need to check in the compiled JS files in a PR that changes any of the Presto Console code.

Test Plan

The GH action shall pass without any issues. I also manually built the code and verified the Presto Console worked properly.

Contributor checklist

  • Please make sure your submission complies with our development, formatting, commit message, and attribution guidelines.
  • PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced.
  • Documented new properties (with its default value), SQL syntax, functions, or other functionality.
  • If release notes are required, they follow the release notes guidelines.
  • Adequate tests were added if applicable.
  • CI passed.

Release Notes

Please follow release notes guidelines and fill in the release notes below.

== NO RELEASE NOTE ==

@yhwang yhwang requested review from steveburnett and a team as code owners April 30, 2024 23:53
@yhwang yhwang requested a review from presto-oss April 30, 2024 23:53
Copy link

github-actions bot commented Apr 30, 2024

Codenotify: Notifying subscribers in CODENOTIFY files for diff 0edb84c...1d43c61.

Notify File(s)
@steveburnett presto-docs/src/main/sphinx/develop/presto-console.rst

@yhwang
Copy link
Member Author

yhwang commented Apr 30, 2024

cc @elharo those compiled JS files are removed!

@yhwang yhwang mentioned this pull request Apr 30, 2024
16 tasks
@yhwang yhwang force-pushed the integrate-yarn-into-build branch from 7d9c892 to 0890673 Compare May 1, 2024 00:05
@yhwang
Copy link
Member Author

yhwang commented May 1, 2024

Just updated the node version to the latest LTS of v18.

elharo
elharo previously approved these changes May 1, 2024
Copy link
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

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

Nice!

@tdcmeehan tdcmeehan self-assigned this May 1, 2024
Copy link
Contributor

@steveburnett steveburnett left a comment

Choose a reason for hiding this comment

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

Thanks for the update of CONTRIBUTING.md! A few nits and very minor phrasing suggestions.

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
Compile the JS files with the Maven build and no
need to check-in and verify the JS files in a PR.
Also update the documents accordingly.

Signed-off-by: Yihong Wang <yh.wang@ibm.com>
@yhwang
Copy link
Member Author

yhwang commented May 1, 2024

@steveburnett again thanks for the comments and please review my updates that address your comments.

@yhwang yhwang requested a review from steveburnett May 1, 2024 16:33
Copy link
Contributor

@tdcmeehan tdcmeehan left a comment

Choose a reason for hiding this comment

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

Really nice work! This is an awesome code cleanup. Thank you @yhwang!

Copy link
Contributor

@steveburnett steveburnett left a comment

Choose a reason for hiding this comment

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

LGTM! (docs)

Pull updated branch, new build of docs. Everything looks good. Thanks!

@tdcmeehan tdcmeehan merged commit 9bf3e3a into prestodb:master May 2, 2024
57 checks passed
@yhwang yhwang deleted the integrate-yarn-into-build branch May 2, 2024 15:59
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.

4 participants