[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Encrypting selected files ...

From: Pat Farrell <pfarrell_at_pfarrell.com>
Date: Fri, 02 Oct 2009 14:57:01 -0400

Andrey Repin wrote:
> I do have similar issue. To solve it, i have separate, non-versioned
file with
> all credentials written in it, that project picks up.
> This is also true for deployment. User get a
"config-auth-example.php", copy
> it over to "config-auth.php" and adjust for his/her needs.
> Now you're 1001% sure you will never ever overwrite the user settings
with any
> upgrades. Simply because redistribution does not contain this file.

I so similar stuff with my Java code. The connection properties are read
from a standard Java Properties file. And test values are stored under
"testing" for JUnit to use. Plus, there is an environment variable that
developers can use to point to their own values, containing whatever
they want.

"redistribution does not contain this file" is the right answer.

-- 
Pat Farrell
http://www.pfarrell.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2403038
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-02 20:57:42 CEST

This is an archived mail posted to the Subversion Users mailing list.