The check could be easy, just MD5 the file. It shouldn't upgrade if the file doesn't exist either. However if you are picking what to upgrade, I guess then it doesn't matter *unless you forgot!*
I also would like a way to upgrade my web2py version without it updating welcome and examples apps. I was thinking, why was appadmin never made part of "admin" ? -Thadeus On Sun, Mar 28, 2010 at 9:53 AM, mr.freeze <[email protected]> wrote: > What about just having another link in 'admin/default/site' ? : > > [ EDIT | about | errors | clean | pack all | compile | uninstall > | upgrade ] > > It could take you to a page that lets you pick things to upgrade: > appadmin.py > appadmin.html > web2py_ajax.html > base.css > jquery.js > etc... > > You could even get fancy and detect if the files are different. > > > On Mar 28, 10:23 am, mdipierro <[email protected]> wrote: >> I agree. It could be done in two steps. >> >> 1) when welcome.w2p is built also build web2py.plugin.appadmin.w2p >> which contains models/appadmin.html and views/appadmin.html >> >> 2) upgrade whould be done by applying the plugin. >> >> Massimo >> >> On Mar 28, 9:59 am, "mr.freeze" <[email protected]> wrote: >> >> > It might be nice to have an option in admin to 'upgrade' (copy over) >> > appadmin.py and appadmin.html from welcome to your app. >> >> > On Mar 28, 1:33 am, Thadeus Burgess <[email protected]> wrote: >> >> > > Here is the correct older appadmin.html >> >> > >http://pastebin.com/FT632P1A >> >> > > -Thadeus >> >> > > On Sat, Mar 27, 2010 at 11:35 PM, Thadeus Burgess >> > > <[email protected]> wrote: >> > > > I just upgraded web2py, and have ran into an issue with web2py. >> >> > > > Using an older version of appadmin,http://pastebin.com/jSnLT2Ua >> >> > > > Traceback (most recent call last): >> > > > File "/home/thadeusb/web2py/gluon/restricted.py", line 173, in >> > > > restricted >> > > > exec ccode in environment >> > > > File "/home/thadeusb/web2py/applications/dolls/views/appadmin.html", >> > > > line 68, in <module> >> > > > {{fieldname=table._primarykey[0]}} >> > > > IndexError: list index out of range >> >> > > > Upgrading to the latest appadmin fixes >> > > > this.http://pastebin.com/MFVvyXrW >> >> > > > -Thadeus >> >> > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

