• Resolved theboyk

    (@theboyk)


    Wondering if it’d be possible to get a list of directories/files that should be added to .gitignore (when dealing with a dev/staging/production workflow), with regards to what files are “environment specific” (such as logs, config, etc.) and should be kept of our GIT?

    I don’t really run WordFence on dev/staging (as those are gated environments), but I do enable/disable at random times (for testing config changes, updates, etc.), so .user.ini and other files would end up being created in all environments and I want to avoid conflicts in GIT.

    Here’s the list I’ve compiled, but would appreciate confirmation (and if I’ve missed anything):

    /wp-content/wflogs
    .user.ini
    wordfence-waf.php

    Note, .htaccess is already in .gitignore.

    Thanks,
    Kristin.

    • This topic was modified 11 months, 3 weeks ago by theboyk.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @theboyk, thanks for reaching out!

    From the most recent information I have, we try to keep file changes isolated, mainly just using wflogs for data, WAF needs, and GeoIP data that’s used by both the plugin and WAF code. As the wp-content/plugins/wordfence folder is not writeable on all hosts, and to avoid file locking issues we avoid making changes there.

    The four you’ve provided are the only ones we would recommend at this time.

    Thanks,
    Peter.

    Thread Starter theboyk

    (@theboyk)

    Great, thanks for the confirmation, appreciate it.

    Thanks again,
    Kristin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordFence + GIT + .gitignore’ is closed to new replies.