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.usern...@code.wireshark.org:29418/wireshark
HEAD:refs/for/master/snowcone-machine

so

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

OR

git clone <github>
git add remote wsrepo ssh://my.usern...@code.wireshark.org: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 <hslu...@gmail.com> 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:
> git clone ssh://yang...@code.wireshark.org:29418/wireshark
> 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:
> git clone https://github.com/wireshark/wireshark
> 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@wireshark.org>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-requ...@wireshark.org
> ?subject=unsubscribe
>
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to