| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 74a1493 commit 7ea6b07
6 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -572,7 +572,7 @@ Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys): | |||
| 572 | 572 | ||
| 573 | 573 | To import the full set of trusted release keys: | |
| 574 | 574 | ||
| 575 | - ```shell | ||
| 575 | + ```bash | ||
| 576 | 576 | gpg --keyserver pool.sks-keyservers.net --recv-keys 4ED778F539E3634C779C87C6D7062848A1AB005C | |
| 577 | 577 | gpg --keyserver pool.sks-keyservers.net --recv-keys 94AE36675C464D64BAFA68DD7434390BDBE9B9C5 | |
| 578 | 578 | gpg --keyserver pool.sks-keyservers.net --recv-keys 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -119,13 +119,13 @@ through either: | |||
| 119 | 119 | ||
| 120 | 120 | * The [`NODE_ICU_DATA`][] environment variable: | |
| 121 | 121 | ||
| 122 | - ```shell | ||
| 122 | + ```bash | ||
| 123 | 123 | env NODE_ICU_DATA=/some/directory node | |
| 124 | 124 | ``` | |
| 125 | 125 | ||
| 126 | 126 | * The [`--icu-data-dir`][] CLI parameter: | |
| 127 | 127 | ||
| 128 | - ```shell | ||
| 128 | + ```bash | ||
| 129 | 129 | node --icu-data-dir=/some/directory | |
| 130 | 130 | ``` | |
| 131 | 131 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -35,7 +35,7 @@ replace that with the staging branch for the targeted release line. | |||
| 35 | 35 | 2. Make sure that the local staging branch is up to date with the remote. | |
| 36 | 36 | 3. Create a new branch off of the staging branch, as shown below. | |
| 37 | 37 | ||
| 38 | - ```shell | ||
| 38 | + ```bash | ||
| 39 | 39 | # Assuming your fork of Node.js is checked out in $NODE_DIR, | |
| 40 | 40 | # the origin remote points to your fork, and the upstream remote points | |
| 41 | 41 | # to git://github.com/nodejs/node | |
@@ -55,7 +55,7 @@ replace that with the staging branch for the targeted release line. | |||
| 55 | 55 | will likely fail due to conflicts. In that case, you will see something | |
| 56 | 56 | like this: | |
| 57 | 57 | ||
| 58 | - ```shell | ||
| 58 | + ```console | ||
| 59 | 59 | # Say the $SHA is 773cdc31ef | |
| 60 | 60 | $ git cherry-pick $SHA # Use your commit hash | |
| 61 | 61 | error: could not apply 773cdc3... <commit title> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -324,7 +324,7 @@ that Node.js may be floating (or else cause a merge conflict). | |||
| 324 | 324 | ||
| 325 | 325 | The rough outline of the process is: | |
| 326 | 326 | ||
| 327 | - ```shell | ||
| 327 | + ```bash | ||
| 328 | 328 | # Assuming your fork of Node.js is checked out in $NODE_DIR | |
| 329 | 329 | # and you want to update the Node.js master branch. | |
| 330 | 330 | # Find the current (OLD) version in | |
@@ -363,15 +363,15 @@ above. A better strategy is to | |||
| 363 | 363 | ||
| 364 | 364 | To audit for floating patches: | |
| 365 | 365 | ||
| 366 | - ```shell | ||
| 366 | + ```bash | ||
| 367 | 367 | git log --oneline deps/v8 | |
| 368 | 368 | ``` | |
| 369 | 369 | ||
| 370 | 370 | To replace the copy of V8 in Node.js, use the [`git-node`][] tool. For example, | |
| 371 | 371 | if you want to replace the copy of V8 in Node.js with the branch-head for V8 5.1 | |
| 372 | 372 | branch: | |
| 373 | 373 | ||
| 374 | - ```shell | ||
| 374 | + ```bash | ||
| 375 | 375 | cd $NODE_DIR | |
| 376 | 376 | git node v8 major --branch=5.1-lkgr | |
| 377 | 377 | ``` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,7 +30,7 @@ the nodejs/node repository. | |||
| 30 | 30 | ||
| 31 | 31 | Update the tag in the commands below, and run: | |
| 32 | 32 | ||
| 33 | - ```shell | ||
| 33 | + ```bash | ||
| 34 | 34 | cd tools/ | |
| 35 | 35 | ./mk-ca-bundle.pl -v 2>_before | |
| 36 | 36 | curl -O https://hg.mozilla.org/projects/nss/raw-file/NSS_3_41_RTM/lib/ckfw/builtins/certdata.txt | |
@@ -57,15 +57,15 @@ the nodejs/node repository. | |||
| 57 | 57 | ||
| 58 | 58 | Run the command below: | |
| 59 | 59 | ||
| 60 | - ```shell | ||
| 60 | + ```bash | ||
| 61 | 61 | ./mk-ca-bundle.pl -v 2>_after | |
| 62 | 62 | ``` | |
| 63 | 63 | ||
| 64 | 64 | Confirm that `../src/node_root_certs.h` was updated. | |
| 65 | 65 | ||
| 66 | 66 | Determine what changes were made by diffing the before and after files: | |
| 67 | 67 | ||
| 68 | - ```shell | ||
| 68 | + ```console | ||
| 69 | 69 | % diff _before _after | |
| 70 | 70 | 11d10 | |
| 71 | 71 | < Parsing: Visa eCommerce Root | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,7 +6,7 @@ performance improvements not currently available in standard zlib. | |||
| 6 | 6 | ## Updating zlib | |
| 7 | 7 | ||
| 8 | 8 | Update zlib: | |
| 9 | - ```shell | ||
| 9 | + ```bash | ||
| 10 | 10 | git clone https://chromium.googlesource.com/chromium/src/third_party/zlib | |
| 11 | 11 | cp deps/zlib/zlib.gyp deps/zlib/win32/zlib.def deps | |
| 12 | 12 | rm -rf deps/zlib zlib/.git | |
| Back | FazBrowse Home | New Git URL |
0 commit comments