We are in the process of getting the docs straightened out for reviewing RDO packages. As we do, I want to record what I have working.
I started with
rdopkg clone openstack-keystone
But that did not give me a repo that was in sync with my Gerrit account. I ended up with a .gti/config that looks likethis:
core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = http://review.rdoproject.org/r/p/openstack/keystone-distgit.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "rpm-master"] remote = rpm-master merge = refs/heads/rpm-master [remote "patches"] url = http://review.rdoproject.org/r/p/openstack/keystone.git fetch = +refs/heads/*:refs/remotes/patches/* [remote "upstream"] url = git://git.openstack.org/openstack/keystone fetch = +refs/heads/*:refs/remotes/upstream/* [remote "gerrit"] url = ssh://firstname.lastname@example.org:29418/openstack/keystone-distgit.git fetch = +refs/heads/*:refs/remotes/gerrit/* [user] email = email@example.com
openstack/keystone-distgit.git is the RPM packaging repo for Keystone.
openstack/keystone is the main keystone code repo.
My github account predates my time at Red Hat, and I’d rather not mess with that account, but the vast majority of the rest of my git work is done as firstname.lastname@example.org, so I wanted to make a local user config.
With this setup I could make a review
By editing openstack-keystone.logrotate, commiting, and running git review.