• Resolved nickiaq

    (@nickiaq)


    Hi there,

    Coming here from this Reddit thread.

    I am wondering why you went for tracking the entire WordPress install? Are you considering adding an option to only track a given theme?

    I understand the idea is docker-esque, where you are tracking the a larger amount of the environment and are able to just switch branches, revert, etc if something goes wrong or you are developing.

    But, I don’t really hack at the core files and use a plugin to install other plugin dependencies and ensure that they stay installed (plugin-inception, right?).

    Is there something I’m missing?

    Best, niaq

    https://wordpress.org/plugins/revisr/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Expanded Fronts

    (@expandedfronts)

    Hello,

    We decided to allow the entire repository to be tracked to allow for complete backups & restore points of a website if so desired.

    Another major benefit is that you could perform a major core/plugin upgrade on a new branch without affecting the main branch/production website. Since Revisr allows you to optionally keep a separate version of each branch, you could test out a core upgrade on a new branch and switch back if it causes any issues, and not have to worry about the differences in the database.

    However, you have the ability to add files or entire directories to the gitignore through the plugin settings page.

    This way, if you want to track the entire repository, or just themes/plugins, you can.

    As mentioned in this thread, you could use something like the following to only track your themes directory:

    /*
    /*/
    !/wp-content/themes/

    I’m marking this as resolved since it has been discussed and it is not required to track the entire repository, only that the parent WordPress installation is installed in one.

    Please feel free to post any follow up comments/questions to this thread and I’ll be glad to address them.

    Thank you.

    Plugin Author Expanded Fronts

    (@expandedfronts)

    Sorry, to clarify on this:

    Since Revisr allows you to optionally keep a separate version of each branch…

    I meant to say that Revisr allows you to keep a separate version of the files and the database for each branch in Git.

    Or you can just track files. Ultimately, it’s however you want to use it and I look forward to seeing new/different implementations.

    Thread Starter nickiaq

    (@nickiaq)

    Thank you for the detailed answer so quickly. I did not realize that Revisr tracks the database as well. That is mighty useful.

    Thank you also for developing this great plugin!

    Thread Starter nickiaq

    (@nickiaq)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Tracking Theme Only’ is closed to new replies.