You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2015/08/02 22:39:04 UTC

[jira] [Updated] (INFRA-10068) Unable to push commit to 'incubator-cotton' git repo.

     [ https://issues.apache.org/jira/browse/INFRA-10068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yan Xu updated INFRA-10068:
---------------------------
    Description: 
Apache Cotton's git repo recently moved over to https://git-wip-us.apache.org/repos/asf/incubator-cotton.git but I wasn't able to push commit to it.

I got the following error:
{noformat:title=}
[cotton (master)]$ /usr/bin/git push origin head
Counting objects: 1, done.
Writing objects: 100% (1/1), 189 bytes | 0 bytes/s, done.
Total 1 (delta 0), reused 0 (delta 0)
remote: error: insufficient permission for adding an object to repository database ./objects
remote: fatal: failed to write object f97d39b34cbd88618e5190a9db2f1cce207d10aa
error: unpack failed: unpack-objects abnormal exit
To https://git-wip-us.apache.org/repos/asf/incubator-cotton.git
 ! [remote rejected] head -> master (unpacker error)
error: failed to push some refs to 'https://git-wip-us.apache.org/repos/asf/incubator-cotton.git'
{noformat}

This looks like I've successfully authenticated but I don't have permission for this repo. I have followed the instructions [here|https://git-wip-us.apache.org/] and I am also a committer for Apache Mesos and am able to commit to that repo. This (and the fact that this is a new ASF repo) made me suspect that it's something wrong with the repo's setup.

Can someone help look into it? 

My apache id is {{yan}} and I think I have the following correctly set up:
{noformat:title=}
[~]$ cat ~/.git-credentials 
https://yan:<redacted>@git-wip-us.apache.org
{noformat}

  was:
Apache Cotton's git repo recently moved over to https://git-wip-us.apache.org/repos/asf/incubator-cotton.git but I wasn't able to push commit to it.

I got the following error:
{noformat:title=}
[cotton (master)]$ /usr/bin/git push origin head
Counting objects: 1, done.
Writing objects: 100% (1/1), 189 bytes | 0 bytes/s, done.
Total 1 (delta 0), reused 0 (delta 0)
remote: error: insufficient permission for adding an object to repository database ./objects
remote: fatal: failed to write object f97d39b34cbd88618e5190a9db2f1cce207d10aa
error: unpack failed: unpack-objects abnormal exit
To https://git-wip-us.apache.org/repos/asf/incubator-cotton.git
 ! [remote rejected] head -> master (unpacker error)
error: failed to push some refs to 'https://git-wip-us.apache.org/repos/asf/incubator-cotton.git'
{noformat}

This looks like I've successfully authenticated but I don't have permission for this repo. I have followed the instructions [here|https://git-wip-us.apache.org/] and I am also a commit for Apache Mesos and am able to commit to that repo. This (and the fact that this is a new ASF repo) made me suspect that it's something wrong with the repo's setup.

Can someone help look into it? 

My apache id is {{yan}} and I think I have the following correctly set up:
{noformat:title=}
[~]$ cat ~/.git-credentials 
https://yan:<redacted>@git-wip-us.apache.org
{noformat}


> Unable to push commit to 'incubator-cotton' git repo.
> -----------------------------------------------------
>
>                 Key: INFRA-10068
>                 URL: https://issues.apache.org/jira/browse/INFRA-10068
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Git
>            Reporter: Yan Xu
>            Priority: Critical
>
> Apache Cotton's git repo recently moved over to https://git-wip-us.apache.org/repos/asf/incubator-cotton.git but I wasn't able to push commit to it.
> I got the following error:
> {noformat:title=}
> [cotton (master)]$ /usr/bin/git push origin head
> Counting objects: 1, done.
> Writing objects: 100% (1/1), 189 bytes | 0 bytes/s, done.
> Total 1 (delta 0), reused 0 (delta 0)
> remote: error: insufficient permission for adding an object to repository database ./objects
> remote: fatal: failed to write object f97d39b34cbd88618e5190a9db2f1cce207d10aa
> error: unpack failed: unpack-objects abnormal exit
> To https://git-wip-us.apache.org/repos/asf/incubator-cotton.git
>  ! [remote rejected] head -> master (unpacker error)
> error: failed to push some refs to 'https://git-wip-us.apache.org/repos/asf/incubator-cotton.git'
> {noformat}
> This looks like I've successfully authenticated but I don't have permission for this repo. I have followed the instructions [here|https://git-wip-us.apache.org/] and I am also a committer for Apache Mesos and am able to commit to that repo. This (and the fact that this is a new ASF repo) made me suspect that it's something wrong with the repo's setup.
> Can someone help look into it? 
> My apache id is {{yan}} and I think I have the following correctly set up:
> {noformat:title=}
> [~]$ cat ~/.git-credentials 
> https://yan:<redacted>@git-wip-us.apache.org
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)