Hi, 2012/6/6 Sébastien Fricker <sebastien.fric...@gmail.com>: > Sylvain, > The scripts are not the state of the art of programming, but they are working > on a fresh installed Windows > platform. > That's why you see this strange structure: > batch file which call a VBS script and then s bash script in cygwin. >
I am not questioning the fact that it works. Everything seems correct and make sense with my own experience. That is not a problem. I think I just skip part of my story regarding my current work. I am setting up a continuous integration (build + test in various OS automatically). I have gone through various options for the CI (continuous integration) and end-up with Jenkins. But it has a major drawback: it takes 300MB rsize on my Mac. So my idea is to start building a set of CI script that one day I could use into an OCaml based CI that won't eat so much memory. My idea is to use Lua as the scripting language for this daemon. Lua is simple for scripting, doesn't need to be compiled, can easily be embedded into OCaml. It also comes with a nice installer for Windows packaged with various libraries. That is the reason why I am talking about a different choice. Of course, bat is the best choice for bootstrapping on Windows, sh is ok since you download cygwin and VBS is the only solution to download stuff. > Since I would like to use it as automatic test suite of GODI, I don't want to > have to install manually other > packages to get it working. So my opinion is that we should keep the > batch/VBS script. > Well that's my point: you try to setup an automatic test suite, I am setting up a build/test daemon ? Do you see the connection ;-) BTW, I have 2 VM for Windows: WinXP SP3 32 bits and Win 7 Home Premium/64 bits. > But if you you are using an other install procedure, we can adapt the bash > script and add the lua packages into > the cygwin packages to install. Lua will be installed anyway in the VM. > > Also, an other argument for this batch/VBS script: if we decode to add this > in scripts in rocketboost to have an > automatic installer of GODI, we cannot rely on a external tools to install > manually. > > Concerning the GIT repo on forge.ocamlcore.org: you can set it up, the code > is GPL ;) But effectively, having it > on ocamlcore.org is certainly more natural. > > Did you made some progress about the FLexDll issue? No, I am fighting to follow the path : ocsigen-bunlder -> oasis-db 0.1.0~alpha3 -> deploy oasis-db on oasis.ocamlcore.org -> test oasis on Windows [*] -> release oasis [*]: I was planning to use GODI on Windows for this step, but given the problems and the fact that I want to quickly release oasis, I'll maybe skip fixing GODI on Windows until I release oasis Tonigh task: get a version of oasis-db that can be deployed on oasis.ocamlcore.org; Regards Sylvain > Regards, > Sébastien > > On Tuesday 05 June 2012 20:19:43 Sylvain Le Gall wrote: >> Le 5 juin 2012 13:48, <sebastien.fricker >> <sebastien.fric...@gmail.com>@<sebastien.fric...@gmail.com> >> >> gmail.com <sebastien.fric...@gmail.com>> a écrit : >> > I have places my automatic installation script of GODI on Cygwin on >> > gitorious.org. >> > >> > Since the FlexDll issue is actually not corrected, this installation >> >> fails. >> >> > For all people which want to have a try: >> > https:// >> > <https://gitorious.org/cygwingodi/cygwingodi>gitorious.org<https://gito >> > rious.org/cygwingodi/cygwingodi> >> >> / >> <https://gitorious.org/cygwingodi/cygwingodi>cygwingodi<https://gitorious. >> org/cygwingodi/cygwingodi> / >> <https://gitorious.org/cygwingodi/cygwingodi>cygwingodi<https://gitorious. >> org/cygwingodi/cygwingodi> >> >> >> >> Very interesting approach. I choose a different bootstrap language, >> however. I use Lua which has a nice set of libraries (including curl) and >> which can be the base of a automatic installer for the whole godi. It also >> avoids the PL zoo (i.e vbs sh and bat) >> >> Example of what i have achieved (inside jenkins/hudson): >> Godi.bootstrap("3.12") >> Godi.build("godi-ounit") >> Godi.build("apps-oasis") >> >> It works only on mac and linux for now, i'll try to extend to windows >> starting from your script. >> >> Tell me if you are interested, ican setup a git repo on >> forge.ocamlcore.org.... >> >> Regards >> Sylvain >> >> > On Thursday 31 May 2012 15:14:40 Sébastien Fricker wrote: >> > > Thanks Gerd for sharing it. >> > > As soon as the FlexDll problem is corrected I think that I can start >> >> with >> >> > > it. Sébastien >> > > >> > > On Thursday 31 May 2012 15:06:41 you wrote: >> > > > Am Donnerstag, den 31.05.2012, 14:20 +0200 schrieb Sébastien Fricker: >> > > > > On Thursday 31 May 2012 14:05:12 Gerd Stolpmann wrote: >> > > > > > Sure, if I find time... The best thing would be if I got patches >> >> that >> >> > > > > > are ready to be applied. The time-consuming part is to test >> >> everything >> >> > > > > > (I currently don't even have a recent Cygwin installation at >> >> hand). >> >> > > > > Gerd, >> > > > > I have started to write a "test suite" which install GODI on >> > > > > Cygwin. But I have exactly the same issue with FlexDLL. >> > > > > As soon as I'm able to have completely atomized this step I will >> >> send >> >> > > > > you >> > > > > it the scripts. >> > > > > >> > > > > BTW: Can you share the suite which generates: >> > > > > https:// <https://godirepo.camlcity.org/openapps/autoui.cgi> >> >> godirepo.camlcity.org >> <https://godirepo.camlcity.org/openapps/autoui.cgi>/<https://godirepo.camlc >> ity.org/openapps/autoui.cgi> openapps >> <https://godirepo.camlcity.org/openapps/autoui.cgi>/<https://godirepo.caml >> city.org/openapps/autoui.cgi> autoui.cgi >> <https://godirepo.camlcity.org/openapps/autoui.cgi> May be I can then >> >> > > > > execute on Cygwin. >> > > > > Sébastien >> > > > >> > > > https://<https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/au >> > > > tobuild/> >> >> godirepo.camlcity.org<https://godirepo.camlcity.org/svn/app-camlcityd/trunk >> /src/autobuild/> / >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/autobuild/>svn< >> https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/autobuild/> / >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/autobuild/>app< >> https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/autobuild/> - >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/autobuild/> >> camlcityd<https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/autobu >> ild/> / >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/autobuild/> >> trunk >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/autobuild/> / >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/autobuild/>src< >> https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/autobuild/> / >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/autobuild/> >> autobuild<https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/autobu >> ild/> / >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/autobuild/> >> >> > > > https://<https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/db >> > > > schema/> >> >> godirepo.camlcity.org<https://godirepo.camlcity.org/svn/app-camlcityd/trunk >> /src/dbschema/> / >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/dbschema/>svn<h >> ttps://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/dbschema/> / >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/dbschema/>app<h >> ttps://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/dbschema/> - >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/dbschema/> >> camlcityd<https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/dbsche >> ma/> / >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/dbschema/>trunk >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/dbschema/> / >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/dbschema/>src<h >> ttps://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/dbschema/> / >> <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/dbschema/> >> dbschema<https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/dbschem >> a/> / <https://godirepo.camlcity.org/svn/app-camlcityd/trunk/src/dbschema/> >> >> > > > The autobuild db resides (for now) in Mysql, use godi_autobuild.sql >> >> for >> >> > > > creating it. >> > > > >> > > > Use jobs/autobuild2 for building packages (I guess you can remove the >> > > > call to sqlite3, this is just for skipping packages that are known >> > > > not to work). The script assumes certain paths: >> > > > >> > > > ~/autobuild/${GODI_SECTION}/: is the prefix for GODI >> > > > >> > > > ~/autobuild/${GODI_SECTION}-empty.tar.gz: is a tared-up "empty" GODI, >> > > > i.e. the state after bootstrapping, and removing everything except >> > > > godi-tools. >> > > > >> > > > >> > > > ~/autobuild/${GODI_SECTION}.conf is the godi.conf to use. >> > > > >> > > > ~/autobuild/${GODI_SECTION}.out is the log file >> > > > >> > > > xfvb-run starts a virtual X server, because some packages can only be >> > > > built when X is there. I guess you can remove this for win32. >> > > > >> > > > The other scripts in jobs/ are for driving the digester of the search >> > > > engine. Ignore them. >> > > > >> > > > Gerd >> > > > >> > > > > _______________________________________________ >> > > > > Godi-list mailing list >> > > > > Godi >> > > > > <Godi-list@ocaml-programming.de>-<Godi-list@ocaml-programming.de> >> >> list >> <Godi-list@ocaml-programming.de>@ocaml-<Godi-list@ocaml-programming.de> >> programming.de <Godi-list@ocaml-programming.de> >> >> > > > > https:// <https://godirepo.camlcity.org/mailman/listinfo/godi-list> >> >> godirepo.camlcity.org<https://godirepo.camlcity.org/mailman/listinfo/godi-l >> ist> / >> <https://godirepo.camlcity.org/mailman/listinfo/godi-list>mailman<https:// >> godirepo.camlcity.org/mailman/listinfo/godi-list> / >> <https://godirepo.camlcity.org/mailman/listinfo/godi-list>listinfo<https:/ >> /godirepo.camlcity.org/mailman/listinfo/godi-list> / >> <https://godirepo.camlcity.org/mailman/listinfo/godi-list>godi<https://god >> irepo.camlcity.org/mailman/listinfo/godi-list> - >> <https://godirepo.camlcity.org/mailman/listinfo/godi-list>list<https://god >> irepo.camlcity.org/mailman/listinfo/godi-list> >> >> > _______________________________________________ >> > Godi-list mailing list >> > Godi <Godi-list@ocaml-programming.de>- <Godi-list@ocaml-programming.de> >> >> list >> <Godi-list@ocaml-programming.de>@ocaml-<Godi-list@ocaml-programming.de> >> programming.de <Godi-list@ocaml-programming.de> >> >> > https:// <https://godirepo.camlcity.org/mailman/listinfo/godi-list> >> >> godirepo.camlcity.org<https://godirepo.camlcity.org/mailman/listinfo/godi-l >> ist> / >> <https://godirepo.camlcity.org/mailman/listinfo/godi-list>mailman<https:// >> godirepo.camlcity.org/mailman/listinfo/godi-list> / >> <https://godirepo.camlcity.org/mailman/listinfo/godi-list>listinfo<https:/ >> /godirepo.camlcity.org/mailman/listinfo/godi-list> / >> <https://godirepo.camlcity.org/mailman/listinfo/godi-list>godi<https://god >> irepo.camlcity.org/mailman/listinfo/godi-list> - >> <https://godirepo.camlcity.org/mailman/listinfo/godi-list>list<https://god >> irepo.camlcity.org/mailman/listinfo/godi-list> _______________________________________________ Godi-list mailing list Godi-list@ocaml-programming.de https://godirepo.camlcity.org/mailman/listinfo/godi-list