Skip to content

Conversation

@tony-go
Copy link
Member

@tony-gotony-go commented Feb 3, 2023

Ref: #46157 (comment)


This PR aims to port logic from GitHub action into proper scripts.

Signed-off-by: Tony Gorez [email protected]


How to test

  • checkout the branch tony-go:refactor-tools-depsupdater
  • run one of them:
    • ./tools/dep_updaters/update-libuv.sh 1.44.2
    • ./tools/dep_updaters/update-simdutf.sh 3.1.0
    • ./tools/dep_updaters/update-postject.sh
    • ./tools/dep_updaters/update-eslint.sh
  • they should output something like
    Skipped because <deps> is on the latest version.

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/actions

@nodejs-github-botnodejs-github-bot added meta Issues and PRs related to the general management of the project. tools Issues and PRs related to the tools directory. labels Feb 3, 2023
subsystem: deps
label: dependencies
run: |
NEW_VERSION=$(gh api repos/libuv/libuv/releases/latest -q '.tag_name|ltrimstr("v")')
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I was unsure how to port this line into the update script. I'll take a deeper look.

If someone has an idea, feel free to share ^

Copy link
Contributor

Choose a reason for hiding this comment

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

I missed that earlier, but FYI you could do something along the lines of

NEW_VERSION="$("$NODE" --input-type=module<<'EOF'constres=awaitfetch('https://api.github.com/repos/libuv/libuv/releases/latest');if(!res.ok)thrownewError(`FetchError: ${res.status}${res.statusText}`,{cause: res});const{ tag_name }=awaitres.json();console.log(tag_name.replace('v',''));EOF)"

Copy link
Contributor

Choose a reason for hiding this comment

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

Do you want to try to fit that in? Or we can land this as is, and take this to a follow up PR, you've been dragging this one for long enough :)

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I definitely prefer to try it ^^ It will abstract the logic a bit more into the script which is the first motivation of this PR.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

done 🎉 @aduh95 let me know WDYT ^^

We have something homogenous now. GH scripts and updater scripts share same responsabilites.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Linter is not happy btw. I didn't see any parse error on my machine. I'll take a deeper look.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

WDYT about this?

Screenshot 2023-02-24 at 12 38 04

Copy link
Contributor

@aduh95aduh95Feb 24, 2023

Choose a reason for hiding this comment

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

Please consider copy/pasting the text rather than taking screenshots, as your color settings may be hard to decipher for the rest of us (e.g. folks with visual disabilities), and is also more data to download, which is never nice for those on limited data plans 🙂

I don’t think this is ideal, wouldn’t adding a line return before closing the parentheses work, as the linter suggests? Meaning replacing EOF) with EOF\n). FYI you can run the linter locally using tools/lint-sh.mjs path/to/script.sh.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Sorry, I didn't explain, but the screenshots were to show the syntax highlight that was totally broken with the previous version.

I finally add the put the EOF in the line below and it worked!

@tony-gotony-go changed the title tools: Refactor tools/deps_updatertools: refactor tools/deps_updaterFeb 3, 2023
@tony-gotony-go marked this pull request as ready for review February 3, 2023 19:21
Comment on lines 19 to 22
CURRENT_SUFFIX_VERSION=$(grep "#define UV_VERSION_SUFFIX""$VERSION_H"| sed -n "s/^.*SUFFIX \"\(.*\)\"/\1/p")
SUFFIX_STRING=$([ -z"$CURRENT_SUFFIX_VERSION" ] &&echo""||echo"-$CURRENT_SUFFIX_VERSION")
CURRENT_VERSION="$CURRENT_MAJOR_VERSION.$CURRENT_MINOR_VERSION.$CURRENT_PATCH_VERSION$SUFFIX_STRING"
Copy link
Member

Choose a reason for hiding this comment

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

I realize it's existing code that's been moved around but it might be simpler to ignore UV_VERSION_SUFFIX and instead check that UV_VERSION_IS_RELEASE is 1. The former is always an empty string when the latter is 1.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Hey @bnoordhuis 👋🏼

Could you please let me know if it looks okay on your side?

