Re: [pylons-devel] Please reconsider deprecating --daemon from pserve

2015-12-30 Thread Bert JW Regeer
The reason it is being deprecated is because it is fragile code, we have found  
variety of issues with it, as well as some of the functionality surrounding it. 
We don’t believe that it is a good idea for a utility script to provide 
daemonisation features. In the future you may want to consider doing what 
Sontek does, and is run pserve in screen or tmux. This doesn’t change anything 
else in your deployment scenario, other than that you prefix the pserve command 
with “screen” or “tmux”.

pserve as a script can also be placed within your own project, if you’d like to 
maintain the ability to daemonise.

Bert JW Regeer

> On Dec 30, 2015, at 11:40, Iain Duncan  wrote:
> 
> Hi folks, I wanted to weigh in on the decision to deprecate --daemon, as I 
> think that's a bad idea. I agree that in production we should use "real 
> monitor services", but during the development process I use --daemon 
> routinely, and I doubt my workflow is that uncommon. I am constantly putting 
> dev versions up on private ec2 instances for my remote team mates to poke at. 
> It's really convenient to be able to get it up as fast as possible, and any 
> additional steps for these demo apps are a pain. Right now it's dead easy for 
> me to turn on with daemone and add three lines to the default apache config 
> file to proxy to the server and I'm done.  
> 
> I would also argue that in the marketing sense, the last thing Pyramid needs 
> is to be seen as even more 'roll your own' and inconvenient. I would vote for 
> leaving it in and simply printing a warning. For me at least, it's going to 
> be a headache and will prob mean for simple demos I pin to Pyramid 1.5
> 
> thanks for listening
> Iain
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "pylons-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to pylons-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to pylons-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/pylons-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-devel+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/pylons-devel.
For more options, visit https://groups.google.com/d/optout.


smime.p7s
Description: S/MIME cryptographic signature


[pylons-devel] Please reconsider deprecating --daemon from pserve

2015-12-30 Thread Iain Duncan
Hi folks, I wanted to weigh in on the decision to deprecate --daemon, as I
think that's a bad idea. I agree that in production we should use "real
monitor services", but during the development process I use --daemon
routinely, and I doubt my workflow is that uncommon. I am constantly
putting dev versions up on private ec2 instances for my remote team mates
to poke at. It's really convenient to be able to get it up as fast as
possible, and any additional steps for these demo apps are a pain. Right
now it's dead easy for me to turn on with daemone and add three lines to
the default apache config file to proxy to the server and I'm done.

I would also argue that in the marketing sense, the last thing Pyramid
needs is to be seen as even more 'roll your own' and inconvenient. I would
vote for leaving it in and simply printing a warning. For me at least, it's
going to be a headache and will prob mean for simple demos I pin to Pyramid
1.5

thanks for listening
Iain

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-devel+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/pylons-devel.
For more options, visit https://groups.google.com/d/optout.