8000 docs: update node upgrade doc by codebytere · Pull Request #13891 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docs: update node upgrade doc #13891

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

Merged
merged 3 commits into from
Aug 2, 2018
Merged

docs: update node upgrade doc #13891

merged 3 commits into from
Aug 2, 2018

Conversation

codebytere
Copy link
Member

Update the upgrading-node.md doc for latest paths and script commands.

/cc @alexeykuzmin

Checklist
  • PR description included and stakeholders cc'd
  • relevant documentation is changed or added
  • PR title follows semantic commit guidelines

@codebytere codebytere requested a review from a team July 31, 2018 18:56
6. Read `patches/common/v8/README.md` to see which patchfiles came from the previous version of V8 and therefore need to be removed.
- Delete each patchfile referenced in `patches/common/v8/README.md`
7. Apply all patches with the `get-patch` script:
- `./script/get-patch --repo src/v8 --output_-dir patches/v8 --commit abc123 def456 ... --filename backport_abc123.patch cherry-pick_def456.patch`
Copy link
Contributor

Choose a reason for hiding this comment

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

--output_-dir ? )

6. Read `patches/common/v8/README.md` to see which patchfiles came from the previous version of V8 and therefore need to be removed.
- Delete each patchfile referenced in `patches/common/v8/README.md`
7. Apply all patches with the `get-patch` script:
- `./script/get-patch --repo src/v8 --output_-dir patches/v8 --commit abc123 def456 ... --filename backport_abc123.patch cherry-pick_def456.patch`
Copy link
Contributor

Choose a reason for hiding this comment

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

< 10000 task-lists disabled sortable>

--filename backport_abc123.patch cherry-pick_def456.patch

Can we "recommend" to use default patchfile names here? Simply by omitting the --filename arg.

@@ -115,7 +87,7 @@ We need to generate a patch file from each patch applied to V8.
electron/vendor/libchromiumcontent$ git checkout upgrade-to-chromium-X
electron/vendor/libchromiumcontent$ cd ../..
electron$ git add vendor
electron$ git commit -m "update submodule referefences for node and libc"
electron$ git commit -m "update submodule references for node and libc"
Copy link
Contributor

Choose a reason for hiding this comment

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

and libc"

Probably should read "libcc".

@@ -115,7 +87,7 @@ We need to generate a patch file from each patch applied to V8.
electron/vendor/libchromiumcontent$ git checkout upgrade-to-chromium-X
electron/vendor/libchromiumcontent$ cd ../..
electron$ git add vendor
electron$ git commit -m "update submodule referefences for node and libc"
electron$ git commit -m "update submodule references for node and libc"
electron$ git pso upgrade-to-chromium-62
Copy link
Contributor

Choose a reason for hiding this comment

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

What's git pso?

- `git rm` the patchfiles
- edit `patches/v8/README.md`
- edit `patches/common/v8/README.md`
- commit these removals
4. Inspect Node [repo](https://github.com/electron/node) to see what patches upstream Node
used with their v8 after bumping its version
- `git log --oneline deps/V8`
Copy link
Contributor

Choose a reason for hiding this comment

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

deps/V8

Should be "deps/v8".

8. Update `patches/v8/README.md` with references to all new patches that have been added so that the next person will know which need to be removed.
6. Read `patches/common/v8/README.md` to see which patchfiles came from the previous version of V8 and therefore need to be removed.
- Delete each patchfile referenced in `patches/common/v8/README.md`
7. Apply all patches with the `get-patch` script:
Copy link
Contributor

Choose a reason for hiding this comment

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

@codebytere codebytere merged commit 48ae9b7 into master Aug 2, 2018
@codebytere codebytere deleted the update-node-doc branch August 2, 2018 06:33
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.

3 participants
0