Click "Rebase" button in the Gerrit UI under your patch set.
- git review -d $PARENT_CHANGE_NUMBER
- git review -x $BROKEN_CHANGE_NUMBER
- fix the issues
- git add
- git cherry-pick --continue
- git review
- git reflog (to find the number)
- git reset --soft HEAD@{number}
- git commit -C HEAD@{number}
- create a branch
- git checkout -b your_branch_name remotes/origin/stable/havana
- hack hack hack
- commit changes
- git review stable/havana
Before starting, create a new repo within your own github account do not set a license or description. The following example uses oslo.io, so io is used throughout this doc.
cd /tmp mkdir graduation cd graduation git clone git://git.openstack.org/openstack/oslo-incubator git clone git://git.openstack.org/openstack/oslo-incubator oslo.io cd oslo.io ../oslo-incubator/tools/graduate.sh io openstack/common/fileutils.py tests/unit/test_fileutils.py # may not be necessary, but they didn't run for me # $bindir/apply_cookiecutter.sh $new_lib # git add . # git commit -m "exported from oslo-incubator by graduate.sh" 1. Add missing dependencies 2. Fix broken imports 3. Make sure the tests run 4. Make sure pep8 passes 5 Syncing dependencies from the incubator git remote add stevemart https://github.com/stevemart/oslo.io.git git push -u stevemart master