Skip to content

deps: reflect c-ares source tree - #39653

Closed
BethGriggs wants to merge 2 commits into
nodejs:masterfrom
BethGriggs:reapply-c-ares-1.17.1
Closed

deps: reflect c-ares source tree#39653
BethGriggs wants to merge 2 commits into
nodejs:masterfrom
BethGriggs:reapply-c-ares-1.17.1

Conversation

@BethGriggs

Copy link
Copy Markdown
Member

c-ares refactored their source tree in 1.17.0 which we did not apply in our update from 1.16.1 to 1.17.1. This PR syncs our source tree with their new structure for easier maintenance going forward (only for the subset of files we already had checked in).

The first commit applies some missed documentation patches so that it's more clear in the second commit that no source code has been changed during the move (aside from in deps/cares/cares.gyp).

I'm not entirely sure this is the correct thing to do, but it seemed a reasonable precursor to attempting to write some guidance on how to update c-ares in Node.js.

Refs: c-ares/c-ares#349
Refs: #36207

@nodejs-github-botnodejs-github-bot added cares Issues and PRs related to the c-ares dependency or the cares_wrap binding. needs-ci PRs that need a full CI run. labels Aug 3, 2021
@BethGriggsBethGriggs added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 3, 2021
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 3, 2021
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Comment threaddeps/cares/cares.gyp Outdated
@richardlau

Copy link
Copy Markdown
Member

@BethGriggs For the Windows compile failure, try replacing src with src/lib in
https://github.com/nodejs/node/blob/776af046f9911ee67321b7d60fc1a0fa764b6b5e/deps/cares/cares.gyp#L33

@BethGriggs
BethGriggsforce-pushed the reapply-c-ares-1.17.1 branch from 776af04 to add6528CompareAugust 4, 2021 00:28
@BethGriggsBethGriggs added request-ci Add this label to start a Jenkins CI on a PR. and removed request-ci Add this label to start a Jenkins CI on a PR. labels Aug 4, 2021
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@BethGriggs
BethGriggsforce-pushed the reapply-c-ares-1.17.1 branch from 47d045f to add6528CompareAugust 4, 2021 09:37
@BethGriggsBethGriggs added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 4, 2021
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 4, 2021
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

c-ares refactored their source tree in 1.17.0 which we did not apply in
our update to 1.17.1. This commit syncs our source with their new
structure for easier maintenance going forward. cares.gyp is updated
accordingly.
Refs: c-ares/c-ares#349
Refs: nodejs#36207
@BethGriggs
BethGriggsforce-pushed the reapply-c-ares-1.17.1 branch from 185bc45 to 551aa34CompareAugust 5, 2021 18:38
@BethGriggsBethGriggs added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 5, 2021
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 5, 2021
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@BethGriggsBethGriggs added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed needs-ci PRs that need a full CI run. labels Aug 6, 2021
@BethGriggsBethGriggs added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 6, 2021
@github-actionsgithub-actionsBot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 6, 2021
@github-actions

Copy link
Copy Markdown
Contributor

Landed in 1ff5eac...c7a0f1d

nodejs-github-bot pushed a commit that referenced this pull request Aug 6, 2021
PR-URL: #39653
Refs: c-ares/c-ares#349
Refs: #36207
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
nodejs-github-bot pushed a commit that referenced this pull request Aug 6, 2021
c-ares refactored their source tree in 1.17.0 which we did not apply in
our update to 1.17.1. This commit syncs our source with their new
structure for easier maintenance going forward. cares.gyp is updated
accordingly.
Refs: c-ares/c-ares#349
Refs: #36207
PR-URL: #39653
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@BethGriggs
BethGriggs deleted the reapply-c-ares-1.17.1 branch August 6, 2021 11:19
codebytere added a commit to electron/electron that referenced this pull request Aug 16, 2021
codebytere added a commit to electron/electron that referenced this pull request Aug 18, 2021
codebytere added a commit to electron/electron that referenced this pull request Aug 20, 2021
* chore: bump node in DEPS to v16.6.0
* chore: bump node in DEPS to v16.6.1
* crypto: fix generateKeyPair with encoding 'jwk'
nodejs/node#39319
* build: add library_files to gyp variables
nodejs/node#39293
* debugger: rename internal module
nodejs/node#39378
* chore: fixup patch indices
* deps: extract gtest source files to deps/googletest
nodejs/node#39386
* crypto: fix generateKeyPair with encoding 'jwk'
nodejs/node#39319
* deps: bump HdrHistogram_C to 0.11.2
nodejs/node#39462
* fixup! deps: extract gtest source files to deps/googletest
* chore: bump node in DEPS to v16.6.2
* chore: update patches
* deps: reflect c-ares source tree
nodejs/node#39653
* deps: update c-ares to 1.17.2
nodejs/node#39724
* fix: _ReadBarrier undefined symbol error on WOA arm64
* chore: update patches
* chore: bump node in DEPS to v16.7.0
* deps: upgrade to libuv 1.42.0
nodejs/node#39525
* chore: update filenames
* src: remove extra semicolons outside fns
* chore: fixup patch filenames
* chore: sort and alphabetize disabled tests
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
BlackHole1 pushed a commit to BlackHole1/electron that referenced this pull request Aug 30, 2021
* chore: bump node in DEPS to v16.6.0
* chore: bump node in DEPS to v16.6.1
* crypto: fix generateKeyPair with encoding 'jwk'
nodejs/node#39319
* build: add library_files to gyp variables
nodejs/node#39293
* debugger: rename internal module
nodejs/node#39378
* chore: fixup patch indices
* deps: extract gtest source files to deps/googletest
nodejs/node#39386
* crypto: fix generateKeyPair with encoding 'jwk'
nodejs/node#39319
* deps: bump HdrHistogram_C to 0.11.2
nodejs/node#39462
* fixup! deps: extract gtest source files to deps/googletest
* chore: bump node in DEPS to v16.6.2
* chore: update patches
* deps: reflect c-ares source tree
nodejs/node#39653
* deps: update c-ares to 1.17.2
nodejs/node#39724
* fix: _ReadBarrier undefined symbol error on WOA arm64
* chore: update patches
* chore: bump node in DEPS to v16.7.0
* deps: upgrade to libuv 1.42.0
nodejs/node#39525
* chore: update filenames
* src: remove extra semicolons outside fns
* chore: fixup patch filenames
* chore: sort and alphabetize disabled tests
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
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.caresIssues and PRs related to the c-ares dependency or the cares_wrap binding.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@BethGriggs@nodejs-github-bot@richardlau@jasnell@cjihrig@targos