From: Nguyen Thai Ngoc Duy Date: Mon, 10 Jan 2011 11:48:22 GMT Subject: Re: Resumable clone/Gittorrent (again) - stable packs? Message-ID: In-Reply-To: On Fri, Jan 7, 2011 at 11:33 AM, Nicolas Pitre wrote: > Here's what I suggest: > >        cd my_project >        BUNDLENAME=my_project_$(date "+%s").gitbundle >        git bundle create $BUNDLENAME --all >        maketorrent-console your_favorite_tracker $BUNDLENAME > > Then start seeding that bundle, and upload $BUNDLENAME.torrent as > bundle.torrent inside my_project.git on your server. I was about to ask if we could put more "trailer" sha-1 checksums to the bundle, so we can verify which part is corrupt without redownloading the whole thing (this is over http/ftp.. not torrent). But I realize it's just easier to split the bundle into multiple packs, so we can verify and redownload only corrupt packs. Logically it is still a single pack. Splitting help put more sha-1 checksums in without changing pack format. The packs will be merged back into one with "index-pack --pack-stream" patch I sent elsewhere. -- Duy