[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [libra-dev] GIT Permissions for Libra


I'm wondering if you might not be hitting an issue with fast-forwards. What msg did you get when you tried to push from cmd-line?

On 2012-05-02, at 6:39 AM, Raev, Kaloyan wrote:

Hi Naci,
 
Iâve also spent some time and get to the same troubles.
I requested the Webmaster to revert our Git repo to the âold wayâ: https://bugs.eclipse.org/bugs/show_bug.cgi?id=378247.
 
Greetings,
Kaloyan
 
From: Naci Dai [mailto:naci.dai@xxxxxxxxxxxxx] 
Sent: 02 ÐÐÐ 2012 Ð. 15:57 Ñ.
To: Raev, Kaloyan
Cc: Webmaster(Matt Ward); libra-dev@xxxxxxxxxxx
Subject: Re: GIT Permissions for Libra
 
Hi Kaloyan,
 
I ran out of options.  I tried ever possible permutation I could think of.  I cannot push and I have no idea what is wrong.  If you can figure it out that will really help and you can share the wisdom.
 
- I pulled from GIT and tried to push to it normally - Failed  (permissions problem)
    HEAD to /origin/master
 
- I pulled from GIT and tried to push to GERRIT - Failed (push not-allowed problem)
   I tried different paths
   HEAD to  master  or refs/for/master

- I pulled from GERRIT and tried to push to GERRIT - Failed (push not-allowed problem)
   I tried different paths
   HEAD to  master  or refs/for/master
 
 
   

 

On Wed, May 2, 2012 at 11:18 AM, Raev, Kaloyan <kaloyan.raev@xxxxxxx> wrote:
Hi Naci,
 
Excuse me for the late response. Last two days were official holidays in Bulgaria and I did not check my mail.
 
Actually, I did requested Gerrit for Libra a couple of months ago: https://bugs.eclipse.org/bugs/show_bug.cgi?id=371449
My intention was to experiment with it, but I got too occupied shortly after this. So, I did not even rollout this request to the Libra mailing list. I am sorry for this.
 
However, I did not expect anyone of the committers to be affected, because I explicitly chose the option:
  * I want project committers to be able to bypass the Gerrit code review system and push changes directly to the git repo.
 
Now I am reading again https://bugs.eclipse.org/bugs/show_bug.cgi?id=371449#c1 and see that it might possible that there is a side effect that the push URL is changed for committers.
 
Naci, could you read this comment and check if the new push URL works for you? If not, then we can ask the Webmaster to revert the Libra git repo to the old state.
 
I am really sorry for all this confusion.
 
Greetings,
Kaloyan
 
From: Naci Dai [mailto:naci.dai@xxxxxxxxxxxxx] 
Sent: 01 ÐÐÐ 2012 Ð. 14:34 Ñ.
To: Webmaster(Matt Ward)
Cc: Raev, Kaloyan
Subject: Re: GIT Permissions for Libra
 
Dear Matt,
 

Unless I missed a policy decision,  Libra team did not ask to be switched to gerrit yet.  How can we revert?

On Mon, Apr 30, 2012 at 6:31 PM, Webmaster(Matt Ward) <webmaster@xxxxxxxxxxx> wrote:
Hi Naci,

 This is an 'artifact' of Gerrit usage.  In order for Gerrit to work it needs to control the repo, which means it has to own it.  You should be able to push 'around' Gerrit though by using: ssh://userid@xxxxxxxxxxxxxxx:29418/libra/org.eclipse.libra.git .

-Matt.

Naci Dai wrote:
Hi Kaloyan and Denis,


I am having hard time pushing thins into Libra GIT.  This is the furthest I could get but I am stuck.  Area there changes in permissions for Libra?

Mighty Google says this has to do with insufficient group write permissions at the repo side.
(http://stackoverflow.com/questions/1918524/error-pushing-to-github-insufficient-permission-for-adding-an-object-to-reposi)
---

Identity added: /Users/ndai/.ssh/id_rsa (/Users/ndai/.ssh/id_rsa)
Counting objects: 88, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (34/34), done.
Writing objects: 100% (54/54), 5.44 KiB, done.
Total 54 (delta 30), reused 0 (delta 0)
error: insufficient permission for adding an object to repository database ./objects

fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit

 ! [remote rejected] master -> master (n/a (unpacker error))

eteration a.s.  itu ari-1 25 maslak istanbul tr
ph: +90 212 328 0825 - fax: +90 212 328 0521


-- 

Eclipse WebMaster - webmaster@xxxxxxxxxxx

Questions? Consult the WebMaster FAQ at http://wiki.eclipse.org/index.php/Webmaster_FAQ
View my status at http://wiki.eclipse.org/index.php/WebMaster



 
-- 
Naci Dai - naci.dai@xxxxxxxxxxxxx
eteration a.s.  itu ari-1 25 maslak istanbul tr
ph: +90 212 328 0825 - fax: +90 212 328 0521


 
-- 
Naci Dai - naci.dai@xxxxxxxxxxxxx
eteration a.s.  itu ari-1 25 maslak istanbul tr
ph: +90 212 328 0825 - fax: +90 212 328 0521
_______________________________________________
libra-dev mailing list
libra-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/libra-dev

______________________________
Miles T. Parker
Senior Engineer and Product Manager, Tasktop
Committer, Eclipse Mylyn and Virgo
Project Lead, Model Focussing Tools and AMP
skype: milestravisparker