Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Forbidden error cloning maintenance release branch
[CDO] Forbidden error cloning maintenance release branch [message #872349] Wed, 16 May 2012 00:27 Go to next message
Warwick Burrows is currently offline Warwick BurrowsFriend
Messages: 132
Registered: July 2009
Location: Austin, TX
Senior Member
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

Re: [CDO] Forbidden error cloning maintenance release branch [message #872360 is a reply to message #872349] Wed, 16 May 2012 01:08 Go to previous messageGo to next message
Warwick Burrows is currently offline Warwick BurrowsFriend
Messages: 132
Registered: July 2009
Location: Austin, TX
Senior Member
I should also have mentioned that I'm using Indigo and have the last nightly update of egit.
Re: [CDO] Forbidden error cloning maintenance release branch [message #872435 is a reply to message #872349] Wed, 16 May 2012 05:47 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
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
>
>


Re: [CDO] Forbidden error cloning maintenance release branch [message #872713 is a reply to message #872435] Wed, 16 May 2012 16:51 Go to previous messageGo to next message
Warwick Burrows is currently offline Warwick BurrowsFriend
Messages: 132
Registered: July 2009
Location: Austin, TX
Senior Member
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 Smile 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

You have "gitroot" instead of "c" in your version. Does the source installation page need to be updated to use "gitroot" too?

Thanks,
Warwick
Re: [CDO] Forbidden error cloning maintenance release branch [message #872922 is a reply to message #872713] Thu, 17 May 2012 05:19 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
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


Previous Topic:How do i change a file content in a ResourceHandler.preLoad()?
Next Topic:EMF Databinding with non-EObject in Tree
Goto Forum:
  


Current Time: Wed Apr 24 13:41:57 GMT 2024

Powered by FUDForum. Page generated in 0.03504 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top