News for hackers. Stuff that matters.
Re:Mongrel2 1.0 released. by bnoordhuis on Thursday September 02, 2010 @06:54AM (#1655777)
I've put up a GH repository of mongrel2 with its dependencies included. Compiling and installing should be as simple as typing:

  make all install PREFIX=$HOME/opt/mongrel2
http://github.com/bnoordhuis/mongrel2
Re:Mongrel2 1.0 released. by nailer on Thursday September 02, 2010 @07:53AM (#1655892)
First, thanks!

From your commit log:

> Disable target install-py for now, it requires sudo.

Agreed: re: disabling app that needs root unnecessarily. I don't want anything fucking with my OS python.

Have you considered having it simply call pip instead, so it installs to the current virtualenv?

Re:Mongrel2 1.0 released. by bnoordhuis on Thursday September 02, 2010 @08:39AM (#1655969)
I hadn't but I probably should have. Reading through the pip documentation as we speak - if you have some quick pointers, don't hesitate to post them.
Re:Mongrel2 1.0 released. by zedshaw on Thursday September 02, 2010 @11:41AM (#1656504)
We should revist this. It's mostly for convenience since lots of people just put the m2sh stuff wherever everything else goes. Problem is that screws up virtualenv folks.

Any ideas on it other than disabling?

Re:Mongrel2 1.0 released. by baq on Thursday September 02, 2010 @03:52PM (#1657419)
everything else goes into virtualenvs or user bin/pythonpath; python stuff is unfortunately too fragile to put everything in one place.
Re:Mongrel2 1.0 released. by nailer on Friday September 03, 2010 @09:54AM (#1659538)
It's not so much about Python being fragile, it's more that the OS - Linux in particular - uses Python itself, and modules can modify the behavior and break it. (same things if you used Puppet to manage your configs and broke your OS Ruby).

Keeping everything in one dir also makes deployment way simpler.

Re:Mongrel2 1.0 released. by aslakhellesoy on Thursday September 02, 2010 @11:23AM (#1656416)
How will Zed merge your changes back to his fossil repo, and how will you merge his changes back to git?

I'm not sure I understand the motivation for putting the code on github unless changes can flow both ways.

Re:Mongrel2 1.0 released. by xiongchiamiov on Thursday September 02, 2010 @05:13PM (#1657697)
It'd be nice if someone wrote a fossil<->git bridge, since there are (multiple) foo<->git bridges for most other values of foo: https://git.wiki.kernel.org/index.php/Interfaces,_frontends,...
Re:Mongrel2 1.0 released. by zedshaw on Thursday September 02, 2010 @11:38AM (#1656488)
Actually there's already a few git mirrors I'll pull from if people tell me to. I then have a few branches from the fossil repo that have the git stuff in them. Works pretty easily actually.

But, I really should just follow this so I can get the changes as an email.