jlouis / etorrent

Erlang Bittorrent Client
BSD 2-Clause "Simplified" License
294 stars 50 forks source link

Abandoned? #154

Open bryanhughes opened 5 years ago

bryanhughes commented 5 years ago

Guessing this project is abandoned? Not able to fetch deps due to a repo being missing https://github.com/jlouis/upnp.git

Here is the full output...

bryan@appliance:~/git/etorrent$ make deps
git clone -n -- git://github.com/jlouis/etorrent_core.git /home/bryan/git/etorrent/deps/etorrent_core
Cloning into '/home/bryan/git/etorrent/deps/etorrent_core'...
remote: Enumerating objects: 5134, done.
remote: Total 5134 (delta 0), reused 0 (delta 0), pack-reused 5134
Receiving objects: 100% (5134/5134), 2.74 MiB | 3.29 MiB/s, done.
Resolving deltas: 100% (3082/3082), done.
cd /home/bryan/git/etorrent/deps/etorrent_core ; git checkout -q master
make[1]: Entering directory '/home/bryan/git/etorrent/deps/etorrent_core'
git clone -n -- https://github.com/uwiger/gproc.git /home/bryan/git/etorrent/deps/gproc
Cloning into '/home/bryan/git/etorrent/deps/gproc'...
remote: Enumerating objects: 10, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 2117 (delta 1), reused 4 (delta 1), pack-reused 2107
Receiving objects: 100% (2117/2117), 2.13 MiB | 3.22 MiB/s, done.
Resolving deltas: 100% (1420/1420), done.
cd /home/bryan/git/etorrent/deps/gproc ; git checkout -q master
git clone -n -- https://github.com/basho/lager.git /home/bryan/git/etorrent/deps/lager
Cloning into '/home/bryan/git/etorrent/deps/lager'...
remote: Enumerating objects: 3496, done.
remote: Total 3496 (delta 0), reused 0 (delta 0), pack-reused 3496
Receiving objects: 100% (3496/3496), 2.02 MiB | 3.21 MiB/s, done.
Resolving deltas: 100% (2375/2375), done.
cd /home/bryan/git/etorrent/deps/lager ; git checkout -q 2.0.0
git clone -n -- https://github.com/benoitc/hackney.git /home/bryan/git/etorrent/deps/hackney
Cloning into '/home/bryan/git/etorrent/deps/hackney'...
remote: Enumerating objects: 84, done.
remote: Counting objects: 100% (84/84), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 6279 (delta 47), reused 70 (delta 45), pack-reused 6195
Receiving objects: 100% (6279/6279), 6.17 MiB | 3.91 MiB/s, done.
Resolving deltas: 100% (4510/4510), done.
cd /home/bryan/git/etorrent/deps/hackney ; git checkout -q master
git clone -n -- https://github.com/extend/cowboy.git /home/bryan/git/etorrent/deps/cowboy
Cloning into '/home/bryan/git/etorrent/deps/cowboy'...
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 12231 (delta 2), reused 4 (delta 2), pack-reused 12223
Receiving objects: 100% (12231/12231), 6.91 MiB | 4.38 MiB/s, done.
Resolving deltas: 100% (8148/8148), done.
cd /home/bryan/git/etorrent/deps/cowboy ; git checkout -q master
git clone -n -- https://github.com/jlouis/rlimit.git /home/bryan/git/etorrent/deps/rlimit
Cloning into '/home/bryan/git/etorrent/deps/rlimit'...
remote: Enumerating objects: 82, done.
Unpacking objects: 100% (82/82), done.
remote: Total 82 (delta 0), reused 0 (delta 0), pack-reused 82
cd /home/bryan/git/etorrent/deps/rlimit ; git checkout -q master
git clone -n -- https://github.com/arcusfelis/azdht.git /home/bryan/git/etorrent/deps/azdht
Cloning into '/home/bryan/git/etorrent/deps/azdht'...
remote: Enumerating objects: 212, done.
remote: Total 212 (delta 0), reused 0 (delta 0), pack-reused 212
Receiving objects: 100% (212/212), 73.40 KiB | 1.15 MiB/s, done.
Resolving deltas: 100% (127/127), done.
cd /home/bryan/git/etorrent/deps/azdht ; git checkout -q master
git clone -n -- https://github.com/jlouis/mdns.git /home/bryan/git/etorrent/deps/mdns
Cloning into '/home/bryan/git/etorrent/deps/mdns'...
remote: Enumerating objects: 45, done.
remote: Total 45 (delta 0), reused 0 (delta 0), pack-reused 45
Unpacking objects: 100% (45/45), done.
cd /home/bryan/git/etorrent/deps/mdns ; git checkout -q master
git clone -n -- https://github.com/jlouis/upnp.git /home/bryan/git/etorrent/deps/upnp
Cloning into '/home/bryan/git/etorrent/deps/upnp'...
Username for 'https://github.com': bryanhughes
Password for 'https://bryanhughes@github.com': 
remote: Repository not found.
fatal: repository 'https://github.com/jlouis/upnp.git/' not found
erlang.mk:116: recipe for target '/home/bryan/git/etorrent/deps/upnp' failed
make[1]: *** [/home/bryan/git/etorrent/deps/upnp] Error 128
make[1]: Leaving directory '/home/bryan/git/etorrent/deps/etorrent_core'
erlang.mk:119: recipe for target 'deps' failed
make: *** [deps] Error 2
jlouis commented 5 years ago

More or less, yes.

The project needs some TLC if it is to be made ready to run on a new Erlang version, I'm sure. The upnp and mdns code is likely to be so old it requires a complete reimplementation as well. The world has moved on since then, and modern CPE devices are far more capable than what we had at that time. Some newer implementations of BitTorrent requires extensions which are not supported, so I'm almost 99% sure it won't work unless you have full control over the peer swarm.

Another point is that nowadays, there are things I'd done differently in the repository. This code is more for the archival purposes right now, than it is working.

jlouis commented 5 years ago

https://github.com/benoitc/upnp should give you the upnp code, if you are interested, but do note the comment in that repository: Benoit ended up writing a better version of it.

bryanhughes commented 5 years ago

Thanks! I am looking for an Erlang implementation of a torrent client and yours comes up as the first Google hit and seemed to be the most well thought out. Most of the projects are pretty old.