OCamlPro / ows

A service to analyse the state of the opam repository w.r.t. all available version of the OCaml compiler.
http://ows.irill.org/latest/today/index.html
Other
5 stars 3 forks source link

Support multiple os #4

Open samoht opened 9 years ago

samoht commented 9 years ago

An example: currently, the package mirage-net-macosx depends on vmnet which is available on OSX only. That would be interesting to know that although the package is not available on linux, it is available on OSX.

The os variable can be overwritten easily by setting OPAMVAR_os properly:

OPAMVAR_os=darwin opam list
rdicosmo commented 9 years ago

OWS does not perform an analysis per-OS. There is no technical difficulty in adding it, but there is quite a bit of work to make the results readable: a "per-OS" version of the current page? a refinement of the current "per-compiler" columns with "per-OS" subcolumns? a per package page with all the matrix? And is the result worth the extra development effort?

samoht commented 9 years ago

I agree that we do not want to clutter the table with an other dimension. But maybe in case of conflicts, we should check if the root cause is the os mismatch issue and test with a different one.

But, on the current settings there is no way to "fix" mirage-net-macosx.

abate commented 9 years ago

I had completely missed this angle when I designed the ows page. I'm not sure how to add this. The notion of installability here is clearly universally quantified on all OSs ... But this information should definitely be present on the page, I'll think about it

samoht commented 9 years ago

It should be possible to tell opam to ignore os constraints (we can add an OPAMVAR_os=* or something similar).