info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question: commit


From: Luis Mariano Luporini
Subject: Re: Newbie question: commit
Date: Mon, 19 Apr 2004 11:20:31 -0300
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624

Jim, I think this way a can handle my problem. As I told Spiro, I remember co'ing sources from different software where I found a config directory with files ending with ".dist" names and i suppose what you say explained it.

It's posible to customize a php script from env variables but I prefer to have a template/script from which I could generate the final script.

Thanks for your time Jim.

Luis.


Jim.Hyslop wrote:

address@hidden wrote:
The problem i'm facing is that custom_config.php file contains generic config values that needs to be modified by every developer/user to get the software working, but I don't want that nobody updates the repository with a custom user/passwd pair, for example, inside custom_config.php when doing a
commit.
Instead of putting custom_config.pgp in the repository, how about checking
in a script that will create custom_config.php instead? The script could use
environment variables to generate the information.

Or, is it possible to configure a .php file to take the password from an
environment variable?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]