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

chore: remove execa dependency #722

Merged
merged 1 commit into from
Sep 4, 2023
Merged

chore: remove execa dependency #722

merged 1 commit into from
Sep 4, 2023

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Sep 3, 2023

The less dependencies we have, the better.

@codecov
Copy link

codecov bot commented Sep 3, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (4b2b6fa) 83.38% compared to head (be5c54c) 83.38%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #722   +/-   ##
=======================================
  Coverage   83.38%   83.38%           
=======================================
  Files          37       37           
  Lines        4158     4158           
=======================================
  Hits         3467     3467           
  Misses        691      691           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aduh95 aduh95 merged commit ff79809 into nodejs:main Sep 4, 2023
13 checks passed
@targos
Copy link
Member

targos commented Sep 5, 2023

This seems to have broken git node v8 major: https://github.com/nodejs/node-v8/actions/runs/6080766368/job/16495239660

return runAsync('git', args, {
spawnArgs: {
cwd: options.nodeDir,
...input && { input }
Copy link
Member

Choose a reason for hiding this comment

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

spawn doesn't take an input option.

captureStdout: true,
spawnArgs: {
cwd: ctx.v8Dir,
encoding: 'utf8'
Copy link
Member

Choose a reason for hiding this comment

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

nor does it take an encoding option

'git',
['format-patch', '--stdout', `${ctx.currentVersion}...${latestStr}`],
{ cwd: ctx.v8Dir, encoding: 'utf8' }
{ captureStdout: true, spawnArgs: { cwd: ctx.v8Dir, encoding: 'utf8' } }
Copy link
Member

Choose a reason for hiding this comment

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

ditto

await runAsync('git', ['apply', '--directory', 'deps/v8'], {
spawnArgs: {
cwd: ctx.nodeDir,
input: diff
Copy link
Member

Choose a reason for hiding this comment

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

ditto

@targos targos mentioned this pull request Sep 6, 2023
targos added a commit to targos/node-core-utils that referenced this pull request Sep 11, 2023
@aduh95 aduh95 deleted the remove-execa branch September 11, 2023 10:25
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.

4 participants