ParameterHandler icon indicating copy to clipboard operation
ParameterHandler copied to clipboard

Copy parameters file based on ENV

Open ReservedDeveloper opened this issue 10 years ago • 1 comments

It would be great if you could extract a parameters file based on your current env. The use case is as follows:

  • EnvA has parameter X=1, stored in parameters_envA.yml.dist
  • EnvB has parameter X=2, stored in parameters_envB.yml.dist

You don't necessarily want to merge both param files, as provided by #21, as you'll end up clobbering one setting or the other. If there were some way to examine the current env and add that as an optional prefix/suffix to the extraction, that would be pretty awesome.

ReservedDeveloper avatar Oct 08 '14 23:10 ReservedDeveloper

Hello there,

I can most certainly work on that. However, i'm not sure exactly what you are needing me to do and how I go about doing it. Could you provide some sort of example? Thanks!

On Oct 8, 2014, at 6:15 PM, Daniel Lakes [email protected] wrote:

It would be great if you could extract a parameters file based on your current env. The use case is as follows:

EnvA has parameter X=1, stored in parameters_envA.yml.dist EnvB has parameter X=2, stored in parameters_envB.yml.dist You don't necessarily want to merge both param files, as provided by #21, as you'll end up clobbering one setting or the other. If there were some way to examine the current env and add that as an optional prefix/suffix to the extraction, that would be pretty awesome.

— Reply to this email directly or view it on GitHub.=

ghost avatar Oct 09 '14 01:10 ghost