|
|
Re: [CDO] Forbidden error cloning maintenance release branch [message #872435 is a reply to message #872349] |
Wed, 16 May 2012 05:47 |
|
Hi Warwick,
I believe that it's a http:// problem, not caused by Git or the repo itself. Please try the git:// URL git://git.eclipse.org/gitroot/cdo/cdo.git
If you really want to use http:// please submit a bugzilla against cdo.releng and I'll assign the webmasters.
Cheers
/Eike
Am 16.05.2012 02:27, schrieb Warwick Burrows:
> Hey guys,
>
> I'm following the instructions for getting a CDO source configuration from here:
> http: //wiki.eclipse.org/CDO_Source_Installation
>
> And am trying to clone the maintenance release as suggested there as workaround for the git bug 368573. I'm able to connect to the git repo with this url http: //git.eclipse.org/c/cdo/cdo.git and I
> can see a list of bugs, committers areas, master and the streams. I select only streams/4.0-maintenance, take the defaults for the last page and click Finish. The clone fail straight away with "403
> Forbidden" error back as follows:
>
> Caused by: java.io.IOException: http: //git.eclipse.org/c/cdo/cdo.git/objects/59/9f437731224396424a20689ea6eabcee513846: 403 Forbidden
> at org.eclipse.jgit.transport.TransportHttp$HttpObjectDB.open(TransportHttp.java:626)
> at org.eclipse.jgit.transport.WalkFetchConnection.downloadLooseObject(WalkFetchConnection.java:591)
> ... 15 more
>
>
> Could this be due to a permissions problem for the given file on the server? I'm not actually requesting that file but it may be related to the maintenance branch. Can I clone the maintenance release
> branch if I'm not a committer? BTW, I had to change all the urls in this post as I haven't posted 25 messages yet.
>
>
>
> The full stack trace is:
>
> org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of fetch command
> at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:138)
> at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:175)
> at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:121)
> at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:153)
> at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.executeCloneOperation(AbstractGitCloneWizard.java:430)
> at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.access$2(AbstractGitCloneWizard.java:424)
> at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard$6.run(AbstractGitCloneWizard.java:403)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: org.eclipse.jgit.errors.TransportException: Cannot download 599f437731224396424a20689ea6eabcee513846
> at org.eclipse.jgit.transport.WalkFetchConnection.downloadLooseObject(WalkFetchConnection.java:601)
> at org.eclipse.jgit.transport.WalkFetchConnection.downloadObject(WalkFetchConnection.java:412)
> at org.eclipse.jgit.transport.WalkFetchConnection.doFetch(WalkFetchConnection.java:237)
> at org.eclipse.jgit.transport.BaseFetchConnection.fetch(BaseFetchConnection.java:70)
> at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:225)
> at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:151)
> at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113)
> at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062)
> at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:129)
> ... 7 more
> Caused by: java.io.IOException: http: //git.eclipse.org/c/cdo/cdo.git/objects/59/9f437731224396424a20689ea6eabcee513846: 403 Forbidden
> at org.eclipse.jgit.transport.TransportHttp$HttpObjectDB.open(TransportHttp.java:626)
> at org.eclipse.jgit.transport.WalkFetchConnection.downloadLooseObject(WalkFetchConnection.java:591)
> ... 15 more
>
> Thanks,
> Warwick
>
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Re: [CDO] Forbidden error cloning maintenance release branch [message #872922 is a reply to message #872713] |
Thu, 17 May 2012 05:19 |
|
Am 16.05.2012 18:51, schrieb Warwick Burrows:
> Eike Stepper wrote on Wed, 16 May 2012 01:47
>> Hi Warwick,
>>
>> I believe that it's a http :// problem, not caused by Git or the repo itself. Please try the git :// URL git ://
>> git.eclipse.org/gitroot/cdo/cdo.git
>>
>> If you really want to use http :// please submit a bugzilla against cdo.releng and I'll assign the webmasters.
>
>
> Ah now that git url worked :) That's different to the one I was using the one from the CDO source installation page
> which is:
>
> http :// git.eclipse.org/c/cdo/cdo.git/plain/releng/org.eclipse.emf.cdo.releng/local.mspec?h=streams/4.0-maintenance
That really just triggers some kind of servlet (git webviewer) to display that file as plain text. Buckminster does the
rest.
> You have "gitroot" instead of "c" in your version. Does the source installation page need to be updated to use
> "gitroot" too?
No, they're really two different things. Buckminster needs a single plain text file to start the materialization
process. To clone the entire repository directly with (E)Git you need the git:// URL.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.03504 seconds