Openstack のバグ修正に取り組んでいます。これはドキュメンテーション タスクだったので、変更を加えました。通常どおりにテストを実行しました。変更を Gerrit に送信しました。別のバグに取り組んでいるときに、レビュアーから戻ってきました。
ブランチを切り替えて、古いバグに取り組みました。を実行するとgit review、次のエラーが発生しました。
You are about to submit multiple commits. This is expected if you are
1 つ以上のレビュー中のコミットに依存するコミットを送信します。それ以外の場合は、送信する前に変更を 1 つのコミットにまとめることを検討する必要があります。
The outstanding commits are:
cd6bbfa (HEAD -> master) Documentation updated on panel definition using plugin files
5503c89 Merge branch 'master' of git://git.openstack.org/openstack/horizon
85b63be Change-ID:Ic0844d967d519f57246b8220f9a863faf85351d2 Closes-Bug:#1519386
74cc524 Merge branch 'master' of git://git.openstack.org/openstack/horizon
377fb7e Closes-Bug: #1597302
Do you really want to submit the above commits?
Type 'yes' to confirm, other to cancel:
そうしなければならないと思ったし、そうしました。その後、Gerrit はこのエラーを再びスローしました。
remote: Processing changes: refs: 1, done
To ssh://annakoppad@review.openstack.org:29418/openstack/horizon.git
! [remote rejected] HEAD -> refs/publish/master/bug/1597302 (you are not allowed to upload merges)
error: failed to push some refs to 'ssh://annakoppad@review.openstack.org:29418/openstack/horizon.git'
リベースを実行して修正しようとしました。
$ git rebase -i 377fb7e
The previous cherry-pick is now empty, possibly due to conflict resolution.
If you wish to commit it anyway, use:
git commit --allow-empty
Otherwise, please use 'git reset' interactive rebase in progress; onto 377fb7e
Last commands done (190 commands done):
pick 15909be modify the home-page info with the developer documentation
pick 5a39ad7 Update the home-page in setup.cfg
Next commands to do (137 remaining commands):
pick 21b723e Fix typo
pick 41e9d62 Remove embedded CSS
You are currently rebasing branch 'master' on '377fb7e'.
nothing to commit, working directory clean
Could not apply 5a39ad78233546a01ae3da6efd10b104231d1d8b... Update the home-page in setup.cfg
これが私が達成しようとしていることです。古いバグに戻し、1597302レビューのために送信し、現在のバグの作業を続けたいと考えています。1519386
これで私を助けることができる人に感謝します.!