-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opam-mkbundle #929
Comments
In the C/C++ world there is a tendency to ship applications with embedded copies of libraries (just see Qt, Firefox, and so on). While that is in general frowned upon (those embedded libraries are often out-of-date, make it hard to do security updates, etc.) they do provide one advantage to the end-user: convenience. Of course relying only on system packages has its downsides too: it might be the system package that is out of date (zlib on old Solaris for example), or there might be no system package available, or there is a patch needed and upstream hasn't made a new release yet, etc. My opam-mkbundle idea tries to provide just the advantages (convenience, installation without downloading packages from the internet), without the disadvantages:
The part about relying just on the OCaml compiler is because its quite easy to seriously mess up an OCaml installation, beyond what an end user is expected to debug. |
Interesting idea. This is related to #1059 (actually a large superset of it) |
Is there some progress on this feature? |
Not exactly the same (it doesn't include build scripts), and still a bit complex, but #2098 may be a step in this direction. I would gladly give pointers to anyone willing to contribute on this: that would be a nice feature to have, but I don't have time at the moment -- the priority for 1.3 having been set to signing our repository. |
Apparently there is a tool in the Haskell ecosystem doing this, it is called stack: |
Would it be possible to set a bounty on this feature? |
Dear Santa, for Christmas, I would like this feature. :-) |
Tentative doc: https://gist.github.com/samoht/54c5aaa7429a68d27fbe66515bea1c7b In that doc, we still need opam to import/build bundles (even if they are self-contained) but maybe we can also distribute a small script which just build a precise bundle. |
Is this implemented? |
This is not yet implemented, although the new The feature is already planned and funded, but thank you! |
Addressed (at least in part) by #2944 |
Addressed by https://github.com/AltGr/opam-bundle |
This is a request from @edwintorok that landed in my inbox.
Please ask him for more details.
https://github.com/edwintorok
opam-mkbundle package_name
would create a bundle of source archives and a script to build it all, depending only on the standard OCaml compiler, and then the user could get a source package with everything in it.
He his willing to distribute some software in source code without
the need to ask users to install OPAM.
The text was updated successfully, but these errors were encountered: