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

build,win: fix problems with format-md #52161

Conversation

huseyinacacak-janea
Copy link
Contributor

@huseyinacacak-janea huseyinacacak-janea commented Mar 20, 2024

The command vcbuild lint was experiencing failures on Windows. The appropriate fix would have been to execute vcbuild format-md, but despite its availability, it wasn't possible to execute it. This PR enables vcbuild format-md to be executed. Furthermore, a validation has been incorporated into .gitattributes to verify that .md files utilize LF as their line endings.

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. meta Issues and PRs related to the general management of the project. needs-ci PRs that need a full CI run. windows Issues and PRs related to the Windows platform. labels Mar 20, 2024
@huseyinacacak-janea huseyinacacak-janea marked this pull request as draft March 20, 2024 12:15
@huseyinacacak-janea huseyinacacak-janea force-pushed the huseyin-12044-fix-issues-in-linter-and-tests-on-windows branch from f94706f to 5a6fea5 Compare March 26, 2024 11:37
@huseyinacacak-janea
Copy link
Contributor Author

Initially, this PR failed because it converted the line breaks of all .md files to CRLF.
Now, I force-pushed 2 commits: one to fix format-md problem, and one to convert line breaks of .md files to LF in the doc folder only.
AFAICT, remark-stringify package only supports LF line endings

@StefanStojanovic
Copy link
Contributor

I've let this run through the node-test-linter in CI to ensure it's good. The run passed.

@huseyinacacak-janea huseyinacacak-janea marked this pull request as ready for review March 26, 2024 17:07
@huseyinacacak-janea
Copy link
Contributor Author

It's ready for review.

Copy link
Member

@lpinca lpinca left a comment

Choose a reason for hiding this comment

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

RSLGTM

@lpinca lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Mar 30, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Mar 30, 2024
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@huseyinacacak-janea
Copy link
Contributor Author

I see CI has passed. Is there something else I can help with this to move forward?

@richardlau richardlau added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. labels Apr 22, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 22, 2024
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/52161
✔  Done loading data for nodejs/node/pull/52161
----------------------------------- PR info ------------------------------------
Title      build,win: fix problems with format-md (#52161)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     huseyinacacak-janea:huseyin-12044-fix-issues-in-linter-and-tests-on-windows -> nodejs:main
Labels     windows, build, meta, needs-ci, commit-queue-rebase
Commits    2
 - doc: add .gitattributes for md files
 - build,win: fix problems with format-md
Committers 1
 - Hüseyin Açacak 
PR-URL: https://github.com/nodejs/node/pull/52161
Reviewed-By: Luigi Pinca 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/52161
Reviewed-By: Luigi Pinca 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Wed, 20 Mar 2024 09:29:58 GMT
   ✔  Approvals: 1
   ✔  - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/52161#pullrequestreview-1970052472
   ✘  Last GitHub CI failed
   ℹ  Last Full PR CI on 2024-04-17T08:46:58Z: https://ci.nodejs.org/job/node-test-pull-request/58454/
- Querying data for job/node-test-pull-request/58454/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/8784247836

@nodejs-github-bot nodejs-github-bot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Apr 22, 2024
MoLow pushed a commit that referenced this pull request Apr 24, 2024
@MoLow
Copy link
Member

MoLow commented Apr 24, 2024

Landed in bed1fa9

@MoLow MoLow closed this Apr 24, 2024
aduh95 pushed a commit that referenced this pull request Apr 29, 2024
@marco-ippolito marco-ippolito added the dont-land-on-v20.x PRs that should not land on the v20.x-staging branch and should not be released in v20.x. label May 23, 2024
bmeck pushed a commit to bmeck/node that referenced this pull request Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. commit-queue-failed An error occurred while landing this pull request using GitHub Actions. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. dont-land-on-v20.x PRs that should not land on the v20.x-staging branch and should not be released in v20.x. meta Issues and PRs related to the general management of the project. needs-ci PRs that need a full CI run. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants