FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build: use pathlib for paths by VoltrexKeyva · Pull Request #47581 · nodejs/node · GitHub

/ node Public

build: use pathlib for paths - #47581

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
VoltrexKeyva:use-pathlib
May 2, 2023
Merged

build: use pathlib for paths#47581
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
VoltrexKeyva:use-pathlib

Conversation

Copy link
Copy Markdown
Contributor

Use Python's pathlib library for paths and related operations instead of os.path.

Refs: #47323 (comment) #47323 (comment)

nodejs-github-bot added build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. labels Apr 16, 2023
VoltrexKeyva added the python PRs and issues that require attention from people who are familiar with Python. label Apr 16, 2023
Comment thread configure.py Outdated

targos commented Apr 17, 2023

Copy link
Copy Markdown
Member

@nodejs/python

Comment thread configure.py Outdated
Trott added request-ci Add this label to start a Jenkins CI on a PR. author ready PRs that have at least one approval, no outstanding review comments, and a CI started. labels Apr 18, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 18, 2023

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

VoltrexKeyva added the request-ci Add this label to start a Jenkins CI on a PR. label Apr 21, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 21, 2023

Copy link
Copy Markdown
Collaborator

VoltrexKeyva added the request-ci Add this label to start a Jenkins CI on a PR. label Apr 21, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 21, 2023

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

cclauss commented Apr 22, 2023

Copy link
Copy Markdown
Contributor

@VoltrexKeyva Can you please create a pull request for all the non-pathlib changes so we can see if we can get that one to pass the tests and land first?

github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 2, 2023

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Contributor Author

@cclauss fortunately there are no failures, should we land this now?

cclauss commented May 2, 2023

Copy link
Copy Markdown
Contributor

Nice! Two approvals are above.

VoltrexKeyva added the commit-queue Add this label to land a pull request using GitHub Actions. label May 2, 2023
nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels May 2, 2023

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/47581
✔  Done loading data for nodejs/node/pull/47581
----------------------------------- PR info ------------------------------------
Title      build: use pathlib for paths (#47581)
Author     Mohammed Keyvanzadeh  (@VoltrexKeyva)
Branch     VoltrexKeyva:use-pathlib -> nodejs:main
Labels     build, python, author ready, needs-ci
Commits    1
 - build: use pathlib for paths
Committers 1
 - Mohammed Keyvanzadeh 
PR-URL: https://github.com/nodejs/node/pull/47581
Reviewed-By: Yagiz Nizipli 
Reviewed-By: Christian Clauss 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/47581
Reviewed-By: Yagiz Nizipli 
Reviewed-By: Christian Clauss 
--------------------------------------------------------------------------------
   ⚠  Commits were pushed since the last review:
   ⚠  - build: use pathlib for paths
   ℹ  This PR was created on Sun, 16 Apr 2023 14:21:56 GMT
   ✔  Approvals: 2
   ✔  - Yagiz Nizipli (@anonrig): https://github.com/nodejs/node/pull/47581#pullrequestreview-1388073872
   ✔  - Christian Clauss (@cclauss): https://github.com/nodejs/node/pull/47581#pullrequestreview-1388196158
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2023-05-02T14:23:08Z: https://ci.nodejs.org/job/node-test-pull-request/51578/
- Querying data for job/node-test-pull-request/51578/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/4863726456

Copy link
Copy Markdown
Contributor Author

@cclauss this'll need an approval again, as new changes invalidates the older approvals.

cclauss self-requested a review May 2, 2023 19:06
VoltrexKeyva added commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels May 2, 2023
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 2, 2023
nodejs-github-bot merged commit d2156f1 into nodejs:main May 2, 2023

Copy link
Copy Markdown
Collaborator

Landed in d2156f1

cclauss commented May 2, 2023

Copy link
Copy Markdown
Contributor

Rock & Roll... Thanks for doing this!

VoltrexKeyva deleted the use-pathlib branch May 2, 2023 20:00
targos mentioned this pull request May 3, 2023
targos pushed a commit that referenced this pull request May 3, 2023
Use Python's `pathlib` library for paths and related operations
instead of `os.path`.

Refs: #47323 (comment) #47323 (comment)
PR-URL: #47581
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Christian Clauss <cclauss@me.com>
danielleadams pushed a commit that referenced this pull request Jul 6, 2023
Use Python's `pathlib` library for paths and related operations
instead of `os.path`.

Refs: #47323 (comment) #47323 (comment)
PR-URL: #47581
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Christian Clauss <cclauss@me.com>
MoLow pushed a commit to MoLow/node that referenced this pull request Jul 6, 2023
Use Python's `pathlib` library for paths and related operations
instead of `os.path`.

Refs: nodejs#47323 (comment) nodejs#47323 (comment)
PR-URL: nodejs#47581
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Christian Clauss <cclauss@me.com>
Comment thread configure.py
# --with-icu-source processing
# now, check that they didn't pass --with-icu-source=deps/icu
elif with_icu_source and os.path.abspath(icu_full_path) == os.path.abspath(with_icu_source):
elif with_icu_source and Path(icu_full_path).resolve() == Path(with_icu_source).resolve():

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Ouch! icu_full_path can actually be a URL here, and so this change breaks Windows downloading completely. Not good..

srl295 added the i18n-api Issues and PRs related to the i18n implementation. label Oct 1, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. build Issues and PRs related to build files or the CI. i18n-api Issues and PRs related to the i18n implementation. needs-ci PRs that need a full CI run. python PRs 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.

7 participants


Back | FazBrowse Home | New Git URL