erebe / wstunnel

Tunnel all your traffic over Websocket or HTTP2 - Bypass firewalls/DPI - Static binary available
Other
3.22k stars 290 forks source link

wstunnel needs version bounds #45

Closed rwlock404 closed 4 years ago

rwlock404 commented 4 years ago

As I just reported over at https://github.com/haskell-infra/hackage-trustees/issues/265 I wasn't able to install wstunnel. I was instructed to file the issue upstream here.

It is my understanding that the wstunnel-0.3.0.0 release on Hackage is broken because of missing version bounds. Can you add the missing bounds?

erebe commented 4 years ago

Hello, Yes sorry fixing that

erebe commented 4 years ago

Should be better.

rwlock404 commented 4 years ago

cabal install wstunnel-0.3.0.0 still fails for me :-(

erebe commented 4 years ago

What error do you have ?

rwlock404 commented 4 years ago

Same as previously. Also https://hackage.haskell.org/package/wstunnel-0.3.0.0/dependencies still seems to be missing most bounds?

erebe commented 4 years ago

I can't reupload the same version, you need to use the latest one https://hackage.haskell.org/package/wstunnel-0.3.0.1/dependencies

rwlock404 commented 4 years ago

I get this error when I try to cabal install wstunnel-0.3.0.1

Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] next goal: wstunnel (user goal)
[__0] rejecting: wstunnel-0.3.0.0, wstunnel-0.1.0.0
(constraint from user target requires ==0.3.0.1)
[__0] fail (backjumping, conflict set: wstunnel)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: wstunnel
erebe commented 4 years ago

you need to do a "cabal update" in order to get the version wstunnel-0.3.0.1

rwlock404 commented 4 years ago

D'oh... right! Now it seems to install. Thanks!

BTW why are there still many bounds showing as missing at https://hackage.haskell.org/package/wstunnel-0.3.0.1/dependencies ?

erebe commented 4 years ago

They are not hard requirement (i hope) as long as network and base are satisfied. I don't know what to set precisely to be honest