Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Handing 301 Moved Permanently in jgit?

Done!
See https://git.eclipse.org/r/#/c/88811/.

2017-01-17 9:19 GMT+08:00 bo zhang <zhangbodut@xxxxxxxxx>:
Oh, I thought PR in Github.com could also be accepted. I'm not quite familiar with gerrit, but I'll have a try.

Thank you for your advice.

2017-01-17 7:47 GMT+08:00 David Pursehouse <david.pursehouse@xxxxxxxxx>:
On Tue, Jan 17, 2017 at 7:43 AM bo zhang <zhangbodut@xxxxxxxxx> wrote:
Thanks for your reply, but I'm afraid the fix was incomplete. 

To confirm the incompletion of https://git.eclipse.org/r/#/c/46261/, just try the following code:
public static void main(String[] args) throws GitAPIException {
Git.cloneRepository()
.setURI("https://gopkg.in/ini.v1")
.setDirectory(new File("/tmp/jgit"))
.call();
}

I didn't see your commit yesterday, so I fixed it myself and created a PR on Github. Hope that helps.


Can you push your change to gerrit instead?  Github is only a mirror.


 



2017-01-16 21:20 GMT+08:00 Matthias Sohn <matthias.sohn@xxxxxxxxx>:
On Fri, Jan 13, 2017 at 4:02 PM, bo zhang <zhangbodut@xxxxxxxxx> wrote:
Hello everybody.

Recently I was working on a building tool for golang with jgit, and found an issue that jgit would throw an exception when meeting HTTP 301 in `clone` and `pull`. 

It was reported long long ago but  still existed in the newest 4.6.0.201612231935-r. Is there any plan to fix it or I should do it my own? HTTP 301 redirection is very common in golang package import.


If yes, please comment in the review.

-Matthias

_______________________________________________
jgit-dev mailing list
jgit-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jgit-dev



Back to the top