#3883 more meaningful error if module isn't found
Closed: Fixed None Opened 9 years ago by kalev.

Right now fedpkg fails with access denied message if there is not such module:
{{{
$ fedpkg clone gtkmm30
R access for gtkmm30 DENIED to kalev
}}}
Would be nice to get a more meaningful error in that case, perhaps "module not found".

Filing it in releng trac as the error is coming from gitolite, just being passed along by fedpkg.


According to gitolite upstream, this is fixed post 1.5.4 (in commit c25e05d). It may be worth stuffing this in once we unfreeze.

There is a descriptive error message now (created by fedpkg):
{{{
$ LANG=C fedpkg clone bar
Cloning into 'bar'...
R access for bar DENIED to till
(Or there may be no repository at the given path. Did you spell it correctly?)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Could not execute clone: Command '['git', 'clone', 'ssh://till@pkgs.fedoraproject.org/bar']' returned non-zero exit status 128
}}}

Login to comment on this ticket.

Metadata