RecipesDraft

Setting things up

$ sudo apt-get install bzr-builddeb
$ bzr whoami "James Westby <james.westby@ubuntu.com>"
$ bzr launchpad-login james-w

Making a simple change

  1. Set up your environment as explained above.

  2. $ bzr checkout lp:ubuntu/karmic/gedit
  3. $ cd gedit
    # make some changes
    $ vi debian/rules
    $ dch -i
  4. $ bzr bd -- -S
  5. Do test-building and testing of your changes.
  6. $ debcommit -r
  7. dput gedit_*_source.changes

Updating a package to a new Upstream version

Set up your environment as explained above.

  1. $ bzr checkout lp:ubuntu/karmic/gedit
  2. $ cd gedit
    $ bzr bd -- -S
  3. $ uscan
    $ dch -i
  4. Do more necessary changes.
  5. $ bzr bd -- -S
  6. Do test-building and testing of your changes.
  7. $ debcommit -r
  8. dput gedit_*_source.changes

Proposing a merge

Set up your environment as explained above.

  1. $ bzr checkout lp:ubuntu/karmic/gedit
    $ bzr branch gedit gedit-fix123456
  2. $ cd gedit-fix123456
    # make some changes
    $ vi debian/rules
    $ dch -i
  3. $ bzr bd -- -S
  4. Do test-building and testing of your changes.
  5. debcommit will figure out if you used (LP: #123456) in debian/changelog and attach the branch to the bugs.

    $ debcommit
    $ bzr push lp:~james-w/ubuntu/karmic/gedit/fix123456

Merging

Set up your environment as explained above.

  1. ...


CategoryDistributedDevelopment

DistributedDevelopment/RecipesDraft (last edited 2009-04-02 10:59:12 by i59F72099)