On Dec 3, 11:51 pm, Thadeus Burgess <thade...@thadeusb.com> wrote:
> this is aweful alot just to determine when to upgrade a damn app...
>
> Honestly, what files usually need to be upgraded for a site that has
> been edited?
>
> [web2py_ajax.html, appadmin.py]

Nothing. It is not obvious that you want to upgrade these files
without looking at the changes.

> Does anybody ever edit admin??? Why would you. I consider admin as a
> part of web2py, not an app I would edit.
>
> I think the real question that was originally asked was
>
> "When I upgrade, will web2py automatically upgrade my web2py_ajax.html
> and appadmin.py or do I have to copy some new ones over"
>
> How do we deal with if these files have been altered... either use a
> simple MD5 checksum, or make it an all or none process (they either
> update or don't, if they do, they know what will happen)

I believe the md5 option is overkill. Moreover it would be
responsibility of the app that may have been edited to keep the md5 of
the original version. It is a nighmare and not worth the tourble. The
options at this point are:

1) have links in admin that after web2py upgrade offer to upgrade
admin/welcome/examples (with an optional remider popup)
2) always upgrade admin and examples but not welcome (because people
do edit welcome).

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to