Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326992 - New Git repository requiest webtools/org.eclipse.webtools.incubator.sieditor.git
Summary: New Git repository requiest webtools/org.eclipse.webtools.incubator.sieditor.git
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Git (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-05 06:46 EDT by Dimitar Tenev CLA
Modified: 2010-11-11 06:15 EST (History)
5 users (show)

See Also:


Attachments
Error through Eclipse EGit (63.16 KB, image/gif)
2010-10-21 05:48 EDT, Dimitar Tenev CLA
no flags Details
Error using https without user (97.96 KB, image/gif)
2010-10-25 05:58 EDT, Dimitar Tenev CLA
no flags Details
Error using https with user (98.62 KB, image/gif)
2010-10-25 05:59 EDT, Dimitar Tenev CLA
no flags Details
curl command execution result. (10.74 KB, text/plain)
2010-10-26 07:56 EDT, Dimitar Tenev CLA
no flags Details
curl command execution result from home. (10.44 KB, text/plain)
2010-11-02 03:19 EDT, Dimitar Tenev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitar Tenev CLA 2010-10-05 06:46:31 EDT
Hi Colleagues,

We want to submit the source of a new project in webtools.incubator.
We do want to use a new repository with path:
webtools/org.eclipse.webtools.incubator.sieditor.git

We do need HTTP read/write access to this repository.
Commiters of webtools.incubator that will need to access it:

Dimitar Tenev dimitar.tenev@sap.com
Georgi Konstantinov georgi.konstantinov@sap.com
Nevena Manova nevena.manova@sap.com
Emil Simeonov emil.simeonov@sap.com
Dimitar Donchev dimitar.donchev@sap.com

IPZilla waiting code contribution: 
https://dev.eclipse.org/ipzilla/show_bug.cgi?id=4454

Please let me know if you need some more information.

Best regards,
Dimitar
Comment 1 Denis Roy CLA 2010-10-05 11:32:56 EDT
The webtools incubator project already has a Git repository.

http://git.eclipse.org/c/webtools/org.eclipse.webtools.incubator.git/

The name of that repo would seem to imply that all the webtools incubator code would go into it.  Can you please discuss with your project lead and/or PMC to ensure the Git container will be properly structured?
Comment 2 Kaloyan Raev CLA 2010-10-05 11:49:42 EDT
Denis, I am mentoring the committers in this WTP Incubator Project from SAP side. I am aware that there is a git repository already created for the WTP Incubator, but advised them to request one dedicate just for their own project. 

I gave this advice because:
  1) I am not happy with the current structure of the wtp.incubator.git repo. In this repository, every project seems to be in different branch. Including new project there means creating new branch. This is not quite nice in terms of git best practices. 
  2) This wiki http://wiki.eclipse.org/Git/Migrating_to_Git#Plan_and_structure_your_Git_space suggests that each project component should be placed in a different git repo. Therefore, I see it more natural to have new git repo for a new WTP Incubator project, than create new branch in an existing one.
Comment 3 David Carver CLA 2010-10-05 12:15:28 EDT
(In reply to comment #2)
> Denis, I am mentoring the committers in this WTP Incubator Project from SAP
> side. I am aware that there is a git repository already created for the WTP
> Incubator, but advised them to request one dedicate just for their own project. 
> 
> I gave this advice because:
>   1) I am not happy with the current structure of the wtp.incubator.git repo.
> In this repository, every project seems to be in different branch. Including
> new project there means creating new branch. This is not quite nice in terms of
> git best practices. 
>   2) This wiki
> http://wiki.eclipse.org/Git/Migrating_to_Git#Plan_and_structure_your_Git_space
> suggests that each project component should be placed in a different git repo.
> Therefore, I see it more natural to have new git repo for a new WTP Incubator
> project, than create new branch in an existing one.

We have a couple of options here.  Create a Branch in the existing WTP incubator project and import the items into that new branch.  We went with the new branch because otherwise you get the entire code for everything even projects you don't like.

