I need ChicagoBoss 0.8.9 with all its deps

69 views
Skip to first unread message

Iván Carmenates

unread,
Feb 15, 2014, 12:06:50 PM2/15/14
to chica...@googlegroups.com

Regards,

 

I'm starting a project and I'm using the old version of CB 0.8.7 but I have many troubles with it, for example: when connecting it with postgreSQL all fine until I open 3 or 4 taps in the browser and make multiple requests, each request insert 1000 rows in a database, and if I do that repeatedly for a very short time I get a boss system crash and the requests cannot be received in the browser. I tried the same using mysql module for an mysql database and everything went right, so I tried to replace the pgsql driver for a new one, but then I have to update the entire CB because the chain of errors grow up and up.

 

I cannot connect to github using rebar because of the git protocol and the restrictions of my proxy, I just need the last functional version of CB with all it deps, like the one (old now) you posted in the official site of CB http://chicagoboss.org/ months ago, now you have a reference to github without any deps. I liked it more when you could go to the official site and download the full and stable version.

 

Just in case you don't know I took the attribution of download dependency by dependency, commit by commit, tag by tag, 66 in total from github, but at the end it was a disaster because some deps uses one version of one specific dep and another use another version of the same dep, and even if I put each one on its deps folder the rebar when compiling does not recognize some of it and I have to put all of it in the same level at CB deps folder. So which version do I must choose?.

 

My point is, it would very nice to have already the 0.8.9 release with all its deps in the official site. Because I think, or maybe I’m wrong, there are people like me that cannot mess with all rebar get-deps and strangest protocols like git and so on.

 

Best,

Ivan

Karim Dahmani

unread,
Feb 16, 2014, 11:39:25 AM2/16/14
to chica...@googlegroups.com
Hi Ivan,

We had the same problems, I know my developers managed to solve them, I will get my developer to post how he did it for you as soon as possible.

Iván Carmenates

unread,
Feb 17, 2014, 3:49:26 PM2/17/14
to chica...@googlegroups.com
Regards Karim,

Thanks for answer me,

I will be waiting... another thing if you need some help, about documentation for cb or anything like it that does not  mean so much work, because I'm so so busy for now, but I have always a little of space and I'm willing to help, just let me know.

Another thing: There is somewhere a new documentation for cb 0.8.9 or the current master?

Nicholas Whittier

unread,
Feb 17, 2014, 4:57:35 PM2/17/14
to chica...@googlegroups.com
All the git repositories should support https requests, wouldn't something like this work:

    cd ChicagoBoss
    sed -i 's/git:/https:/g' rebar.config
    ./rebar get-deps
    sed -i 's/git:/https:/g' deps/*/rebar.config
    ./rebar get-deps
    ./rebar compile

Untested, and definitely a bit of a pain, but that might get you around blocked ports.

-- Nicholas

Karim Dahmani

unread,
Feb 17, 2014, 5:13:33 PM2/17/14
to chica...@googlegroups.com
Download and install Erlang r16b02  https://www.erlang-solutions.com/downloads/download-erlang-otp

Download ChicagoBoss v0.8.9  https://github.com/ChicagoBoss/ChicagoBoss/archive/v0.8.9.zip

# rename this to ChicagoBoss

# Go to CB directory
cd ChicagoBoss/

# Get all dependences of CB
./rebar get-deps


# Delete erlydtl dependence
rm -rf deps/erlydtl/


# Edit rebar.config
vim deps/boss_db/rebar.config


# And add tag v0.8.1 to erlydtl dep, just like that
{erlydtl, ".*", {git, "git://github.com/erlydtl/erlydtl.git", {tag, "0.8.0"}}}


# and then
make clean && make

David Welton

unread,
Feb 18, 2014, 4:27:07 AM2/18/14
to chica...@googlegroups.com
> # Get all dependences of CB
> ./rebar get-deps

This is what he's having trouble with. I think Nicholas' suggestion
is a good one.

> # Delete erlydtl dependence
> rm -rf deps/erlydtl/
>
>
> # Edit rebar.config
> vim deps/boss_db/rebar.config
>
>
> # And add tag v0.8.1 to erlydtl dep, just like that
> {erlydtl, ".*", {git, "git://github.com/erlydtl/erlydtl.git", {tag,
> "0.8.0"}}}

That's a pretty good strategy for Ivan's needs if he wants something stable.

For those willing to try the very latest stuff, I've integrated the
recent changes in rebar and erlydtl in my CB branch on github. I've
also fixed some of the compilation issues it was having (no logging).

--
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/
Reply all
Reply to author
Forward
0 new messages