[rdo-list] Review login

Pete Zaitcev zaitcev at redhat.com
Wed Jun 1 00:12:36 UTC 2016


On Tue, 31 May 2016 18:30:21 +0200
Haïkel <hguemar at fedoraproject.org> wrote:

> > If you used rdopkg clone you can now rdopkg review-spec but we also
> > need to fix defaultremote in .gitreview, I've raised that in
> > https://github.com/openstack-packages/rdopkg/issues/63

> As a workaround, I use that snippet to fix remotes.
> for i in origin patches; do URL=`git remote get-url review-$i` && git
> remote set-url $i $URL; done

There's no such thing as "git remote get-url foo" here, only set-url
(throws  error: Unknown subcommand: get-url). Is it something clever
in your ~/.gitconfig ?

In any case, I updated rdopkg from Jakub's copr and re-ran rdopkg clone.
Things progressed a bit:

[zaitcev at lembas openstack-swift.master]$ rdopkg review-spec
## get_package_env
## review_spec
git review -r review-origin rpm-master
Problem running 'git remote update review-origin'
Fetching review-origin
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch review-origin
Problems encountered installing commit-msg hook
The following command failed with exit code 1
    "scp -P29418 zaitcev at review.rdoproject.org:hooks/commit-msg .git/hooks/commit-msg"
-----------------------
Permission denied (publickey).
-----------------------
command failed: git review -r review-origin rpm-master
[zaitcev at lembas openstack-swift.master]$ 

How do you deal with it?

Greetings,
-- Pete




More information about the rdo-list mailing list