The better option is probably to create isolated git repos for the new projects instead. Which is something we are considering doing to better separate the Vex, Xquery, and other projects.   This way you don't get all the code from the other projects if you aren't interested in them.

It also might make graduation easier later on.
Comment 4 Denis Roy CLA 2010-10-05 14:21:33 EDT
To me, webtools.incubator is one project, not many. I guess I simply don't want to be in the business of setting up repos for incubator projects, when the projects themselves can do that  :-)

What we can do is create a git.eclipse.org/webtools/incubator _directory_ to which the incubator group has write access.  That would allow you to create all the Git repos you want without needing webmaster intervention.

Does that sound acceptable?
Comment 5 David Carver CLA 2010-10-05 14:29:42 EDT
(In reply to comment #4)
> To me, webtools.incubator is one project, not many. I guess I simply don't want
> to be in the business of setting up repos for incubator projects, when the
> projects themselves can do that  :-)
> 
> What we can do is create a git.eclipse.org/webtools/incubator _directory_ to
> which the incubator group has write access.  That would allow you to create all
> the Git repos you want without needing webmaster intervention.
> 
> Does that sound acceptable?

Yeah, that would work.  The issue is that the way git works is vastly different from CVS, so it isn't as practical to necessarily have everything in one repository.  Many smaller repositories for the components in the project may be the better way for this particular portion at eclipse.  Other projects may approach it differently.
Comment 6 Kaloyan Raev CLA 2010-10-06 02:35:03 EDT
(In reply to comment #4)
> Does that sound acceptable?

Sounds perfect :-)
Comment 7 Dimitar Tenev CLA 2010-10-11 02:43:29 EDT
Hi Denis,

When we could have this directory created?

Best regards,
Dimitar
Comment 8 Denis Roy CLA 2010-10-12 11:11:37 EDT
I have created /gitroot/incubator for you.
Comment 9 Kaloyan Raev CLA 2010-10-12 11:43:41 EDT
Thanks Denis.

I actually found you created the following directory:
/gitroot/webtools/incubator/
Comment 10 Denis Roy CLA 2010-10-12 13:05:52 EDT
Yes, sorry, that's what I meant.
Comment 11 Dimitar Tenev CLA 2010-10-13 02:34:06 EDT
Hi Denis,

I can login to git.eclipse.org via ssh, but I do not have permissions to execute shell commands. Can you give me such rights? I did not see the option to request shell access via portal.eclipse.org.

Best regards,
Dimitar
Comment 12 David Williams CLA 2010-10-13 02:53:45 EDT
(In reply to comment #11)
> 
> ... I did not see the option
> to request shell access via portal.eclipse.org.

I've never seen it either :) ... but, just in case ... did you login to portal with your committer ID? (It also accepts bugzilla IDs ... but you "see" more with committer ID (I think) ... so just thought I'd ask).
Comment 13 Dimitar Tenev CLA 2010-10-13 02:57:05 EDT
Hi David,

Yes :) I did use my commiter ID - dtenev

Best regards,
Dimitar
Comment 14 Denis Roy CLA 2010-10-13 15:14:54 EDT
> I can login to git.eclipse.org via ssh, but I do not have permissions to
> execute shell commands.

For security reasons, we try very hard to limit the number of people who have shell accounts.  If you only need it to create a repo, can you ask someone on your project who does have a shell account to create it for you?
Comment 15 Kaloyan Raev CLA 2010-10-13 16:15:13 EDT
Dave, can you help here?
You are both WTP Incubator committer and a Git expert :-)
Comment 16 David Carver CLA 2010-10-13 16:35:45 EDT
(In reply to comment #15)
> Dave, can you help here?
> You are both WTP Incubator committer and a Git expert :-)

Yeah, but it probably won't be until tomorrow or Friday before I get to it.

Dave
Comment 17 David Carver CLA 2010-10-14 11:21:10 EDT
(In reply to comment #15)
> Dave, can you help here?
> You are both WTP Incubator committer and a Git expert :-)

