-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Georg,
A simple way for solving this problem is : ~ * rename config/databases.yml to config/databases.yml-dist ~ * rename config/propel.ini to config/propel.ini-dist ~ * set property svn:ignore on the directory "config" : ~ * databases.yml ~ * propel.ini ~ * of course, don't put any password in the databases.yml-dist and propel.ini-dist files :-) When deploying your project, you will have to copy the -dist files, and edit them. As both databases.yml and propel.ini are ignored, svn won't ask you to commit the changes you do in it. cheers, xavier Georg Sorst a écrit : | Hey everyone, | | I am currently looking for a way to keep the passwords and in fact the | entire MySQL URL (propel.database.url / propel.database.createUrl) used | in propel.ini in a separate file. | | The main reason behind this is keeping passwords from being committed to | SVN. Furthermore, when the Symfony project is checked out on another | machine the connection info will likely have to be changed. While this | is no problem care has to be taken not to commit it back to the | repository once the connection info has been modified and when the | actual contents of the propel.ini are changed there may be conflicts. | | The same issue applies to the database.yml but from what I have read | (not tried it yet) Symfony allows PHP code in .yml files thus allowing | to pull in the connection info from an external file not maintained in | the repository. Unfortunately this doesn't seem to be possible for | propel.ini. So, is there a similar mechanism for propel.ini that I am | missing? | | Thanks, | Georg | | | - -- Xavier Lacot http://www.clever-age.com Clever Age - conseil en architecture technique Tél: +33 1 53 34 66 10 Fax: +33 1 53 34 65 20 Clever Age vous invite à ses petits-déjeuners http://www.clever-age.com/actualites/petits-dejeuners/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFHmitCxnFhiMcsYUsRAtWNAJ442vX++mDK+hfOm1y9MDOBCp2XhgCeOy/q K2hUz0N17vFTYRCqhosDuBs= =ojhl -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---