Skip to content

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

Closed
huseyinacacak-janea wants to merge 2 commits into
nodejs:mainfrom
JaneaSystems:huseyin-12044-fix-issues-in-linter-and-tests-on-windows
Closed

build,win: fix problems with format-md#52161
huseyinacacak-janea wants to merge 2 commits into
nodejs:mainfrom
JaneaSystems:huseyin-12044-fix-issues-in-linter-and-tests-on-windows

Conversation

@huseyinacacak-janea

@huseyinacacak-janeahuseyinacacak-janea commented Mar 20, 2024

Copy link
Copy Markdown
Contributor

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-botnodejs-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-janeaforce-pushed the huseyin-12044-fix-issues-in-linter-and-tests-on-windows branch from f94706f to 5a6fea5CompareMarch 26, 2024 11:37
@huseyinacacak-janea

Copy link
Copy Markdown
ContributorAuthor

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
Copy Markdown
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
Copy Markdown
ContributorAuthor

It's ready for review.

@lpincalpinca left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

RSLGTM

@lpincalpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Mar 30, 2024
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Mar 30, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@huseyinacacak-janea

Copy link
Copy Markdown
ContributorAuthor

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

@richardlaurichardlau 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-botnodejs-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
Copy Markdown
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-botnodejs-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
PR-URL: #52161
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@MoLow

Copy link
Copy Markdown
Member

Landed in bed1fa9

@MoLowMoLow closed this Apr 24, 2024
aduh95 pushed a commit that referenced this pull request Apr 29, 2024
PR-URL: #52161
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buildIssues and PRs related to build files or the CI.commit-queue-failedAn error occurred while landing this pull request using GitHub Actions.commit-queue-rebaseAdd this label to allow the Commit Queue to land a PR in several commits.metaIssues and PRs related to the general management of the project.needs-ciPRs that need a full CI run.windowsIssues and PRs related to the Windows platform.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@huseyinacacak-janea@StefanStojanovic@nodejs-github-bot@MoLow@lpinca@richardlau@marco-ippolito