@tony-gotony-goforce-pushed the refactor-tools-depsupdater branch 4 times, most recently from 8fbc9af to 040671bCompareFebruary 5, 2023 18:13
@tony-go
Copy link
MemberAuthor

Note to me: refactor ada script too.

@tony-gotony-go requested review from aduh95 and removed request for bnoordhuisFebruary 22, 2023 15:38
@tony-gotony-go requested a review from aduh95February 23, 2023 10:32
@tony-gotony-go requested a review from aduh95February 23, 2023 12:32
@tony-gotony-goforce-pushed the refactor-tools-depsupdater branch from e14bb28 to f3ef6b1CompareFebruary 23, 2023 17:12
Copy link
Contributor

@aduh95aduh95 left a comment

Choose a reason for hiding this comment

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

Should we make the same change for ada? The other tools in the list would benefit from a refactor as well, and should be moved to deps_updater with the other, but it makes sense to keep that to another time.

@tony-gotony-go requested review from aduh95 and removed request for RaisinTenMarch 2, 2023 08:05
@aduh95aduh95 added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 2, 2023
@aduh95aduh95 added commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Mar 2, 2023
@nodejs-github-botnodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Mar 2, 2023
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/46488 ✔ Done loading data for nodejs/node/pull/46488 ----------------------------------- PR info ------------------------------------ Title tools: refactor `tools/deps_updater` (#46488) Author Tony Gorez (@tony-go) Branch tony-go:refactor-tools-depsupdater -> nodejs:main Labels meta, tools, author ready Commits 19 - tools: refactor dep_updaters - tools: use $NPM and $NODE - tools: make postject and eslint uniform - fix: lib message - tools: use quotes for handling spaces in $VERSION_H - tools: use $NODE and $NPM in postject script - fix: delete useless statement - fix: make libuv script posix compliant - tools: use UV_IS_RELEASE - fix: add NEW_VERSION into GITHUB_ENV - fix: put $GITHUB_ENV logic out off the script - fix: use proper script fro postject - fix: refactor - fix: simplify pre-scripts - fix: check console output for libuv and simtduf scripts - fix: simplify script - tools: abstract new version fetch into scripts - fix: scripts syntax - fix: add fallback to avoir job failure Committers 1 - Tony Gorez PR-URL: https://github.com/nodejs/node/pull/46488 Reviewed-By: Antoine du Hamel Reviewed-By: Darshan Sen ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/46488 Reviewed-By: Antoine du Hamel Reviewed-By: Darshan Sen -------------------------------------------------------------------------------- ℹ This PR was created on Fri, 03 Feb 2023 15:23:28 GMT ✔ Approvals: 2 ✔ - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/46488#pullrequestreview-1321370764 ✔ - Darshan Sen (@RaisinTen) (TSC): https://github.com/nodejs/node/pull/46488#pullrequestreview-1321391778 ⚠ GitHub cannot link the author of 'tools: refactor dep_updaters' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ⚠ GitHub cannot link the author of 'tools: use $NPM and $NODE' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ⚠ GitHub cannot link the author of 'tools: make postject and eslint uniform' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ⚠ GitHub cannot link the author of 'fix: lib message' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ⚠ GitHub cannot link the author of 'tools: use quotes for handling spaces in $VERSION_H' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ⚠ GitHub cannot link the author of 'tools: use $NODE and $NPM in postject script' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ⚠ GitHub cannot link the author of 'fix: delete useless statement' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ⚠ GitHub cannot link the author of 'fix: make libuv script posix compliant' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ⚠ GitHub cannot link the author of 'fix: add NEW_VERSION into GITHUB_ENV' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ⚠ GitHub cannot link the author of 'fix: put $GITHUB_ENV logic out off the script' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ⚠ GitHub cannot link the author of 'fix: use proper script fro postject' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ⚠ GitHub cannot link the author of 'fix: simplify pre-scripts' to their GitHub account. ⚠ Please suggest them to take a look at https://github.com/nodejs/node/blob/99b1ada/doc/guides/contributing/pull-requests.md#step-1-fork ✔ Last GitHub CI successful ℹ Green GitHub CI is sufficient -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ✔ origin/main is now up-to-date - Downloading patch for 46488 From https://github.com/nodejs/node * branch refs/pull/46488/merge -> FETCH_HEAD ✔ Fetched commits as 024e648d905d..489e7d3cf4e1 -------------------------------------------------------------------------------- Auto-merging .github/workflows/tools.yml [main 21f392cfa0] tools: refactor dep_updaters Author: Tony Gorez Date: Fri Feb 3 16:07:07 2023 +0100 5 files changed, 53 insertions(+), 39 deletions(-) [main f7cb667646] tools: use $NPM and $NODE Author: Tony Gorez Date: Fri Feb 3 17:12:20 2023 +0100 1 file changed, 9 insertions(+), 7 deletions(-) [main 29e9649342] tools: make postject and eslint uniform Author: Tony Gorez Date: Fri Feb 3 17:15:31 2023 +0100 2 files changed, 6 insertions(+), 7 deletions(-) [main 41c49b660e] fix: lib message Author: Tony Gorez Date: Fri Feb 3 20:09:50 2023 +0100 1 file changed, 1 insertion(+), 1 deletion(-) [main f8a4bafe38] tools: use quotes for handling spaces in $VERSION_H Author: Tony Gorez Date: Fri Feb 3 20:13:00 2023 +0100 1 file changed, 4 insertions(+), 4 deletions(-) [main 24240ffecf] tools: use $NODE and $NPM in postject script Author: Tony Gorez Date: Fri Feb 3 20:15:40 2023 +0100 1 file changed, 2 insertions(+), 2 deletions(-) [main 03efe1d861] fix: delete useless statement Author: Tony Gorez Date: Fri Feb 3 20:27:18 2023 +0100 1 file changed, 1 deletion(-) [main 49b2df363a] fix: make libuv script posix compliant Author: Tony Gorez Date: Fri Feb 3 20:29:59 2023 +0100 1 file changed, 1 insertion(+), 1 deletion(-) [main fc5a46207e] tools: use UV_IS_RELEASE Author: Tony Gorez Date: Sun Feb 5 17:15:31 2023 +0100 1 file changed, 2 insertions(+), 1 deletion(-) [main 2a9be4ae20] fix: add NEW_VERSION into GITHUB_ENV Author: Tony Gorez Date: Wed Feb 8 17:40:36 2023 +0100 4 files changed, 8 insertions(+) Auto-merging .github/workflows/tools.yml [main c40cce9506] fix: put $GITHUB_ENV logic out off the script Author: Tony Gorez Date: Wed Feb 8 18:10:34 2023 +0100 5 files changed, 21 insertions(+), 13 deletions(-) Auto-merging .github/workflows/tools.yml [main 75fc67692c] fix: use proper script fro postject Author: Tony Gorez Date: Thu Feb 9 10:31:55 2023 +0100 1 file changed, 1 insertion(+), 1 deletion(-) Auto-merging .github/workflows/tools.yml [main 41ef44d78e] fix: refactor Author: Tony Gorez Date: Sat Feb 18 15:19:22 2023 +0100 3 files changed, 16 insertions(+), 12 deletions(-) Auto-merging .github/workflows/tools.yml [main e7b77266e0] fix: simplify pre-scripts Author: Tony Gorez Date: Mon Feb 20 17:09:32 2023 +0100 1 file changed, 2 insertions(+), 4 deletions(-) Auto-merging .github/workflows/tools.yml [main ad4ee98c52] fix: check console output for libuv and simtduf scripts Author: Tony Gorez Date: Thu Feb 23 11:30:18 2023 +0100 1 file changed, 8 insertions(+), 4 deletions(-) Auto-merging .github/workflows/tools.yml [main 638f4cc200] fix: simplify script Author: Tony Gorez Date: Thu Feb 23 12:15:58 2023 +0100 1 file changed, 2 insertions(+), 2 deletions(-) Auto-merging .github/workflows/tools.yml [main 302acbd92e] tools: abstract new version fetch into scripts Author: Tony Gorez Date: Fri Feb 24 12:21:00 2023 +0100 3 files changed, 30 insertions(+), 24 deletions(-) [main b1a88a8432] fix: scripts syntax Author: Tony Gorez Date: Fri Feb 24 14:12:32 2023 +0100 2 files changed, 6 insertions(+), 4 deletions(-) Auto-merging .github/workflows/tools.yml [main 4abd332311] fix: add fallback to avoir job failure Author: Tony Gorez Date: Thu Mar 2 08:57:29 2023 +0100 1 file changed, 4 insertions(+), 4 deletions(-) ✔ Patches applied There are 19 commits in the PR. Attempting autorebase. Rebasing (2/38) 

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
tools: refactor dep_updaters

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD db4440923e] tools: refactor dep_updaters
Author: Tony Gorez [email protected]
Date: Fri Feb 3 16:07:07 2023 +0100
5 files changed, 53 insertions(+), 39 deletions(-)
Rebasing (3/38)
Rebasing (4/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
tools: use $NPM and $NODE

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD 2dfc123604] tools: use $NPM and $NODE
Author: Tony Gorez [email protected]
Date: Fri Feb 3 17:12:20 2023 +0100
1 file changed, 9 insertions(+), 7 deletions(-)
Rebasing (5/38)
Rebasing (6/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
tools: make postject and eslint uniform

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD d15100b1d8] tools: make postject and eslint uniform
Author: Tony Gorez [email protected]
Date: Fri Feb 3 17:15:31 2023 +0100
2 files changed, 6 insertions(+), 7 deletions(-)
Rebasing (7/38)
Rebasing (8/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
fix: lib message

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD a3974c7d61] fix: lib message
Author: Tony Gorez [email protected]
Date: Fri Feb 3 20:09:50 2023 +0100
1 file changed, 1 insertion(+), 1 deletion(-)
Rebasing (9/38)
Rebasing (10/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
tools: use quotes for handling spaces in $VERSION_H

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD e8269014ba] tools: use quotes for handling spaces in $VERSION_H
Author: Tony Gorez [email protected]
Date: Fri Feb 3 20:13:00 2023 +0100
1 file changed, 4 insertions(+), 4 deletions(-)
Rebasing (11/38)
Rebasing (12/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
tools: use $NODE and $NPM in postject script

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD ed601ae37a] tools: use $NODE and $NPM in postject script
Author: Tony Gorez [email protected]
Date: Fri Feb 3 20:15:40 2023 +0100
1 file changed, 2 insertions(+), 2 deletions(-)
Rebasing (13/38)
Rebasing (14/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
fix: delete useless statement

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD 4022a00bb4] fix: delete useless statement
Author: Tony Gorez [email protected]
Date: Fri Feb 3 20:27:18 2023 +0100
1 file changed, 1 deletion(-)
Rebasing (15/38)
Rebasing (16/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
fix: make libuv script posix compliant

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD afe781d49f] fix: make libuv script posix compliant
Author: Tony Gorez [email protected]
Date: Fri Feb 3 20:29:59 2023 +0100
1 file changed, 1 insertion(+), 1 deletion(-)
Rebasing (17/38)
Rebasing (18/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
tools: use UV_IS_RELEASE

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD 523041fc2e] tools: use UV_IS_RELEASE
Author: Tony Gorez [email protected]
Date: Sun Feb 5 17:15:31 2023 +0100
1 file changed, 2 insertions(+), 1 deletion(-)
Rebasing (19/38)
Rebasing (20/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
fix: add NEW_VERSION into GITHUB_ENV

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD 8587b112cf] fix: add NEW_VERSION into GITHUB_ENV
Author: Tony Gorez [email protected]
Date: Wed Feb 8 17:40:36 2023 +0100
4 files changed, 8 insertions(+)
Rebasing (21/38)
Rebasing (22/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
fix: put $GITHUB_ENV logic out off the script

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD a36411950b] fix: put $GITHUB_ENV logic out off the script
Author: Tony Gorez [email protected]
Date: Wed Feb 8 18:10:34 2023 +0100
5 files changed, 21 insertions(+), 13 deletions(-)
Rebasing (23/38)
Rebasing (24/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
fix: use proper script fro postject

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD 7b35c185c3] fix: use proper script fro postject
Author: Tony Gorez [email protected]
Date: Thu Feb 9 10:31:55 2023 +0100
1 file changed, 1 insertion(+), 1 deletion(-)
Rebasing (25/38)
Rebasing (26/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
fix: refactor

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD 098c7e85f6] fix: refactor
Author: Tony Gorez [email protected]
Date: Sat Feb 18 15:19:22 2023 +0100
3 files changed, 16 insertions(+), 12 deletions(-)
Rebasing (27/38)
Rebasing (28/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
fix: simplify pre-scripts

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD 54220edfd8] fix: simplify pre-scripts
Author: Tony Gorez [email protected]
Date: Mon Feb 20 17:09:32 2023 +0100
1 file changed, 2 insertions(+), 4 deletions(-)
Rebasing (29/38)
Rebasing (30/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
fix: check console output for libuv and simtduf scripts

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD 174a406005] fix: check console output for libuv and simtduf scripts
Author: Tony Gorez [email protected]
Date: Thu Feb 23 11:30:18 2023 +0100
1 file changed, 8 insertions(+), 4 deletions(-)
Rebasing (31/38)
Rebasing (32/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
fix: simplify script

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD 18fec9ea24] fix: simplify script
Author: Tony Gorez [email protected]
Date: Thu Feb 23 12:15:58 2023 +0100
1 file changed, 2 insertions(+), 2 deletions(-)
Rebasing (33/38)
Rebasing (34/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
tools: abstract new version fetch into scripts

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD ec482871b1] tools: abstract new version fetch into scripts
Author: Tony Gorez [email protected]
Date: Fri Feb 24 12:21:00 2023 +0100
3 files changed, 30 insertions(+), 24 deletions(-)
Rebasing (35/38)
Rebasing (36/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
fix: scripts syntax

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD 9d302b0914] fix: scripts syntax
Author: Tony Gorez [email protected]
Date: Fri Feb 24 14:12:32 2023 +0100
2 files changed, 6 insertions(+), 4 deletions(-)
Rebasing (37/38)
Rebasing (38/38)

