wtetzner has quit [Remote host closed the connection]
adnam has left #ocaml []
avsm has quit [Quit: Leaving.]
jld has quit [Ping timeout: 264 seconds]
Tianon has quit [Ping timeout: 260 seconds]
dnolen has joined #ocaml
dnolen has quit [Client Quit]
jld has joined #ocaml
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
wtetzner has joined #ocaml
vivanov has joined #ocaml
mjonsson has quit [Remote host closed the connection]
er has quit [Quit: er]
Tobu_ has joined #ocaml
Tobu has quit [Ping timeout: 248 seconds]
raphscallion has joined #ocaml
avsm has joined #ocaml
avsm has quit [Client Quit]
ulfdoz has quit [Ping timeout: 250 seconds]
jderque has joined #ocaml
Yoric has joined #ocaml
wtetzner has quit [Ping timeout: 246 seconds]
philtor has joined #ocaml
wtetzner has joined #ocaml
raphscallion has quit [Quit: raphscallion]
raphscallion has joined #ocaml
philtor has quit [Read error: Operation timed out]
philtor has joined #ocaml
hto_ has quit [Ping timeout: 263 seconds]
ftrvxmtrx has quit [Quit: This computer has gone to sleep]
Yoric has quit [Quit: Leaving.]
chegibari has joined #ocaml
larhat has joined #ocaml
philtor has quit [Ping timeout: 276 seconds]
chegibari has quit [Remote host closed the connection]
ikaros has joined #ocaml
hto has joined #ocaml
chegibari has joined #ocaml
rby has joined #ocaml
Yoric has joined #ocaml
ftrvxmtrx has joined #ocaml
jderque has quit [Quit: leaving]
Cyanure has joined #ocaml
ocp has joined #ocaml
<chegibari>
Does ocamlc ignore "-o" when it's "compiling only", that is when then "-c" switch is used?
<chegibari>
What if I want to build the .cmo files in another folder? Do I have to copy/link that file in the folder, compile and delete the copy/link?
<f[x]>
iirc that's because not all C compilers support building in separate folder
<chegibari>
ok, thanks
<flux>
imo those compilers should be worked around. compiling to a separate directory is a feature that is wished a lot.
<flux>
and for example ocamlbuild works around that by copying source files around. how lame is that?
thomasga has joined #ocaml
raphscallion has quit [Ping timeout: 240 seconds]
<f[x]>
flux, I guess nobody will be against patches :)
<f[x]>
PR#3904 and PR#3757
<flux>
isn't bug tracker the place where patches go do die.. ;)
ftrvxmtrx has quit [Quit: Leaving]
<f[x]>
may be :)
<ocp>
indeed, there are many patches in the bug tracker that have not yet been applied
<ocp>
it would be nice to have a rep of all the patches that have been submitted there
<ocp>
and not yet applied
<f[x]>
there was some repo on github with this purpose iirc but as appears nobody needs it
<f[x]>
that's just the question of real need - creating such repo is zero technical problems thanks to git
joelr has joined #ocaml
<joelr>
good morning
<joelr>
is it possible with oasis to say that db.mli should be compiled before db.ml? this is so that i can resolve recursive module dependencies in db.ml
<joelr>
gildor: ^
<f[x]>
no, this is an ugly hack and no build system will support it out of the box
ocp has quit [Ping timeout: 260 seconds]
<joelr>
darn
<joelr>
f[x]: why is it an ugly hack?
<f[x]>
that's my subjective feeling that it is ugly
<joelr>
why?
<rproust>
afaik db.mli is compiled before db.ml if you use ocamlbuild, ocamldsort or anything of the sort
<f[x]>
primarily because I've never personally used it
<rproust>
if not you get "no cmi found for the file …" or someting like that
<joelr>
maybe i just need to rearrange my modules in the mli file then
<joelr>
let me try that
<joelr>
nope, doesn't :-(
<rproust>
if all of your recursive modules are within the same file, it's fairly easy
<joelr>
rproust: use it just in the mli? i don't think that's possible :-(
<rproust>
if your recursive modules are files of their own, then it becomes a ugly hack
<rproust>
look at the link I gave
<joelr>
and i don't want to go the route that the manual suggests, i.e. duplicate signatures in the ml file in the rec module definition and then duplicate the signatures again in the mli file
<rproust>
you don't need to
<joelr>
rproust: thanks for the link, how is it that i don't need to?
<joelr>
rproust: are you saying i can define the modules as recursive -just- in the mli file?
<rproust>
you can put the recursive signatures in the mli and the recursive implementations in the ml
<joelr>
interesting...
<joelr>
tryign...
<joelr>
trying
<rproust>
module rec A = struct … end and B = struct … end <-- in you ml should work
edwin has quit [Remote host closed the connection]
<ocp>
interesting, indeed
<ocp>
it is one item of our roadmap ;-)
<thelema>
:)
lopex has joined #ocaml
rby has joined #ocaml
joelr has joined #ocaml
<ocp>
ok, must go, see you all
ocp has left #ocaml []
pdhborges has quit [Quit: Leaving.]
jderque has joined #ocaml
edwin has joined #ocaml
joelr has quit [Quit: joelr]
Associat0r has joined #ocaml
lopex has quit []
<thelema>
Has anyone else gotten an error about missing ocamlbuild.cmx with 3.12?
bzzbzz has quit [Quit: leaving]
<thelema>
yup, very odd. [make opt] skips installing ocamlbuild.cmx, but [make opt.opt] installs it
joewilliams_away is now known as joewilliams
ymasory has quit [Quit: Leaving]
ulfdoz has joined #ocaml
bzzbzz has joined #ocaml
ulfdoz_ has joined #ocaml
enthymeme has joined #ocaml
ulfdoz has quit [Ping timeout: 258 seconds]
ulfdoz_ is now known as ulfdoz
ftrvxmtrx has quit [Quit: This computer has gone to sleep]
lopex has joined #ocaml
Yoric has quit [Quit: Leaving.]
chambart has quit [Ping timeout: 246 seconds]
sgnb has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
boscop has joined #ocaml
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
enthymeme has joined #ocaml
chambart has joined #ocaml
olauzon has joined #ocaml
Yoric has joined #ocaml
ftrvxmtrx has joined #ocaml
yezariaely has joined #ocaml
yezariaely has left #ocaml []
sepp2k has joined #ocaml
emmanuelux has joined #ocaml
ocp has joined #ocaml
larhat has quit [Quit: Leaving.]
Tobu_ has quit [Ping timeout: 248 seconds]
ymasory has joined #ocaml
Tobu has joined #ocaml
<hcarty>
gildor: An instance of gitorious on the forge would be very nice. It provides a clean interface, and would hopefully entice more projects to move over from github.
<thelema>
hcarty, gildor: What's the problem with github? Its not being open source seems to be the best argument against it, and even that is a pretty weak argument
<hcarty>
thelema: gitorious provides a migration path away from a host
<hcarty>
thelema: github does not, as far as I understand
<thelema>
hcarty: migration path away? i.e. we're locked into using github?
<thelema>
I guess the issues and wiki aren't trivial to migrate from, I think everything else is.
<hcarty>
Those are pretty signifcant parts of a project
<hcarty>
Also, providing a better services on the forge is, in general, a good thing
<hcarty>
If it is then a better competitor to github, so much the better.
<thelema>
I don't mind the forge providing better services. I just feel oddly pressured to leave github
<hcarty>
thelema: You hear a voice in the back of your head. It calls out, "Use the Forge, Edgar!"
philtor has joined #ocaml
<hcarty>
I think that, for a project which wants to be an important part of the OCaml community, it would be ideal if it were hosted on the forge.
<hcarty>
If the forge needs to be improved for that to happen, then it will hopefully be improved to the point where it is polished enough.
<hcarty>
github certainly provides a cleaner and prettier interface than the forge. Possibly even cleaner than gitorious.
<thelema>
hcarty: I don't think gildor can do that even with 48 hours in a day.
<ocp>
I think it is not a good idea
<ocp>
github has statistics on languages
<ocp>
the more ocaml projects there, the more OCaml is visible for people using other languages
<ocp>
if all ocaml projects are on ocamlcore.org, then they are not visible for people not using OCaml
<hcarty>
ocp: That's a fair point
<ocp>
so actually, it would be better to have some kind of "ocaml freshmeat" on ocamlcore.org
<hcarty>
It's a bit of a trade off between discoverability for people who don't use OCaml and people who do
<hcarty>
ocp: The Hump is something along those lines
<ocp>
the hump is a good starting point, but it is not easy to update
<gildor>
concerning the hump, I think oasis-db is almost the hump + login
<thelema>
gildor: I agree that the count of ocaml projects isn't that great, but the fact that many programmers already have accounts on github makes it easier for them to switch to a github/ocaml project than moving to ocamlforge
<gildor>
thelema: if you have read my post, I don't say people should switch from github to ocamlforge, I know that it is not a good idea
<gildor>
I am just pondering the option to make both of them live together
<thelema>
why?
<gildor>
(i.e. plugin to synchronize, RSS feed to make more advertisement of ocaml github project)
<gildor>
why about what ?
<thelema>
why have github/ocamlforge work together more
<gildor>
to advertise ocaml projects for example
<thelema>
i.e. if an ocaml project starts on github, it'll get an announcement like ocaml projects started on the forge?
<gildor>
yes
<gildor>
that will be good
<gildor>
this is not a big advertisement but this is a way to integrate
milosn has quit [Remote host closed the connection]
<thelema>
hmm, it seems that it would suffice to have a list of ocaml projects on github and pull data from github to do things with
<gildor>
that the point of the project activity-reporter
<gildor>
have a look at it, if you want, I have too much work to finish it
jld has quit [Ping timeout: 260 seconds]
<thelema>
What if oasis auto-build a package based on a github tag "oasis-v2.0"
Tianon has quit [Ping timeout: 260 seconds]
<gildor>
thelema: not sure to follow you...
<thelema>
i.e. what if the process of me updating oasis-db with the new release of batteries was: 1) tag the version I want to release as "oasisdb-v2.0" 2) there is no step 2
<gildor>
thelema: ah yes, it something I plan (with mjambon pushing me to do it)
<gildor>
but based on whatever tag you push
<thelema>
but then how would #2 happen automatically?
<thelema>
print_endline "Some packages depend on the just installed packages and should be re-installed.";
<hcarty>
That plus an auto-upgrade flag would be excellent
<thelema>
print_endline "The command to do this is:";
<thelema>
print_string "ocaml odb.ml -force "
<thelema>
List.iter (printf "%s ") reqs;
<hcarty>
thelema: Bonus points if it points out packages which depend on the package "foo" but which are not installed/installable with odb
<hcarty>
print_endline "Some dependent packages are not available through odb: localfoo localbar localbaz"
<thelema>
at the moment, I think it'll fail in some unknown way when that happens
<thelema>
it might report that in the middle of its huge output
<thelema>
(if you use auto-install)
<hcarty>
That's reasonable for now
<thelema>
it's a start
<hcarty>
How much work would it be to support multiple package repositories? For example, official and local repositories.
<thelema>
meaning if it didn't find a package at a certain repo, it'd try the next repo?
<thelema>
not particularly difficult.
<thelema>
you could implement it pretty easily. :)
<hcarty>
thelema: If I get the time to, I certainly will :-)
Tobu has quit [Remote host closed the connection]
Tobu has joined #ocaml
thomasga has quit [Quit: Leaving.]
<thelema>
hcarty: initial version committed. It may be a while before we can really test this, but if you see any obvious bugs, fix them or let me know.
<hcarty>
thelema: Thank you - I certainly will
ygrek has quit [Ping timeout: 246 seconds]
ymasory has quit [Quit: Leaving]
lopex has quit [Ping timeout: 250 seconds]
lopex has joined #ocaml
ulfdoz has quit [Read error: Operation timed out]
edwin has quit [Remote host closed the connection]
<hcarty>
thelema: I haven't had a chance to try it yet - but does the odb update recompile packages in a dependency-respecting order?
ymasory has joined #ocaml
<hcarty>
For example - update package A. Package B depends on A, and C depends on B. Will B be updated/reinstalled before C, or is this undefined?
<hcarty>
In this case, I guess C would need to depend on B and A.
ftrvxmtrx has quit [Remote host closed the connection]
Yoric has quit [Quit: Leaving.]
ikaros has quit [Quit: Ex-Chat]
pdhborges has joined #ocaml
Cyanure has quit [Remote host closed the connection]
cthuluh has quit [Quit: leaving]
ocp has left #ocaml []
raphscallion has joined #ocaml
pdhborges has left #ocaml []
ymasory has quit [Remote host closed the connection]
raphscallion has quit [Client Quit]
raphscallion has joined #ocaml
raphscallion has quit [Quit: raphscallion]
ymasory has joined #ocaml
cthuluh has joined #ocaml
emmanuelux has quit [Remote host closed the connection]
raphscallion has joined #ocaml
_andre has joined #ocaml
raphscallion has quit [Remote host closed the connection]
Amorphous has quit [Ping timeout: 258 seconds]
raphscallion has joined #ocaml
sepp2k has quit [Quit: Leaving.]
ymasory has quit [Ping timeout: 276 seconds]
Amorphous has joined #ocaml
raphscallion has quit [Read error: Connection reset by peer]
raphscallion has joined #ocaml
raphscallion_ has joined #ocaml
raphscallion has quit [Ping timeout: 260 seconds]
raphscallion_ has quit [Ping timeout: 276 seconds]