[wp-trac] [WordPress Trac] #18201: Verify updates with md5 checks
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 21 21:18:07 UTC 2011
#18201: Verify updates with md5 checks
-----------------------------+-----------------
Reporter: nacin | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.3
Component: Upgrade/Install | Version:
Severity: normal | Keywords:
-----------------------------+-----------------
Before an update, we should verify core files with a list of md5s,
returned through the API. We should do this in order to determine whether
we can safely do a partial build, or if we should just copy over
everything.
During the update, we can avoid copying over any files that are up to
date, as verified by md5 results beforehand. This should save a number of
FTP calls, in particular.
After the update, we should md5 files we've copied over, and see if
anything went wrong, and try again if necessary. Unfortunately we don't
always know why updates fail, so we're going to need to test the hell out
of this and see what kinds of cases we can cover. (Maybe it's time for
error reporting back to WP.org?)
Any other thoughts?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18201>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list