WordPress.org

Forums

How should we use local svn with the new upgrade system? (3 posts)

  1. junap
    Member
    Posted 6 years ago #

    NB. I'm a Subversion noob, just learning the ropes (using Versions.app currently).

    This is mostly a question about workflow, subversion and auto-updating WordPress on the live server.

    Normally my live site is mirror of a local dev copy (managed with subversion), and each time WP releases a new version, I update my local copy, test and tweak the themes/plugins as necessary, then upload (svn export) that to the live server.

    Now that there's a handy one-click upgrade method available within the WP admin area, my live copy can in theory be more up-to-date than my local working copy! Version control chaos ensues.

    Can anyone offer some advice on how to integrate WP auto-updating features into a simple svn workflow?

    Should I just svn manage my theme folder and let WP handle the app updates server-side?

  2. How you do it is really up to you, but I've never bothered with doing an svn export and then uploading the stuff. Get shell access to your box and just run svn up on it directly. :)

    The auto-updater only gets the latest ZIP file, BTW. It doesn't do up-to-the-minute stuff, unless you're running trunk, in which case it gets the nightly build.

  3. junap
    Member
    Posted 6 years ago #

    All I'm after is the official point releases and plugin updates, rather than bleeding edge stuff. The various client sites I code for don't usually have shell access either.

    I'm going to go with just managing the theme folder under svn and let WP update itself on the server for now.

Topic Closed

This topic has been closed to new replies.

About this Topic