Skip to main content

Do a merge / sync

  1. grab the automated merge results grab-merge python-mistralclient && cd python-mistralclient
  2. download ubuntu package source git clone lp:~ubuntu-server-dev/ubuntu/+source/python-mistralclient
  3. untar debian dir from LATEST debian package tar xvf python-mistralclient_4.0.1-2.debian.tar.xz
  4. copy merged debian dir to our package source rsync -avrz --delete ../python-mistralclient-4.0.1-2ubuntu1/debian/ ./python-mistralclient/debian/
  5. read the REPORT file (note the Conflicts) vi REPORTS ( in this case don't worry about any that aren't in debian dir )
  6. resolve the Conflict files cd python-mistralclient (fix up conflicting files, you'll see conflicts surrounded by <<<<<<< ======= >>>>>>>)
  7. update d/changelog with your name/email/stamp dch -i # you'll need to maintain the old version; not sure of a better way
  8. compare latest debian and new ubuntu package diff -Naur ../debian/ debian/|less
  9. note any differences* in "Remaining changes" vi debian/changelog
  10. verify git diff changes make sense git diff
  11. commit changes debcommit -a # only keep "Merge from Debian unstable. Remaining changes:" paragraph in commit message
  12. push to launchpad git push lp:~ubuntu-server-dev/ubuntu/+source/python-mistralclient
  13. create new upstream release if needed