anacrolix / dht

dht is used by anacrolix/torrent, and is intended for use as a library in other projects both torrent related and otherwise
Mozilla Public License 2.0
313 stars 66 forks source link

Trouble cloning the repository #8

Closed nochso closed 7 years ago

nochso commented 7 years ago

A simple git clone is taking ages:

$ git clone git@github.com:anacrolix/dht.git
Cloning into 'dht'...
remote: Counting objects: 218641, done.
remote: Compressing objects: 100% (6/6), done.
Receiving objects:  13% (30228/218641), 20.12 MiB | 39.00 KiB/s

Same problem when cloning a fork of this repository. I've tried both HTTPS and SSH. Downloading the ZIP works fine and it's tiny.

Do you have any idea what's going on? Any other repo is working fine.

anacrolix commented 7 years ago

I have the same problem on my machine. The git objects are huge. I'll try to track it down, it may be a relic of when I separated this from anacrolix/torrent. Thank you for reporting.

anacrolix commented 7 years ago

I've fixed this, I had some tags get leaked in from another project.

$ git clone git@github.com:anacrolix/dht.git
Cloning into 'dht'...
remote: Counting objects: 693, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 693 (delta 0), reused 2 (delta 0), pack-reused 686
Receiving objects: 100% (693/693), 247.94 KiB | 0 bytes/s, done.
Resolving deltas: 100% (420/420), done.
nochso commented 7 years ago

Thanks! Maybe now dep init will work :)