I'm using deployment scripts (which check dependencies and webp2y version, perform updates if necessary, etc.) for easy deployment of my applications and there are a few pitfalls with web2py. It would be good if this could be resolved and thus make web2py more professional.
Sometime ago you made an own module of DAL which I think is good because DAL is really great and should be used in other projects as well. The problem is that you reference DAL as a submodul in the git repository of web2py. This makes it hard to get a working snapshot of web2py. E.g. look here for the latest releases: https://github.com/web2py/web2py/releases downloading a release from here only gives a broken release because gluon/packages/dal is empty. The same happens when I checkout web2py directly from github. As a workaround I download the release from "http://web2py.com/examples/static/<version>/web2py_src.zip" which is complete. But I don't actually know if this download is stable (since it's in the examples directory). If you should ever decide to remove the downloads from there all my deployments will be broken. * Solution: insert DAL code of specific DAL release into web2py repository and not just a reference. Upgrade the DAL code once in a while (e.g. for new major web2py version). This removes the problematic dependency. The second issue is that the repository contains all the applications (admin, examples, welcome). This means I have all those applications on all my productive systems when I install web2py. My options are now to either delete those applications after installing web2py or block them (in the webserver config). I understand web2py comes Batteries included but for real world projects this is not optimal. * Solution: make an own repository for the web2py applications and package them in the available downloads (as you currently already do with DAL in the zip-file). Alex -- 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/d/optout.

