WordPress.org

Ready to get started?Download WordPress

Forums

Easier upgrading (21 posts)

  1. KKWangen
    Member
    Posted 8 years ago #

    I was wondering if there was possible to make a "only new/ changed files" sort of upgrade package for downloading as well as the full version of the script.

    WordPress is getting quite complex and it takes a lot of time upgrading it because you have to delete all old files.

    But as I understand the script, there should be no need to delete all files in the (for example) wp-admin folder, unless there are changes in all the files.

    So if there was possible to get a 'upgrade only' package, it would be easier to see which files you have to delete and replace when upgrading.

  2. bob58
    Member
    Posted 8 years ago #

    That depends on where you are upgrading from. 2.0? 2.0.1? 1.5.1? ... there have to be a lot of lists. But of course it's possible.

    You can always do a diff on the old version and the new one and then upload only the changed files. I do that because it's interesting to see what changed.

  3. Yeah, I wouldn't mind a changed files only ZIP for minor upgrades.

    And technically you don't need to delete files for minor upgrades as in most cases, files aren't removed (that's the reason for deleting files for the most part).

  4. KKWangen
    Member
    Posted 8 years ago #

    This idea is probably best for 2.0.x - as when upgrading from 1.5.x to any 2.0.x version it is best to go with full script.

    So, let's say if you're going to upgrade from 2.0 to 2.0.2 you would need to download both the "upgrade to 2.0.1" and "upgrade to 2.0.2" to make the upgrade.

    But of course, just a list of what files that has been changed (Does that excist somewhere?) would do as well, when come to think about it. (And that's probably less job for the developers than creating a download package.)

    I don't have that much php knowledge to just look at the code and then know exactly what has been changed, and I don't think most of people who use wordpress don't have that knowledge (or the time to figure it out) either.

  5. bob58
    Member
    Posted 8 years ago #

    I have linked the two diff files in my blog at:
    http://bobsblog.de/bob/index.php/2006/03/20/upgrade-auf-wordpress-202/

    btw.: I know my theme is broken, but time is a valueable gift ...

  6. Tom Lany
    Member
    Posted 8 years ago #

    Is one-click upgrading a possibility? This could relieve a lot of stress for newer users. Also, it would ensure that everyone upgrades when important security releases are released.

  7. Kafkaesqui

    Posted 8 years ago #

    tomthewebmaster, if you can come up with a tool that would allow a vast majority of WordPress users on the miriad types of servers and setup configurations that exists out there to be able to do this...

    It's a topic that comes up from time to time (even with the devs). Good solutions for it are, um, rare.

  8. Tom Lany
    Member
    Posted 8 years ago #

    I don't know how viable creating a general utility would be. If someone could create a utility to do this and then send it out to hosts to customize and add to their servers, that would be cool. I don't have the codeing knowledge to do this.

    Looking at Fantastico might be a good starting place. I have Fantastico on my hosting account. It creates a Word Press blog and database, but it does now allow upgrading of blogs. I do this through FTP, just like I am sure most other users do. Creating a utiliity that actually upgrades Word Press would probably prove more difficult.

    Getting a utility like this on hosting accounts would probably expand the Word Press userbase.

  9. Kafkaesqui

    Posted 8 years ago #

    "I don't have the codeing knowledge to do this."

    As don't I. It would be a complicated project whether a generalized tool or one aimed specifically at WordPress. And it would deal with a lot of the same issues the WordPress devs as a whole do, and more. Is something like this possible? Of course it is, but it would be quite a project to take on.

  10. Kafkaesqui

    Posted 8 years ago #

    "Getting a utility like this on hosting accounts would probably expand the Word Press userbase."

    Well, I can't disagree with that. I'd even remove the "probably."

  11. tariq
    Member
    Posted 8 years ago #

    What's wrong with CVS? It'll magically download whatever files have changed. (It works for Gallery)

  12. Tom Lany
    Member
    Posted 8 years ago #

    What's CVS?

    UPDATE: Found it... should have tried a Google search first.

  13. Oceanwatcher
    Member
    Posted 7 years ago #

    Sorry for pulling up an old thread again, but this just echoed my thoughts very well...

    An easy way to upgrade is really needed. The five step upgrade might be easy for anyone that likes hacking code, but for any non-programmer that just want to install a blog and make sure it is updated and secure, the upgrading can seem scary.

    First thing that needs to be done:

    Remove the subfolder in the zip file. This is a real annoyance. I never install WordPress in a subfolder as I run it as the main CMS on the sites where I use it. So upgrading is always a pain. Installing in a subfolder is again no problem if you are a programmer, can fix your .htaccess so nobody will notice it etc. But generally it is a bad idea to force this on people. If you want it in a subfolder, then create the subfolder of your choice and unzip it there. Most people do not have shell access to their hosting account. But many have cPanel. And in cPanel your only option is to unzip as is...

    Second:

    Make increment upgrades available (is this the right word?).

    2.0-2.0.5.zip
    2.0.1-2.0.5.zip
    2.0.2-2.0.5.zip
    2.0.3-2.0.5.zip
    2.0.4-2.0.5.zip

    Any older than 2.0 will have to upgrade to 2.0 first.

    This system is being used for Joomla at the moment and works great. Takes the whole problem out of upgrading. Just ftp the upgrade to your root installation and use cPanel to unzip it. Done.

    A good upgrade function in WordPress would be to have a tool that check the WordPress.org server for new versions and alert you when you log on to the admin panel. Then have a button that download the upgrade and unzip it. Basically a little more automated version of the one above. This method only deals with WordPress files, so it does not matter what OS you are on.

    I think we all can agree that keeping all WordPress installations secure is a must. But with the current way to upgrade, a lot of people do not fix things until it is broken. And this has to be addressed.

    The reason why I do not like unzipping and rezipping to get rid of the subfolder, is that I am hosting my websites on a Linux server, and doing anything to files on a windows PC tends to always break something...

    BTW - I have noticed that some people do a diff and make it available online. This is fine, but for security reasons, this should be done by the WordPress team.

  14. MartinSchm
    Member
    Posted 7 years ago #

    hi,

    i came to this forum to make a post for the exact same topic, nice to see that other people have the same 'problem'. I like WP and I think its a great tool but the upgrade process is rather tedious. I am not sure how it could be made easier but Oceanwatcher's post seems to be a good start.

    cheers
    martin

  15. Oceanwatcher
    Member
    Posted 7 years ago #

    It would be nice to get some response from somebody that is close to the core programmers on this request. I think it is a critical thing, because I am sure it keeps a lot of people from upgrading their blogs.

    And unsecured blogs with difficult upgrade routines could give WordPress a bad reputation.

  16. beoba
    Member
    Posted 7 years ago #

    Yeah, it'd be nice if a 6-file update (2.0.6->2.0.7) didn't require that I redownload the entire wordpress application and manually extract and replace those 6 files. Isn't this what patches are for?

    How about this: Each time there's another update, post a .patch to update from the previous version to the new latest. Since you've started having updates every <1 month, this is likely the largest source of WP downloads anyway.

    All other upgrades (anything greater than "n => n+1") can use the full download.

  17. moshu
    Member
    Posted 7 years ago #

    It would be nice to get some response from somebody that is close to the core programmers

    I agree... they just don't really visit this forum. Rarely.

    You may have better chances to participate in the discussion in any of the mailing lists where the devs are present:
    http://lists.automattic.com/mailman/listinfo
    (testers, hackers)

  18. drmike
    Member
    Posted 7 years ago #

    A quick Google search pulls up that Mark Jaquith has been releasing the smaller zip files and a list of the files that did get updated himself:

    http://markjaquith.wordpress.com

    Regards,
    -drmike

    edit: Put in Mark's last name. Sorry about that. Too many Marks around here. :)

  19. beoba
    Member
    Posted 7 years ago #

    In general, should a user be expected to trust unofficial sources for patches to their applications?

  20. moshu
    Member
    Posted 7 years ago #

    Hmmm. http://wordpress.org/about/
    Take a look at the right sidebar > developers' list ;)

  21. beoba
    Member
    Posted 7 years ago #

    Take a look at the bottom of Mark's page:

    I should mention that these files are unofficial. They were made on my own time, of my own volition, without any input from other WordPress developers and without any official sanction from Automattic inc.

Topic Closed

This topic has been closed to new replies.

About this Topic