I've created an empty repo in

git/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git

You will need to run the appropriate cvs2git script to load the repo with your items if you want to maintain complete history from the old project.
Comment 18 Kaloyan Raev CLA 2010-10-15 09:52:06 EDT
Dave, I am not sure how you created the repo, but it looks that it does not work for us. 

As far as I can see in the shell, the git repo structure is created under 

    /webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/.git

instead of under

    /webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/

Mind the additional .git subfolder. 
Nevertheless, I cannot access to repository using EGit neither by connecting to

    http://git.eclipse.org/c/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/.git

nor by connecting to

    http://git.eclipse.org/c/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git

We are in quite helpless situation. I have shell access to git.eclipse.org, but I am not a WTP Incubator committer, and therefore my shell user is not part of the webtools.incubator group. On the other hand all SAP committers in WTP Incubator are not granted with shell access. I think we can easily come out of this situation if the following is done:
  1) the currently created repo is completely removed
  2) a new empty directory is created: /webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/
  3) the user ownership of the directory is changed to my user (kraev)

This way I can help the SAP committers in WTP Incubator to setup the git repo and make any necessary configuration adjustments. 

Denis, Dave, David, could you do this favor for us?
Comment 19 David Carver CLA 2010-10-15 11:45:39 EDT
Right now this is an empty repo.  Let me do some testing with it and see what I can come up with.   I just created the repo by doing a:

git init

Statement to create an empty repo.


(In reply to comment #18)
> Dave, I am not sure how you created the repo, but it looks that it does not
> work for us. 
> 
> As far as I can see in the shell, the git repo structure is created under 
> 
>     /webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/.git
> 
> instead of under
> 
>     /webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/
> 
> Mind the additional .git subfolder. 
> Nevertheless, I cannot access to repository using EGit neither by connecting to
> 
>    
> http://git.eclipse.org/c/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/.git
> 
> nor by connecting to
> 
>    
> http://git.eclipse.org/c/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git
> 
> We are in quite helpless situation. I have shell access to git.eclipse.org, but
> I am not a WTP Incubator committer, and therefore my shell user is not part of
> the webtools.incubator group. On the other hand all SAP committers in WTP
> Incubator are not granted with shell access. I think we can easily come out of
> this situation if the following is done:
>   1) the currently created repo is completely removed
>   2) a new empty directory is created:
> /webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/
>   3) the user ownership of the directory is changed to my user (kraev)
> 
> This way I can help the SAP committers in WTP Incubator to setup the git repo
> and make any necessary configuration adjustments. 
> 
> Denis, Dave, David, could you do this favor for us?
Comment 20 Denis Roy CLA 2010-10-15 11:47:38 EDT
I've removed the repo that Dave created, and have created http://git.eclipse.org/c/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git

