Hi Lee,

Thanks for the advice.

As far as PCI is concerned, if a quarterly scan picks up a .svn
directory, the scan for that URI is generally failed.

Obviously we could work around this by having rewrite rules etc to
exclude .svn/* however in my view it would be much nicer to just
deploy the code without the .svn directories anywhere in the tree.

(on a personal note, this is just another reason to switch to Git in
my opinion as the .git dir would be well out of the app web root and
there's only one .git dir, it's not peppered across the file system!)

I guess the alternative is to setup something like

after, "deploy:symlink", "deploy:del_svn"

where del_svn would be a run command which finds and deletes all .svn
directories - not pretty but I guess it would work...

M.

On 30 April 2011 08:39, Lee Hambley <[email protected]> wrote:
> Matt,
>
> You'll have to ask the Murder crew about that, although a cursory review of
> the murder implementation suggests that it doesn't honor copy_exclude (which
> I find logical) - but I'm surprised that an alternative option doesn't
> exist… Here's the offending code;
> https://github.com/lg/murder/blob/master/lib/murder/murder.rb#L21 I'm rather
> sure you could patch that quite easily, compare the relevant implementation
> in
> https://github.com/capistrano/capistrano/blob/master/lib/capistrano/recipes/deploy/strategy/copy.rb#L88
> (Hint, I think what you are looking for is on #31 of murder.rb)
>
> I'm familiar with PCI compliance, how does ignoring your SCM history help…
> is there something in your history that aught not to exist anymore?
>
> - HTH, Lee
>
> --
> * You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/capistrano?hl=en

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to