Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FrameworkBundle] Added resolve-env option to debug:config command#40688

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@alexandre-daubois
Copy link
Member

This option replaces environment variables placeholders by their actual value in the command output

QA
Branch?5.x
Bug fix?no
New feature?yes
Deprecations?no
TicketsFix#40582
LicenseMIT
Doc PRsee below

I couldn't find any tests nor documentation about this command. If I missed it, I'd be more than pleased to complete this pull request!

elghailani and acasademont reacted with thumbs up emoji
@carsonbotcarsonbot changed the title[FrameworkBundle] [Console] Added resolve-env option to debug:config command[Console][FrameworkBundle] Added resolve-env option to debug:config commandApr 2, 2021
@alexandre-dauboisalexandre-dauboisforce-pushed thefeat-resolve-env-debug-config branch fromdddbe3f tof82dbf9CompareApril 2, 2021 19:02
@derrabusderrabus removed the Console labelApr 2, 2021
@carsonbotcarsonbot changed the title[Console][FrameworkBundle] Added resolve-env option to debug:config command[FrameworkBundle] Added resolve-env option to debug:config commandApr 2, 2021
@derrabusderrabus added this to the5.x milestoneApr 2, 2021
Copy link
Member

@jderussejderusse left a comment

Choose a reason for hiding this comment

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

What if the parameter is not just an env variable?

  • %env(resolve:FOO)%
  • %env(A_SECRET)%

@alexandre-dauboisalexandre-dauboisforce-pushed thefeat-resolve-env-debug-config branch fromf82dbf9 to7910a87CompareApril 3, 2021 10:08
@alexandre-daubois
Copy link
MemberAuthor

alexandre-daubois commentedApr 3, 2021
edited
Loading

What if the parameter is not just an env variable?

  • %env(resolve:FOO)%
  • %env(A_SECRET)%

Thank you for your feedback Jérémy!
You're totally right. The new version should be way better and can now resolve values with different env vars processor. I usedConsole\Descriptor as an example.

About secret vars, it displaysnull for now. What could be the expected result about secrets? Opening the vault and displaying them? Not really confortable with this because the command would grow even more, but maybe it's the best way to do?

…commandThis option replaces environment variables placeholders by their actual value in the command output
@alexandre-dauboisalexandre-dauboisforce-pushed thefeat-resolve-env-debug-config branch from7910a87 to7d5f1c5CompareApril 3, 2021 10:19
@fabpotfabpot modified the milestones:5.4,6.1Nov 16, 2021
@fabpotfabpot modified the milestones:6.1,6.2May 20, 2022
@alexandre-daubois
Copy link
MemberAuthor

Transferred to#46821

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@jderussejderusseAwaiting requested review from jderusse

Assignees

No one assigned

Projects

None yet

Milestone

6.2

Development

Successfully merging this pull request may close these issues.

Add a way to resolve environment variables in debug:config

5 participants

@alexandre-daubois@jderusse@fabpot@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp