Wireshark-dev: Re: [Wireshark-dev] Connection slow and got interrupted when cloning the Wiresha

From: Dario Lombardo <dario.lombardo.ml@xxxxxxxxx>
Date: Tue, 19 Apr 2016 12:35:06 +0200
Hi Yang
You can clone from github, then add whatever git remote you want. But you don't need to do that, since the command to push a change to gerrit can be issued to point directly to wireshark repo. As stated here https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcContribute.html you can push to 

git push ssh://my.username@xxxxxxxxxxxxxxxxxx:29418/wireshark HEAD:refs/for/master/snowcone-machine

so

git clone <github>
[changes]
git push ssh://my.username@xxxxxxxxxxxxxxxxxx:29418/wireshark HEAD:refs/for/master/snowcone-machine

OR

git clone <github>
git add remote wsrepo ssh://my.username@xxxxxxxxxxxxxxxxxx:29418/wireshark
[changes]
git push wsrepo HEAD:refs/for/master/snowcone-machine

Be careful to check that the github repo is aligned to master as you expect.

But if you're experiencing problems downloading from wireshark, it is very likely that you will have issues uploading to it.
Dario.

On Tue, Apr 19, 2016 at 10:45 AM, Yang Luo <hsluoyb@xxxxxxxxx> wrote:
Hi list,

I want to submit a patch to Wireshark. I'm using SmartGit on Win10. My location is Beijing. I followed the guide here: https://wiki.wireshark.org/Development/SubmittingPatches

And I always fails this step:
Because the speed is 20KB/s to 40KB/s, and and downloading a half more or less the connection usually fails.

I can download the code from GitHub:
it's speed is 200KB/s +.

I want to know if there a way to make Wireshark's GitHub repo able to commit to gerrit, or change the GitHub repo into the Gerrit recognized repo, or download the repo in a "continue transferring from breakpoint" way?


Cheers,
Yang

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe