[wp-trac] Re: [WordPress Trac] #5560: Integrate Automatic Upgrade
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 9 13:24:56 GMT 2008
#5560: Integrate Automatic Upgrade
-------------------------+--------------------------------------------------
Reporter: keithdsouza | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by darkdragon):
I'm moving towards pluggable functions, since this would allow for my svn
system (I would want to use the !WordPress Plugin Respository to checkout
and update the plugins). So basically, it could probably forward.
#4779 has working, unit tested code that fully supports many file system
methods and is extensible. So I haven't received any feedback on that
ticket on what improvements need to be made. It functionality into the
core would allow for downloading a zip file.
However there are only a few methods to unzip on PHP systems.
1. If *nix, using the system function (if not disabled) to unzip the
file.
1. Two zip extensions are available to test for. The Zip extension does
quite a good job and is very easy. I would recommend using that.
1. Some PHP class that combines all three above methods.
The reason I would advocate SVN is that even through, many users won't use
it, building an installer for SVN can come later and be a plugin or the
user can checkout the repository by shell and manage WordPress
administration from there. Many testers also use Subversion, so haven't a
one click upgrader that no one else can find and run would be useful.
It is also to be complete. The only other method besides FTP/HTTP and
Subversion is PEAR. I also think Subversion upgrader would be both the
easiest and more secure version (the upgrader can automatically add
.htaccess rules to prevent looking into the .svn folders for the user).
--
Ticket URL: <http://trac.wordpress.org/ticket/5560#comment:18>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list