RecipesDraft
Contents
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
Set up your environment as explained above.
$ bzr checkout lp:ubuntu/karmic/gedit
$ cd gedit # make some changes $ vi debian/rules $ dch -i
$ bzr bd -- -S
- Do test-building and testing of your changes.
$ debcommit -r
dput gedit_*_source.changes
Updating a package to a new Upstream version
Set up your environment as explained above.
$ bzr checkout lp:ubuntu/karmic/gedit
$ cd gedit $ bzr bd -- -S
$ uscan $ dch -i
- Do more necessary changes.
$ bzr bd -- -S
- Do test-building and testing of your changes.
$ debcommit -r
dput gedit_*_source.changes
Proposing a merge
Set up your environment as explained above.
$ bzr checkout lp:ubuntu/karmic/gedit $ bzr branch gedit gedit-fix123456
$ cd gedit-fix123456 # make some changes $ vi debian/rules $ dch -i
$ bzr bd -- -S
- Do test-building and testing of your changes.
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.
- ...
DistributedDevelopment/RecipesDraft (last edited 2009-04-02 10:59:12 by i59F72099)