-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
tools: refactor tools/license2rtf
to ESM
#43232
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
894af9c
to
7eff826
Compare
tools/license2rtf
to ESM
I leave the revert-revert commit untouched intentionally to make code review easier. so the commit message ci check will fail. once this pr has enough approval, I will squash those two commits to one commit. |
3841caa
to
9d9b1f8
Compare
RaisinTen
approved these changes
May 29, 2022
9d9b1f8
to
1376a8b
Compare
RaisinTen
approved these changes
May 29, 2022
targos
reviewed
May 29, 2022
This was referenced May 30, 2022
20e5956
to
cb0ee5d
Compare
This was referenced Jun 2, 2022
7749cc7
to
34b905d
Compare
Please help to trigger another ci run. The last ci failure is caused by flaky test-stream-finished, this test has already been fixed in main branch. |
Commit Queue failed- Loading data for nodejs/node/pull/43232 ✔ Done loading data for nodejs/node/pull/43232 ----------------------------------- PR info ------------------------------------ Title tools: refactor `tools/license2rtf` to ESM (#43232) Author Feng Yu (@F3n67u) Branch F3n67u:revert-revert-esm-license2rtf -> nodejs:main Labels windows, build, tools, author ready, needs-ci Commits 1 - tools: refactor `tools/license2rtf` to ESM Committers 1 - Feng Yu PR-URL: https://github.com/nodejs/node/pull/43232 Refs: https://github.com/nodejs/node/issues/43213 Reviewed-By: Darshan Sen Reviewed-By: LiviaMedeiros ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/43232 Refs: https://github.com/nodejs/node/issues/43213 Reviewed-By: Darshan Sen Reviewed-By: LiviaMedeiros -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - tools: refactor `tools/license2rtf` to ESM ℹ This PR was created on Sun, 29 May 2022 04:51:00 GMT ✔ Approvals: 2 ✔ - Darshan Sen (@RaisinTen) (TSC): https://github.com/nodejs/node/pull/43232#pullrequestreview-988629243 ✔ - LiviaMedeiros (@LiviaMedeiros): https://github.com/nodejs/node/pull/43232#pullrequestreview-995051304 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2022-07-03T11:28:31Z: https://ci.nodejs.org/job/node-test-pull-request/45068/ - Querying data for job/node-test-pull-request/45068/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/2605126551 |
23 tasks
Please help to land this pr, thanks in advance |
targos
approved these changes
Jul 5, 2022
Landed in a420995 |
16 tasks
guangwong
pushed a commit
to noslate-project/node
that referenced
this pull request
Oct 10, 2022
This reverts commit 331088f. PR-URL: nodejs/node#43232 Refs: nodejs/node#43213 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Michaël Zasso <targos@protonmail.com>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
author ready
PRs that have at least one approval, no pending requests for changes, and a CI started.
build
Issues and PRs related to build files or the CI.
needs-ci
PRs that need a full CI run.
tools
Issues and PRs related to the tools directory.
windows
Issues and PRs related to the Windows platform.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pr reimplement #43101: refactor license2rtf.js to ESM.
The last pr(43101) is reverted by #43214 because it causes windows ci failure.
Refs: #43213
Windows
Before the fix
The exit code of
.\Release\node.exe tools\license2rtf.mjs < LICENSE > license.rtf
command is 13 which cause windows ci failure:Failed to generate license.rtf
(#43213).The
errorlevel
variable check of windows build is at:node/vcbuild.bat
Line 428 in ca0044b
After fix
The exit code of .\Release\node.exe tools\license2rtf.mjs < LICENSE > license.rtf command is 0.
MacOS
Before the fix
The exit code of
./node tools/license2rtf.mjs < LICENSE > license.rtf
command is 13.After fix
The exit code of
./node tools/license2rtf.mjs < LICENSE > license.rtf
command is 0.