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

tools: automate v8 patch update #47594

Merged
merged 7 commits into from
Apr 26, 2023

Conversation

marco-ippolito
Copy link
Member

@marco-ippolito marco-ippolito commented Apr 17, 2023

Refs: nodejs/security-wg#828
please review carefully, first time approaching v8
if you know a way of creating a patch without cloning v8 (which is very expensive) that would be great
@nodejs/security-wg

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/actions

@nodejs-github-bot nodejs-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 Apr 17, 2023
@targos
Copy link
Member

targos commented Apr 17, 2023

Did you consider using the git node command? For the V8 clone, in the canary repo we use the GitHub actions cache

@marco-ippolito
Copy link
Member Author

marco-ippolito commented Apr 19, 2023

@targos I basically copied what git node v8 minor was doing, I tried with the command but I had some issue with folder structure. I guess we can cache the v8 clone, should we create a new action specificly for this?

@marco-ippolito
Copy link
Member Author

I have created a separate action to update v8, caching the git node v8 folder. @targos

.github/workflows/update-v8.yml Outdated Show resolved Hide resolved
.github/workflows/update-v8.yml Outdated Show resolved Hide resolved
.github/workflows/update-v8.yml Outdated Show resolved Hide resolved
.github/workflows/update-v8.yml Outdated Show resolved Hide resolved
tools/dep_updaters/update-v8-minor.sh Outdated Show resolved Hide resolved
.github/workflows/tools.yml Outdated Show resolved Hide resolved
tools/dep_updaters/update-v8-patch.sh Show resolved Hide resolved
Co-authored-by: Michaël Zasso <[email protected]>
@marco-ippolito
Copy link
Member Author

sorry for changing my mind a few times but due to the amount of dependencies I've decided to move it back to update-v8.yml

.github/workflows/update-v8.yml Outdated Show resolved Hide resolved
.github/workflows/update-v8.yml Outdated Show resolved Hide resolved
.github/workflows/update-v8.yml Outdated Show resolved Hide resolved
.github/workflows/update-v8.yml Outdated Show resolved Hide resolved
@marco-ippolito marco-ippolito added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. 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 Add this label to land a pull request using GitHub Actions. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. labels Apr 26, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 26, 2023
@nodejs-github-bot nodejs-github-bot merged commit 71a776b into nodejs:main Apr 26, 2023
@nodejs-github-bot
Copy link
Collaborator

Landed in 71a776b

@targos
Copy link
Member

targos commented Apr 26, 2023

yjl9903 pushed a commit to yjl9903/node that referenced this pull request Apr 28, 2023
PR-URL: nodejs#47594
Refs: nodejs/security-wg#828
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
yjl9903 pushed a commit to yjl9903/node that referenced this pull request Apr 28, 2023
PR-URL: nodejs#47594
Refs: nodejs/security-wg#828
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
yjl9903 pushed a commit to yjl9903/node that referenced this pull request Apr 29, 2023
PR-URL: nodejs#47594
Refs: nodejs/security-wg#828
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
targos pushed a commit that referenced this pull request May 2, 2023
PR-URL: #47594
Refs: nodejs/security-wg#828
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
@targos targos mentioned this pull request May 2, 2023
danielleadams pushed a commit that referenced this pull request Jul 6, 2023
PR-URL: #47594
Refs: nodejs/security-wg#828
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
MoLow pushed a commit to MoLow/node that referenced this pull request Jul 6, 2023
PR-URL: nodejs#47594
Refs: nodejs/security-wg#828
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. meta Issues and PRs related to the general management of the project. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants