#5178 Git checkout over git:// with namespace fails
Closed: Fixed None Opened 6 years ago by lsedlar.

It is possible to clone namespaced packages from dist-git via ssh, but not via git:// protocol. This leads to failing koji builds

This works:

{{{
$ git clone -n ssh://pkgs.fedoraproject.org/rpms/fedpkg.git
}}}

This does not:

{{{
$ git clone -n git://pkgs.fedoraproject.org/rpms/fedpkg.git
Cloning into 'fedpkg'...
fatal: remote error: access denied or repository not exported: /rpms/fedpkg.git
}}}

However, the url is shown in cgit web interface and I think it should work.

See here: http://pkgs.fedoraproject.org/cgit/rpms/fedpkg.git (The http version does not work either.)

Example of failed koji build trying to build SRPM from such URL:
http://koji.fedoraproject.org/koji/taskinfo?taskID=13397775


This should now be fixed.

Please re-open if you still see any issues.

Login to comment on this ticket.

Metadata