#4415 Could not read from remote repository
Closed: Fixed Opened by holcapek.

= bug description =

Can't push to git repo:

{{{
$ fedpkg push
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Could not execute push: Command '['git', 'push']' returned non-zero exit status 128
}}}

though I was able to clone it.

= bug analysis =

My "issue" looks pretty similar to https://fedorahosted.org/fedora-infrastructure/ticket/3712 . I also tried to regenerate my ssh-key, yet w/ no success.

My FAS id: holcapek, I'm on Fedora 20.


What package are you trying to push to?

Did you check out that package repo with 'fedpkg clone' or 'fedpkg clone -a' ?

What does 'grep url .git/config' show for the repo?

Replying to [comment:1 kevin]:

What package are you trying to push to?

libcsv

Did you check out that package repo with 'fedpkg clone' or 'fedpkg clone -a' ?

Plain git clone of the git:// url.
As I just checked out, fedpkg clone does the clone over ssh, which seems to be working for me, ie. I am able to push to the repo. I guess we're done then. Thanks for helping me to figure this out :-)

Jan

What does 'grep url .git/config' show for the repo?

url = git://pkgs.fedoraproject.org/libcsv.git

That is the problem. ;) You cannot push any changes via git to pkgs, it has to be ssh. ;)

Metadata