WordPress.org

Ready to get started?Download WordPress

Forums

Automate upgrade process please ! (14 posts)

  1. Thierry
    Member
    Posted 8 years ago #

    Each time the WordPress team releases a new version, we have to do a lot of careful manipulations to install it (manually delete some folders, keep certain files and remove some others, etc). That's really boring.

    It would be a great idea to write a script for automating this process, comparing the WP versions and just replacing the files that have to be replaced.

  2. James
    Happiness Engineer
    Posted 8 years ago #

    ^_^ You just have to know the right places to look:

    An automated version checking plugin (will automatically notify you of new releases): http://www.ftwr.co.uk/blog/archives/2005/06/27/wordpress-version-check/

    Angsuman's automated v1.5.1.2 to v1.5.1.3 upgrade package (he may release more in the future): http://blog.taragana.com/index.php/archive/wordpress-patch-upgrade-from-1512-to-1512-made-available/

  3. Thierry
    Member
    Posted 8 years ago #

    Yes, that's exactly what I needed ! Thanks.

    But why the WP team does not provide such scripts ? Ok, this is not a problem for me to delete files et reinstall WP from scratch, but I imagine that for some people this is something really difficult.

  4. Mark (podz)
    Support Maven
    Posted 8 years ago #

    You could write some :)

    Maybe they will happen, maybe they will not.
    The fact is that scripts / patches or not, if you customise your install, you need to spend longer upgrading it. That is true for any software on any machine anywhere. WordPress is damn good as it is but it continues to develop - accepting that is part of the deal surely.

  5. Thierry
    Member
    Posted 8 years ago #

    You're right. For customized intallation, a script is not enough. But this kind of script is intended to be used by people having little or no experience in computing, and they certainly do not customized their install.

  6. rolandog
    Member
    Posted 8 years ago #

    The simplemachines forums (http://www.simplemachines.org) have a great way of auto-updating... and the plugins are managed through a 'package manager', which allows you to download plugins from several servers. Perhaps there could be a way of updating in a similar way? (Usually a 1-click process through the admin panel in SMF).

  7. Firas
    Member
    Posted 8 years ago #

    WP is very unlikely to do automatic updating of the core anytime soon, because of permissions/security issues. Scores of people are always going to run into issues with it.

    Your best bet is to look for third party plugins. 'Changed files only' archives are a great idea if they're continuously maintained by a trusted person.

  8. phonakins
    Member
    Posted 8 years ago #

    That 'trusted person' is the key Firas. While it's nice to grab angus man's patch files, I think alot of us would feel safer with it if they could just be downloaded similarly from the WP site. At least then we know they're as real a deal as the actual full package.

  9. angsuman
    Member
    Posted 8 years ago #

    @phonakins
    Frankly I too would love to get out of this thankless job. Its really the job of the development team. I maintain multiple blogs, so I used a patch file for my blogs. Then I decided to make it publicly available so others don't have to go through the same trouble.

    I would strongly recommend you not to use any file from any source which are not trustworthy in your opinion.

    BTW: It is Angsuman not Angusman.

  10. phonakins
    Member
    Posted 8 years ago #

    Angsuman. Gotcha :D

  11. Daven
    Member
    Posted 8 years ago #

    I just had great success in taking all my modified files (including the plugins folder, all of it) and putting them into a folder called "upgrades". I leave a copy of them in there on a permanent basis with the same directory structure.

    Now when I upgrade, I unzip the new WP to the desktop of my PC, then I copy the contents of "upgrade" to that folder, overwriting any existing files in there, and then upload the whole kit and kaboodle to my server.

    It was a painless up grade from the 1.5.1.2 to 1.5.1.3 where as before it was a lot of struggle.

    I'd suggest this for anyone. Of course, if you make modifications to any of the other files, you have to include those in the "upgrade" folder or it won't work next time.

    Just a thought.

  12. korereactor
    Member
    Posted 8 years ago #

    If there's updated code pertaining to any of those files in your "upgrades" folder though, you'll still obviously have to modify the code in your custom files as well. Otherwise you could still be open to security issues, etc.

  13. ericmacknight
    Member
    Posted 7 years ago #

    Another vote for an automated upgrade here.

  14. josalmon
    Member
    Posted 7 years ago #

    Or how about providing two different downloads on the download page - a full install and the latest upgraded files?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags