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

[20.x backport] src: add `--env-file-if-exists` flag by aduh95 · Pull Request #56932 · nodejs/node · GitHub

/ node Public

[20.x backport] src: add --env-file-if-exists flag - #56932

Closed
aduh95 wants to merge 3 commits into
nodejs:v20.x-stagingfrom
aduh95:env-file-if-exists-20.x
Closed

[20.x backport] src: add --env-file-if-exists flag#56932
aduh95 wants to merge 3 commits into
nodejs:v20.x-stagingfrom
aduh95:env-file-if-exists-20.x

Conversation

aduh95 commented Feb 5, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

aduh95 added the semver-minor PRs that contain new features and should be released in the next minor version. label Feb 5, 2025

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/startup

nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. v20.x labels Feb 5, 2025

Copy link
Copy Markdown
Member

Why are we backporting a semver minor to v20.x?

aduh95 commented Feb 6, 2025

Copy link
Copy Markdown
Contributor Author

Why are we backporting a semver minor to v20.x?

I can't talk for anyone besides my own self, the reason I'm opening this backport PR is that I'd like to see it landed on 20.x. I believe there's a plan for an upcoming semver-minor 20.x release, so I'm hopeful this could be a part of it.

avivkeller and others added 2 commits February 6, 2025 18:33
Co-Authored-By: Cedric Staniewski <cedric@gmx.ca>
PR-URL: nodejs#54237
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Fixes: nodejs#50993
Refs: nodejs#51451

test: remove unnecessary comment

src: conform to style guidelines

src: change flag to `--env-file-optional`

test: revert automatic linter changes

doc: fix typos

src: change flag to `--env-file-if-exists`

src: refactor `env_file_data` and `GetEnvFileDataFromArgs`

test: clean up tests

src: print error when file not found

test: remove unnecessary extras
PR-URL: nodejs#53060
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
aduh95 force-pushed the env-file-if-exists-20.x branch from 1d708fb to c4e38c4 Compare February 6, 2025 17:34

Copy link
Copy Markdown
Member

Maybe also this one? #56893

As `--env-file` is experimental, this must be marked as experimental as
well.

Refs: nodejs#56887
Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
PR-URL: nodejs#56893
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
marco-ippolito added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 18, 2025
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 18, 2025

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

marco-ippolito pushed a commit that referenced this pull request Mar 6, 2025
Co-Authored-By: Cedric Staniewski <cedric@gmx.ca>
PR-URL: #54237
Backport-PR-URL: #56932
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Mar 6, 2025
Fixes: #50993
Refs: #51451

test: remove unnecessary comment

src: conform to style guidelines

src: change flag to `--env-file-optional`

test: revert automatic linter changes

doc: fix typos

src: change flag to `--env-file-if-exists`

src: refactor `env_file_data` and `GetEnvFileDataFromArgs`

test: clean up tests

src: print error when file not found

test: remove unnecessary extras
PR-URL: #53060
Backport-PR-URL: #56932
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Mar 6, 2025
As `--env-file` is experimental, this must be marked as experimental as
well.

Refs: #56887
Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
PR-URL: #56893
Backport-PR-URL: #56932
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>

Copy link
Copy Markdown
Member

Landed in 73b5c16...9fda8e2

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

c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. semver-minor PRs that contain new features and should be released in the next minor version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL