-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Create an esy branch with an esy.json and no vendored directories #111
Comments
I wonder if removing the dune file at |
Actually, it's probably the opposite. We need that file (atm) because it renames all the libraries so that Dream sees them under different names under the |
At first glance, it seems easiest to just delete the whole |
On my side, I mostly aware about the initial diff/reason of the Note that it's not about the usage of Then, such situation burns many energies when, for the MirageOS support, I need to fork my own project ( PS: I don't want to bring any trouble and if you don't agree with such view, it's fine but I really think that we should be more convergent in the eyes of "all" communities. |
@dinosaure This issue doesn't make Dream diverge any more on http/af, etc., than it already has — it's only about using separate repos for code that is already vendored into Dream, which is possible on esy. I fully agree with the intent to eventually resolve the forks, and to get everything released into opam. To my knowledge so far, as of a few months ago, the "main" http/af lacks:
Given that Dream wants to support all of those things, it seems that it has to use the forks. It already is doing that. This issue just improves some situations for esy users. |
I agree with the current layout of If you want to provide something for
Just to be able to plug it with Then, about HTTP/AF support, the only missing feature is the upgrade (but some PRs exist to implement it, they just need some fuel). Currently, the HTTPS support (even for CoHTTP) is not strictly handled by the project (or the core) itself but by something outside. In the case of Then, about ALPN which is intrinsic with HTTPS, the problem is the same. So I really think that a solution can exist with some effort (of course) about the connection upgrade. And, on this subject, you can view: inhabitedtype/httpaf#159 and inhabitedtype/httpaf#203 My mainly point is to be sync with |
We already agree on the main point. The question is, can we get all of
If not, then we can't use the opam-repository http/af for now. From your message, it seems that WebSocket upgrades are the last thing missing. Can you confirm? This isn't the point of this issue, however. Please open a new issue to discuss that. We are already using forks and that's not going to change by creating an |
Yes, I can confirm. On my side with
Thanks, I will make an issue when I finish my MirageOS support 👍. |
I've since first renamed the vendored libraries, and now replaced them with depending on httpun in #351. I think this issue is likely obsolete. |
This might be a good way to reconcile Dream, Piaf, and the rest of the "ecosystem" for esy users.
The branch can probably be maintained by constantly cherry-picking a single commit that adds
esy.json
and subtractssrc/vendor
. This could even be done in CI in the long term, but probably we'd rather get rid ofsrc/vendor
by actually upstreaming or releasing the protocol projects, instead.cc @anmonteiro @EduardoRFS for interest.
The text was updated successfully, but these errors were encountered: