Thanks for the feedback.
On Wednesday, February 19, 2014 2:29:06 PM UTC-8, Niphlod wrote: > > Did it with a bit of turnarounds, but it's pretty solid. > Check out > https://github.com/niphlod/w2p_tvseries/blob/master/private/w2p_tvseries_installer.py > > a tiddle bit of tl/dr: > - somewhere on the internet there's an updated version of the app. in my > case, a tagged github zipball > - somewhere on the internet there's a "version" file that can be fetched > and compared to the local one to initiate the upgrade process (in my case, > a file stored on github) > - there is an upgrade process defined . in my case, a bit of turnarounds > but you can safely assume the following: > - compare versions > - download new archive > - backup current app > - overwrite with new archive > - initialize what needs to be initialized > > From experience I can tell you that the upgrade process should be > two-stepped (because it's unlikely you'll create an "update routine" that > works every time)... so, I do it in two steps... start the script, compare > versions... at this point, download the newest "update routine" and > overwrite it. Then start it, check again versions, and start the real > update process. > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