It is writable by the webtools.incubator group.
Comment 21 Denis Roy CLA 2010-10-15 11:48:13 EDT
Sorry Dave, I think I just undid what you did here.  I'll butt out now.
Comment 22 David Carver CLA 2010-10-15 12:18:13 EDT
(In reply to comment #21)
> Sorry Dave, I think I just undid what you did here.  I'll butt out now.

Feel free to butt in as I tried following the instructions on:

http://wiki.eclipse.org/Git#Committing_and_pushing

But when I try to clone the empty repo, I get the following:

dcarver@carver-intalio:~/OpenSource$ git clone git://git.eclipse.org/gitroot/webtool/incubator/org.eclipse.webtools.incubator.sieditor.git
Initialized empty Git repository in /home/dcarver/OpenSource/org.eclipse.webtools.incubator.sieditor/.git/
fatal: The remote end hung up unexpectedly

Basically what needs to happen Denis is that the cvsroot/webtools/incubator/incubator/org.eclipse.jpt

Needs to go into this new repo.
Comment 23 Denis Roy CLA 2010-10-15 13:45:50 EDT
Dave, there's an 's' in webtools  :)

[droy@ef-denis stuff]$ git clone git://git.eclipse.org/gitroot/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git
Initialized empty Git repository in /home/droy/stuff/org.eclipse.webtools.incubator.sieditor/.git/
warning: You appear to have cloned an empty repository.
[droy@ef-denis stuff]$

Dimitar, don't forget to use git+ssh is you intend on pushing.

git clone ssh+git://userid@git.eclipse.org/gitroot/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git

I'll close this as fixed, since you should be all set.
Comment 24 David Carver CLA 2010-10-15 14:34:56 EDT
stupid freaking typos...murphy strikes again.
Comment 25 Kaloyan Raev CLA 2010-10-16 08:09:11 EDT
Thanks!
I was able to connect using EGit as an anonymous user via HTTP.
Comment 26 Dimitar Tenev CLA 2010-10-21 02:36:51 EDT
Hi Denis,

Fetch is fine through https, but what about push?
Can I push to this repository using https?

Best regards,
Dimitar
Comment 27 Dimitar Tenev CLA 2010-10-21 03:12:25 EDT
Here is the error that I get on executting push over https:
--------
git.exe push --progress  "https://dtenev@git.eclipse.org/gitroot/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git" master:master

error: Couldn't resolve host 'git.eclipse.org' while accessing https://dtenev@git.eclipse.org/gitroot/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/info/refs

fatal: HTTP request failed
-------

Am I doing something wrong?

Best regards,
Dimitar
Comment 28 Dimitar Tenev CLA 2010-10-21 05:48:00 EDT
The above errors seems to be from my proxy, as Kaloyan guessed.
I tried also though Eclipse - EGit. There the error is different (see the attached screenshot.gif)
Any ideas?

Best regards,
Dimitar
Comment 29 Dimitar Tenev CLA 2010-10-21 05:48:52 EDT
Created attachment 181375 [details]
Error through Eclipse EGit
Comment 30 David Carver CLA 2010-10-21 13:44:18 EDT
(In reply to comment #27)
> Here is the error that I get on executting push over https:
> --------
> git.exe push --progress 
> "https://dtenev@git.eclipse.org/gitroot/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git"
> master:master
> 
> error: Couldn't resolve host 'git.eclipse.org' while accessing
> https://dtenev@git.eclipse.org/gitroot/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/info/refs
> 
> fatal: HTTP request failed
> -------
> 
> Am I doing something wrong?
> 
> Best regards,
> Dimitar

For command line git, do you have your proxy configured:

; Proxy settings
[core]
        gitproxy="proxy-command" for kernel.org
        gitproxy=default-proxy ; for all the rest

http://www.kernel.org/pub/software/scm/git/docs/git-config.html
Comment 31 Dimitar Tenev CLA 2010-10-22 05:42:57 EDT
Hi Dave,

I have setup the proxy, and receive the error that is in the attachment "Error through Eclipse EGit". 
This is the error which I get when I push through https.

1. What does the error "git-receive-pack not permitted" mean?
2. Can you create a master branch in the empty remote repository (org.eclipse.webtools.incubator.sieditor.git), so we could fetch it?

Best regards,
Dimitar
Comment 32 David Carver CLA 2010-10-22 07:07:33 EDT
(In reply to comment #31)
> Hi Dave,
> 
> I have setup the proxy, and receive the error that is in the attachment "Error
> through Eclipse EGit". 
> This is the error which I get when I push through https.
> 
> 1. What does the error "git-receive-pack not permitted" mean?

https://git.wiki.kernel.org/index.php/GitFaq#Error_diagnostic

It looks like either locally or on the eclipse serviers there are some permission rights not set correctly.

> 2. Can you create a master branch in the empty remote repository
> (org.eclipse.webtools.incubator.sieditor.git), so we could fetch it?

I'll try and run an import of the existing sid editor code locally from cvs and then push that to the git repo into master.   Should have this done by the end of the day.
Comment 33 David Carver CLA 2010-10-22 07:59:35 EDT
Denis a couple of problems.

1. I've cloned locally the complete CVS module for the jpt editor from the incubator/org.eclipse.jpt module, and have a local git repo that is setup correctly.  However when I try to push this master to populate the empty repo on git.eclipse.org I get the following error.

remote: 
remote: error: git.eclipse.org does not know this committer,
remote:   or this is not you: sdimov.
remote: 
remote: denied: You (d_a_carver@yahoo.com) cannot push changes that were not committed by you. Please fix your repository, and see http://wiki.eclipse.org/Git for information on configuring your Git environment.
remote: 
remote: error: hook declined to update refs/heads/master

Seems your hook is rejecting my push of the branch back even though this repo is currently empty.

2. So to get around this, I tried following the instructions from: http://wiki.eclipse.org/Git/Migrating_to_Git

But when trying to execute the git-cvsimport I get an error saying:

Can't execute "cvsps" No such file or directory.

So basically we need the following git cvsimport command run.

git cvsimport -v -p -x -o master -d :local:/home/data/cvs/webtools/ incubator/org.eclipse.jpt -C ./org.eclipse.webtools.incubator.sieditor.git

In the webtools/incbuator directory.
Comment 34 Kaloyan Raev CLA 2010-10-22 08:04:58 EDT
Dave, I think you get confused with the incubating projects driven by SAP. 

The JPA Editor is indeed in CVS, but we are currently not trying to migrate it to Git. 

This Git repository is requested for the Service Interface and Data Types Editors project, which is completely different project. 

Dimitar is trying to push the initial contribution to the git repository. There is nothing to migrate from CVS.
Comment 35 David Carver CLA 2010-10-22 10:14:47 EDT
(In reply to comment #34)
> Dave, I think you get confused with the incubating projects driven by SAP. 
> 
> The JPA Editor is indeed in CVS, but we are currently not trying to migrate it
> to Git. 
> 
> This Git repository is requested for the Service Interface and Data Types
> Editors project, which is completely different project. 
> 
> Dimitar is trying to push the initial contribution to the git repository. There
> is nothing to migrate from CVS.

Okay, that is definitely clearing things up then.

Let me push a README text file the blank git repo then.
Comment 36 David Carver CLA 2010-10-22 10:37:37 EDT
Alright, I have a master branch now in the repo.  There is one file called README.

I used the ssh: option to push the branch there.
Comment 37 David Carver CLA 2010-10-22 11:00:54 EDT
When it rains it pours, it looks like I accidently deleted this repo!

With this the new good repository should be:

webtools/incubator/org.eclipse.webtools.incubator.sieditord.git

There is a branch file there and everything should be set.

Denis can you clean up the extraneous repos that are in their and rename the existing one to be correct.

Sorry, this is what I get for doing this with a raging head cold.
Comment 38 Kaloyan Raev CLA 2010-10-22 11:37:02 EDT
Dave, thanks for this new setup. We are able to checkout the master branch with the README file. 

Nevertheless, when we try to push we always get the error from the attached screenshot.

We try to push via https. The ssh is not an option for us, because of the firewall restrictions. 

Is it possible to push via https at all?
Is it possible for users behind firewall to push to git.eclipse.org, or only read-only access is available via http/https?
Comment 39 David Carver CLA 2010-10-22 12:54:32 EDT
(In reply to comment #38)
> Dave, thanks for this new setup. We are able to checkout the master branch with
> the README file. 
> 
> Nevertheless, when we try to push we always get the error from the attached
> screenshot.
> 
> We try to push via https. The ssh is not an option for us, because of the
> firewall restrictions. 
> 
> Is it possible to push via https at all?
> Is it possible for users behind firewall to push to git.eclipse.org, or only
> read-only access is available via http/https?

I think the syntax is wrong for https.  See supported url formats:

http://www.kernel.org/pub/software/scm/git/docs/git-push.html

Gits https protocol doesn't support username expansion.
Comment 40 Eclipse Webmaster CLA 2010-10-22 13:27:37 EDT
 
> Denis can you clean up the extraneous repos that are in their and rename the
> existing one to be correct.

Can you be a little more specific about what you need done?

-M.
Comment 41 David Carver CLA 2010-10-22 13:56:56 EDT
(In reply to comment #40)
> > Denis can you clean up the extraneous repos that are in their and rename the
> > existing one to be correct.
> 
> Can you be a little more specific about what you need done?
> 
> -M.

Sure:

Remove from webtools/incubator directory:

* org.eclipse.webtools.incubator.sieditor.git
* org.eclipse.webtools.incubator.sieditori.git

Optionally:

* Rename org.eclipse.webtools.incubator.sieditord.git to org.eclipse.webtools.incubator.sieditor.git

That should get everything back in shape.
Comment 42 Eclipse Webmaster CLA 2010-10-22 14:03:14 EDT
Ok, done.

-M.
Comment 43 Dimitar Tenev CLA 2010-10-25 05:56:47 EDT
Hi Dave,

I have tried using both remote:
https://git.eclipse.org/c/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/

and 

https://dtenev@git.eclipse.org/c/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/

The errors are the same for both tries.
I have attached above the screenshots for both errors.

Can you please do try pushing something into this repo via HTTPS?
I do not know a way to solve the issue.

Best regards,
Dimitar
Comment 44 Dimitar Tenev CLA 2010-10-25 05:58:36 EDT
Created attachment 181623 [details]
Error using https without user
Comment 45 Dimitar Tenev CLA 2010-10-25 05:59:20 EDT
Created attachment 181624 [details]
Error using https with user
Comment 46 David Carver CLA 2010-10-25 11:45:33 EDT
(In reply to comment #45)
> Created an attachment (id=181624) [details]
> Error using https with user

eGit is just now adding support of https.  Try from git command line:

https://git.eclipse.org/...

Note git DOES NOT support a https://username@git.eclipse.org  url format.  Git will prompt you for the username and password (at least in my tests with http it has).
Comment 47 Dimitar Tenev CLA 2010-10-26 07:54:58 EDT
Hi Dave,

First thanks for the guidelines.
I used command line git
git version 1.7.3.1.msysgit.0

I did commit locally with my commiter's user name from dev.eclipse.org: dtenev

Here I stuck on another error message:
I042080@SOFD60196399A /d/development/git/org.eclipse.webtools.incubator.sieditor
 (master)
$ git push
XML error: not well-formed (invalid token)
error: no DAV locking support on https://git.eclipse.org/c/webtools/incubator/or
g.eclipse.webtools.incubator.sieditor.git/
fatal: git-http-push failed

I would also say that executing: 
git push
Did NOT asked me for user name and password.

I found that this error means that there is some authentication problem on the server. See "Troubleshooting" section:
http://www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.txt 

Here is how my .gitconfig file looks like:
---------------------------------------------
[core]
	autocrlf = true
	safecrlf = false
[http]
	proxy = http://proxy:8080
[remote "origin"]
                url = https://git.eclipse.org/c/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/
                pushurl = https://git.eclipse.org/c/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/
                push = +refs/heads/*:refs/remotes/origin/*
                fetch = +refs/heads/*:refs/remotes/origin/*
[user]
	name = dtenev
	email = dimitar.tenev@sap.com
---------------------------------------------

I did executed "curl" from command line to see whether there is a connection, and it seems that there is a connection (see the attached curl.txt)

What I could do now? I have no clue.

Best regards,
Dimitar
Comment 48 Dimitar Tenev CLA 2010-10-26 07:56:10 EDT
Created attachment 181709 [details]
curl command execution result.
Comment 49 David Carver CLA 2010-10-26 12:50:54 EDT
(In reply to comment #48)
> Created an attachment (id=181709) [details]
> curl command execution result.

This is something that Denis and Matt will need to look into since it appears to be server configuration related.
Comment 50 Dimitar Tenev CLA 2010-10-28 02:40:23 EDT
Hi Denis, Matt,

Can you please take a look into the issue? 
I can not contribute project's source code to the git repository. It is quite a blocker for us.

Best regards,
Dimitar
Comment 51 Eclipse Webmaster CLA 2010-10-28 09:27:46 EDT
> Can you please take a look into the issue? 

It's on my list for today. 

-M.
Comment 52 Eclipse Webmaster CLA 2010-10-28 09:51:46 EDT
I think the issue here is that we don't enable https committ access by default(we use ssh).  Given comment 38, I'll take this bug as a request to add the https access to this repo.

You should be all set now.

-M.
Comment 53 Dimitar Tenev CLA 2010-11-01 04:46:57 EDT
Hi Matt,

I still experience the issue in "Comment 47".
Can you please check whether my user: dtenev, with email: dimitar.tenev@sap.com) has needed rights to depo/directory?

https://git.eclipse.org/c/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/

Best regards,
Dimitar
Comment 54 Eclipse Webmaster CLA 2010-11-01 09:55:20 EDT
As far as I can tell your in the right group, and there aren't any extended ACLs that are messing with the permissions.

Is there another network you can test from(home/school/cafe)?

-M.
Comment 55 Dimitar Tenev CLA 2010-11-02 03:17:56 EDT
Hi Matt,

I did try to push the files from home. Unfortunately the issue is the same - Comment 47.
Here are the results:
1. Here is my .gitconfig
--------------
[core]
	autocrlf = true
	safecrlf = false
[remote "origin"]
                url = https://git.eclipse.org/c/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/
                pushurl = https://git.eclipse.org/c/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git/
                push = +refs/heads/*:refs/remotes/origin/*
                fetch = +refs/heads/*:refs/remotes/origin/*
[user]
	name = dtenev
	email = dimitar.tenev@sap.com
--------------

2. Here is what I get from commannd prompt git:
--------------------
ditenev@DITENEV-PC /d/git/org.eclipse.webtools.incubator.sieditor (master)
$ git push
XML error: not well-formed (invalid token)
error: no DAV locking support on https://git.eclipse.org/c/webtools/incubator/or
g.eclipse.webtools.incubator.sieditor.git/
fatal: git-http-push failed

ditenev@DITENEV-PC /d/git/org.eclipse.webtools.incubator.sieditor (master)
$
--------------------

3. I did executed curl, and the output is attached as curl_from_home.txt

I got no clue. What can I do now? I will appreciate any suggestions.

Best regards,
Dimitar
Comment 56 Dimitar Tenev CLA 2010-11-02 03:19:02 EDT
Created attachment 182188 [details]
curl command execution result from home.
Comment 57 Eclipse Webmaster CLA 2010-11-02 14:18:21 EDT
When I try this remotely it works, but my .git/config is different:

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = https://committer_id@git.eclipse.org/gitroot/webtools/incubator/org.eclipse.webtools.incubator.sieditor.git
[branch "master"]
        remote = origin
        merge = refs/heads/master

-M.
Comment 58 Dimitar Tenev CLA 2010-11-03 03:44:56 EDT
HURRAH!
Thanks Matt!

Using settings from your .gitconfig everithing worked fine :)))

Thanks to all of you. SIE/DTE sources are in incubator :)

Best regards,
Dimitar
Comment 59 Dimitar Tenev CLA 2010-11-03 03:45:46 EDT
I am setting this issue to resolved.
Comment 60 David Carver CLA 2010-11-03 10:15:12 EDT
Just a suggestion, the appropriate configuration should be added to the wiki so that others can benefit if they need to connect via https as a committer.
Comment 61 Dimitar Tenev CLA 2010-11-11 06:15:45 EST
Hi Dave,

You are correct :)
I have added the .gitconfig contents into the following wiki topic:
http://wiki.eclipse.org/Git#Setting_up_https_for_pushing

Best regards,
Dimitar