Re:Git tips to stop you getting fired
by mostlystatic on Monday April 08, 2013 @05:51PM
(#5514880)
Cool, thanks for the explanation. I usually have the development config in the repo and the deployment script overwrites it on the server.
Re:Git tips to stop you getting fired
by prodigal_erik on Monday April 08, 2013 @06:08PM
(#5514985)
That's better than the converse (default is prod, yikes!) but there's a risk of a prod server using the dev config, which might appear to work unless your dev environment is firewalled off. I prefer having an invalid or unusable config checked in, so the system doesn't even come up until I deploy the config I intend to use over it.
Re:Git tips to stop you getting fired
by northernmonkey on Tuesday April 09, 2013 @05:16AM
(#5517093)
I know Bob, he's a much better footballer than he is developer
Re:Git tips to stop you getting fired
by philjackson on Tuesday April 09, 2013 @06:32AM
(#5517221)
It's the cartwheels that set him apart.
Configuration like that should be managed by something that isn't susceptible to these accidental changes.
As you mention it, security is an issue too. The fewer people who know the passwords to anything the better and the more you can keep the passwords from going over the wire the better.