tech-repository archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

hg clone from anonhg issues



This is NOT intended to kindle another firestorm of complaints; I'm trying to provide info that's hopefully useful in resolving the underlying usability problems.  Anyone actively working on solving this is welcome to contact me directly if I can provide any useful help, but I'm not interested in a flame war or general gripe session.


I set up a new NetBSD-9.0_STABLE VM with 8GB of RAM.  I created a ZFS backed by a single virtual disk (which is on a zvol; the host for this VM is byve-based)  Here's the kicker:  it's in the same physical rack as anonhg.netbsd.org, network-wise separated by a single router hop.  I get around 12MB/sec from other NetBSD hosts in the cabinet.


I haven't been doing much NetBSD work lately, but I wanted to track down some history on some code so I figured "hey, let's check out the hg mirror - looks like people are using it successfully".  Looking at what was suggested on a page on wiki.n.o, I did a naive clone, which failed after a long time.  I then read the thread in this list from June, and I see it's not a shock except for my topological distance from the host.


pomegranate:riz  /tank/netbsd> hg clone https://anonhg.NetBSD.org/src
destination directory: src
applying clone bundle from https://cdn.NetBSD.org/_bundles/src/77d2a2ece3a06d837da45acd0fda80086ab4113c.zstd.hg
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: stream ended unexpectedly  (got 22015 bytes, expected 32768)
You have new mail.
pomegranate:riz  /tank/netbsd>

I had thought it wasn't trying to use a bundle, but I can clearly see from the above that it was (I missed that on first look).  I can certainly go and extract manually and start from there, but I thought I'd offer my assistance in figuring out how we can make an initial clone substantially more user-friendly.   I have some latitude in testing;  I could create VMs with up to 32GB of RAM if need be, and/or try other OSes from this unique perch.


+j




Home | Main Index | Thread Index | Old Index