[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [orion-dev] git repository linking
|
Yes that is working. But then I don't have autocommit and have to commit
the things myself. Thanks for the reply, waiting for the update with the
Git Rest Api!
Tibor Herczeg
Gerhardt Informatics Kft
On 02/25/2011 01:14 PM, Tomasz Zarna wrote:
> The approach with gitfs (git file store) is going to be replaced with a git
> client backed by a full blown REST API
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=336116). Until then, why
> don't you try linking your repo by following the steps from
> http://wiki.eclipse.org/Orion/How_Tos/Working_with_git#Linking_to_a_git_clone_already_existing_on_your_computer.
>
> Cheers,
> --
> Tomasz Zarna
>
>
>
>
> From: Tibor Herczeg <tibor.herczeg@xxxxxxxxxxxxxxxxxxxxxxx>
> To: orion-dev@xxxxxxxxxxx
> Date: 2011-02-25 08:48
> Subject: [orion-dev] git repository linking
> Sent by: orion-dev-bounces@xxxxxxxxxxx
>
>
>
> Hi Orion Team!
>
> I'm trying to add a link to a local git repository but without success.
> On my pc there is a cloned git repository at /media/ssd/git_repos/repo1.
> When I try to link a folder in orion i give it a name(myrepo), select
> gitfs and paste in the path of the repo /media/ssd/git_repos/repo1. Then
> in Orion I can only see the .git directory and a .gitignore file under
> the myrepo folder. I have checked the code and when I enter the location
> with a single / at the beginning then orion will create a false URL in
> /org.eclipse.orion.server.servlets/src/org/eclipse/orion/internal/server/servlets/Util.java
>
> line 33. It misses the /media from the beginning. I'm not sure if it
> should be like that or not but I have figured out if
> I enter //media/ssd/git_repos/repo1 in the orion link folder dialog
> then the Util class will create good URL to the repository.
> In both ways i get an exception:
> !ENTRY org.eclipse.orion.server.core 4 0 2011-02-25 08:43:58.439
> !MESSAGE Internal server error
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.orion.server.git.servlets.GitUtils.getGitDir(GitUtils.java:31)
> at
> org.eclipse.orion.server.git.GitFileDecorator.addAtributesFor
> (GitFileDecorator.java:46)
> at
> org.eclipse.orion.server.servlets.OrionServlet.decorateResponse
> (OrionServlet.java:72)
> at
> org.eclipse.orion.server.servlets.OrionServlet.writeJSONResponse
> (OrionServlet.java:56)
> at
> org.eclipse.orion.internal.server.servlets.file.DirectoryHandlerV1.handleGet
> (DirectoryHandlerV1.java:58)
> at
> org.eclipse.orion.internal.server.servlets.file.DirectoryHandlerV1.handleRequest
> (DirectoryHandlerV1.java:239)
> at
> org.eclipse.orion.internal.server.servlets.file.DirectoryHandlerV1.handleRequest
> (DirectoryHandlerV1.java:1)
> at
> org.eclipse.orion.internal.server.servlets.file.ServletFileStoreHandler.handleDirectory
> (ServletFileStoreHandler.java:126)
> at
> org.eclipse.orion.internal.server.servlets.file.ServletFileStoreHandler.handleRequest
> (ServletFileStoreHandler.java:146)
> at
> org.eclipse.orion.internal.server.servlets.file.ServletFileStoreHandler.handleRequest
> (ServletFileStoreHandler.java:1)
> at
> org.eclipse.orion.internal.server.servlets.file.NewFileServlet.doGet
> (NewFileServlet.java:54)
> at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:707)
> at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:820)
> at
> org.eclipse.equinox.http.registry.internal.ServletManager
> $ServletWrapper.service(ServletManager.java:180)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service
> (ServletRegistration.java:61)
> at
> org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter
> (FilterChainImpl.java:28)
> at
> org.eclipse.orion.server.configurator.servlet.AuthorizationFilter.doFilter
> (AuthorizationFilter.java:39)
> at
> org.eclipse.equinox.http.registry.internal.FilterManager
> $FilterWrapper.doFilter(FilterManager.java:173)
> at
> org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter
> (FilterRegistration.java:71)
> at
> org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter
> (FilterChainImpl.java:25)
> at
> org.eclipse.orion.server.configurator.servlet.AuthenticationFilter.doFilter
> (AuthenticationFilter.java:63)
> at
> org.eclipse.equinox.http.registry.internal.FilterManager
> $FilterWrapper.doFilter(FilterManager.java:173)
> at
> org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter
> (FilterRegistration.java:71)
> at
> org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter
> (FilterChainImpl.java:25)
> at
> org.eclipse.orion.internal.server.hosting.HostedSiteRequestFilter.doFilter
> (HostedSiteRequestFilter.java:38)
> at
> org.eclipse.equinox.http.registry.internal.FilterManager
> $FilterWrapper.doFilter(FilterManager.java:173)
> at
> org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter
> (FilterRegistration.java:71)
> at
> org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter
> (FilterChainImpl.java:25)
> at
> org.eclipse.orion.internal.server.servlets.file.EditSupportFilter.doFilter
> (EditSupportFilter.java:46)
> at
> org.eclipse.equinox.http.registry.internal.FilterManager
> $FilterWrapper.doFilter(FilterManager.java:173)
> at
> org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter
> (FilterRegistration.java:71)
> at
> org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter
> (FilterChainImpl.java:25)
> at
> org.eclipse.orion.server.configurator.servlet.WelcomeFileFilter.doFilter
> (WelcomeFileFilter.java:39)
> at
> org.eclipse.equinox.http.registry.internal.FilterManager
> $FilterWrapper.doFilter(FilterManager.java:173)
> at
> org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter
> (FilterRegistration.java:71)
> at
> org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter
> (FilterChainImpl.java:25)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias
> (ProxyServlet.java:130)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service
> (ProxyServlet.java:68)
> at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:820)
> at
> org.eclipse.equinox.http.jetty.internal.HttpServerManager
> $InternalHttpServiceServlet.service(HttpServerManager.java:318)
> at org.mortbay.jetty.servlet.ServletHolder.handle
> (ServletHolder.java:511)
> at org.mortbay.jetty.servlet.ServletHandler.handle
> (ServletHandler.java:390)
> at org.mortbay.jetty.servlet.SessionHandler.handle
> (SessionHandler.java:182)
> at org.mortbay.jetty.handler.ContextHandler.handle
> (ContextHandler.java:765)
> at org.mortbay.jetty.handler.HandlerWrapper.handle
> (HandlerWrapper.java:152)
> at org.mortbay.jetty.Server.handle(Server.java:326)
> at org.mortbay.jetty.HttpConnection.handleRequest
> (HttpConnection.java:542)
> at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete
> (HttpConnection.java:924)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> at org.mortbay.jetty.HttpParser.parseAvailable
> (HttpParser.java:212)
> at org.mortbay.jetty.HttpConnection.handle
> (HttpConnection.java:404)
> at
> org.mortbay.io.nio.SelectChannelEndPoint.run
> (SelectChannelEndPoint.java:409)
> at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run
> (QueuedThreadPool.java:582)
>
> Ok so this is where I got but orion still doesn't display my files which
> were under
> /media/ssd/git_repos/repo1.
>
> I would like to ask how should i enter the location of the git
> repository in the orion's link folder dialog so i could see the files
> cloned from the git repo?
>
> Thank you in advance.
>
> Tibor Herczeg
>
> Gerhardt Informatics Kft.
> _______________________________________________
> orion-dev mailing list
> orion-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/orion-dev
>
>
> _______________________________________________
> orion-dev mailing list
> orion-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/orion-dev
>
>