Skip to content

Conversation

@mawaregetsuka
Copy link
Contributor

The JSON format in the current version of the config.gypi file can be broken because the pprint.pformat function splits the argument string into multiple lines if it is long enough and contains Spaces

./configure --v8-options="--this_is_parameter_one --this_is_parmaeter_two" //This is the corresponding line in configure.gypi 'node_v8_options': '--this_is_parameter_one ' '--this_is_parmaeter_two', 

You can see that function pprint.pformat accidentally splits the string into two lines, causing the JSON format to be broken

I can think of three solutions

1 Abandon the line length limit

2 Use regular matches after pprint.pformat

3 Manually implement an appropriate print function

I chose the simplest solution for this PR and am glad to work on other solutions if the administrator thinks it is necessary

@nodejs-github-botnodejs-github-bot added build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. labels Jan 17, 2022
@mawaregetsukamawaregetsukaforce-pushed the local branch 2 times, most recently from 1d07a99 to 0d7ce77CompareJanuary 17, 2022 04:43
@TrottTrott added the python PRs and issues that require attention from people who are familiar with Python. label Jan 17, 2022
@benjamingrbenjamingr added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 27, 2022
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 27, 2022
@nodejs-github-bot
Copy link
Collaborator

@aduh95aduh95 added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 12, 2022
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@mawaregetsuka
Copy link
ContributorAuthor

Need help.
Why the ci is still in pending state?

@mawaregetsuka
Copy link
ContributorAuthor

@aduh95
Can you give some help for this pr?

@aduh95aduh95 added the request-ci Add this label to start a Jenkins CI on a PR. label Mar 31, 2022
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Mar 31, 2022
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@aduh95aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 31, 2022
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 31, 2022
@nodejs-github-botnodejs-github-bot merged commit 605a01b into nodejs:masterMar 31, 2022
@nodejs-github-bot
Copy link
Collaborator

Landed in 605a01b

@mawaregetsuka
Copy link
ContributorAuthor

@aduh95
Thank you for your help!

juanarbol pushed a commit to juanarbol/node that referenced this pull request Apr 5, 2022
This was referenced Apr 5, 2022
@mawaregetsukamawaregetsuka mentioned this pull request Apr 5, 2022
juanarbol pushed a commit that referenced this pull request Apr 6, 2022
xtx1130 pushed a commit to xtx1130/node that referenced this pull request Apr 25, 2022
juanarbol pushed a commit that referenced this pull request May 31, 2022
danielleadams pushed a commit that referenced this pull request Jun 27, 2022
targos pushed a commit that referenced this pull request Jul 11, 2022
targos pushed a commit that referenced this pull request Jul 11, 2022
targos pushed a commit that referenced this pull request Jul 31, 2022
@targostargos mentioned this pull request Aug 3, 2022
guangwong pushed a commit to noslate-project/node that referenced this pull request Oct 10, 2022
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.buildIssues and PRs related to build files or the CI.needs-ciPRs that need a full CI run.pythonPRs and issues that require attention from people who are familiar with Python.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@mawaregetsuka@nodejs-github-bot@jasnell@Trott@benjamingr@aduh95