Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Ionel Maries Cristian
Hello, I have few comments: - That file layout basically forces you to have your development environment as close to the production environment. This is especially visible if you're relying on python c extensions. Since you don't want to have the same environment constraints as

Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Daniel Holth
We have more than 3 implementations of this idea, the Python Web Application Package and Format or WAPAF, including Java's WAR files, Google App Engine, silverlining. Let's review the WAR file, approximately: (static files, .jsp) WEB-INF/web.xml WEB-INF/classes/org/example/myapplication.class

Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Alice Bevan–McGregor
On 2011-04-11 00:53:02 -0700, Eric Larson said: Hi, On Apr 10, 2011, at 10:29 PM, Alice Bevan–McGregor wrote: However, the package format I describe in that gist does include the source for the dependencies as snapshotted during bundling. If your application is working in development, after

Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Alex Grönholm
11.04.2011 22:48, Alice Bevan–McGregor kirjoitti: On 2011-04-11 00:53:02 -0700, Eric Larson said: Hi, On Apr 10, 2011, at 10:29 PM, Alice Bevan–McGregor wrote: However, the package format I describe in that gist does include the source for the dependencies as snapshotted during bundling. If

Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Ian Bicking
On Sun, Apr 10, 2011 at 10:29 PM, Alice Bevan–McGregor al...@gothcandy.comwrote: Howdy! On 2011-04-10 19:06:52 -0700, Ian Bicking said: There's a significant danger that you'll be creating a configuration management tool at that point, not simply a web application description. Unless

Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Alice Bevan–McGregor
On 2011-04-11 13:49:20 -0700, Alex Grönholm said: I use Ubuntu on all my servers, and linux single does not work with it, I can tell you ;P The number of poorly configured Ubuntu servers I have seen (and replaced) is staggering. Any time the barrier to entry is lowered, quality suffers:

Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Ian Bicking
On Mon, Apr 11, 2011 at 2:56 AM, Ionel Maries Cristian ionel...@gmail.comwrote: Hello, I have few comments: - That file layout basically forces you to have your development environment as close to the production environment. This is especially visible if you're relying on python c

Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Eric Larson
On Apr 11, 2011, at 2:48 PM, Alice Bevan–McGregor wrote: On 2011-04-11 00:53:02 -0700, Eric Larson said: Hi, On Apr 10, 2011, at 10:29 PM, Alice Bevan–McGregor wrote: However, the package format I describe in that gist does include the source for the dependencies as snapshotted during

Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Ian Bicking
(I'm confused; I just noticed there's a web-sig@python.org and python-web-...@googlegroups.com?) On Mon, Apr 11, 2011 at 2:01 PM, Daniel Holth dho...@gmail.com wrote: We have more than 3 implementations of this idea, the Python Web Application Package and Format or WAPAF, including Java's WAR

Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Alice Bevan–McGregor
Howdy! On 2011-04-11 15:22:11 -0700, Ian Bicking said: I... think we are misunderstanding each other or something. Something. ;) A nice tool that could use this format, for instance, would be a tool that takes an app and creates a puppet recipe to setup a sever to host the application.  

Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Alice Bevan–McGregor
pre-install-hooks: [   apt-get install libxml2,  # the person deploying the package assumes apt-get is available   run-some-shell-script.sh, # the shell script might do the following on a list of URLs   wget http://mydomain.com/canonical/repo/dependency.tar.gz tar zxf dependency.tar.gz rm

Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Alice Bevan–McGregor
On 2011-04-11 16:13:06 -0700, Ian Bicking said: (I'm confused; I just noticed there's a web-sig@python.org and python-web-...@googlegroups.com?) I only see one actual gmane group, gmane.comp.python.web... — Alice. ___ Web-SIG mailing

Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Eric Larson
On Apr 11, 2011, at 6:47 PM, Alice Bevan–McGregor wrote: pre-install-hooks: [ apt-get install libxml2, # the person deploying the package assumes apt-get is available run-some-shell-script.sh, # the shell script might do the following on a list of URLs wget

Re: [Web-SIG] A Python Web Application Package and Format

2011-04-11 Thread Alice Bevan–McGregor
Eric, Let me rephrase a few things. On 2011-04-11 17:48:14 -0700, Eric Larson said: pre-install-hooks: [   apt-get install libxml2,  # the person deploying the package assumes apt-get is available Assumptions are evil. You could end up with multiple third-party applications each assuming