Executing: git node land --amend --yes
--------------------------------- New Message ----------------------------------
fix: add fallback to avoir job failure

PR-URL: #46488
Reviewed-By: Antoine du Hamel [email protected]
Reviewed-By: Darshan Sen [email protected]

[detached HEAD ef9c03337e] fix: add fallback to avoir job failure
Author: Tony Gorez [email protected]
Date: Thu Mar 2 08:57:29 2023 +0100
1 file changed, 4 insertions(+), 4 deletions(-)

Successfully rebased and updated refs/heads/main.

ℹ Add commit-queue-squash label to land the PR as one commit, or commit-queue-rebase to land as separate commits.

https://github.com/nodejs/node/actions/runs/4313711979

@aduh95aduh95 added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Mar 2, 2023
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 2, 2023
@nodejs-github-botnodejs-github-bot merged commit ac6ceff into nodejs:mainMar 2, 2023
@nodejs-github-bot
Copy link
Collaborator

Landed in ac6ceff

@aduh95
Copy link
Contributor

Thanks for your work here. If you (or someone else) want to continue the work here to migrate the other updater scripts, that'd be awesome.

@tony-go
Copy link
MemberAuthor

tony-go commented Mar 2, 2023

Thanks for your work here. If you (or someone else) want to continue the work here to migrate the other updater scripts, that'd be awesome.

Yeah I'll take care of that ^^

Thanks you for you amazing support and guidance during this journey ^^

@aduh95aduh95 mentioned this pull request Mar 7, 2023
targos pushed a commit that referenced this pull request Mar 13, 2023
PR-URL: #46488 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
targos pushed a commit that referenced this pull request Mar 14, 2023
PR-URL: #46488 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
@targostargos mentioned this pull request Mar 14, 2023
danielleadams pushed a commit that referenced this pull request Apr 11, 2023
PR-URL: #46488 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.commit-queue-squashAdd this label to instruct the Commit Queue to squash all the PR commits into the first one.metaIssues and PRs related to the general management of the project.toolsIssues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@tony-go@nodejs-github-bot@aduh95@bnoordhuis@RaisinTen