-
Notifications
You must be signed in to change notification settings - Fork 238
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
document that unison's lwt is not an old bundled version of the newer thing also called lwt #1032
Comments
This is a really good question. I am pretty sure the answer is yes, it's feasible, and no it is not going to happen really soon. |
I'm glad to hear that!
Okay, would you be accepting of patches if I were to work on this myself? Again, knowing next to nothing about OCaml, I have no idea if I can manage it, but I'm willing to give it a go. |
I don't think it is feasible. Lwt was originally created for Unison, then extracted as a separate project. Since then, the Lwt project has been rewritten a couple of times and diverged significantly from the original. The basic concepts are no longer the same. Given this, the lwt code in Unison should not be considered a bundled version of ocaml-lwt package; they are entirely different and only same by name. This fact should resolve the package review comment. |
Probably then we should resolve it by having a README in the lwt directory that explains this relatively fully, so that those newly coming to the sources will end up with the right impression. It's certainly fair of people to see this and think something is wrong. |
That's interesting, thanks for the history. Given this, who actually holds the copyright for the
Gotcha.
Okay, I will convey this to the reviewer, and I suspect this will be sufficient justification. [1] ocsigen/lwt@ed71a00#diff-c693279643b8cd5d248172d9c22cb7cf4ed163a3c98c8a3f69c2717edd3eacb7 |
I don't know about the copyright and license. The original author is Jérôme Vouillon. |
Okay, it looks like he was involved in the license change process and approved the change [1], so that's good. |
I've been compiling my own unison on Fedora for quite some time now, thanks for taking the time to look into this. |
Hello,
I am a Fedora packager and am looking to re-package unison in Fedora. It is currently under review [1], and the reviewer pointed out that there is a very old copy of
ocaml-lwt
[2] which is bundled in the unisonsrc/lwt
directory. Where possible, it is preferred for packages to rely on already-packaged library dependencies [3].I am a total OCaml newbie, so I'm not sure how difficult of a task this is, but I played around with the
Makefile
s a bit and was able to get unison at least trying to build with the systemocaml-lwt
, and this is the first error I encountered:Is it feasible to move unison to latest upstream
ocaml-lwt
?[1] https://bugzilla.redhat.com/show_bug.cgi?id=2277254#c2
[2] https://src.fedoraproject.org/rpms/ocaml-lwt
[3] https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling
The text was updated successfully, but these errors were encountered: