Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1

Development.” Here, all you need to do is tell Bazaar you who are. This is a
two-step process. The first step is to tell Bazaar which name and email
address it should use when creating commit messages. Replace my name and
email address with your information in the following command:


Click here to view code image
matthew@seymour:~$ bzr whoami "Matthew Helmke"
[email protected]


The second step is to set up Bazaar with your Launchpad ID so that the code
you sign and upload is associated with your Launchpad account. Replace
yourLaunchpadID with your Launchpad ID in the command shown here:


Click here to view code image
matthew@seymour:~$ bzr launchpad-login yourLaunchpadID


If you can’t remember your ID, see where https://launchpad.net/~ redirects
you. The part that is automatically added after the ~ is your Launchpad ID.


Configuring Your Local Bash Shell

The Ubuntu packaging tools that run at the command line on your
development machine need to be configured with your information as well, in
the same way that they are configured for Ubuntu’s parent, Debian. Open
~/.bashrc in your favorite text editor and add the following lines at the
end, changing them to use your information:


Click here to view code image
matthew@seymour:~$ gpg --fingerprint youremail


Reload the Bash shell configuration file as shown here, again making the
changes needed to use your own information:


Click here to view code image
matthew@seymour:~$ export DEBFULLNAME="Matthew Helmke"
matthew@seymour:~$ export DEBEMAIL="[email protected]"


If you are using a shell other than the default, Bash, you need to configure
your shell similarly.


Fixing Bugs and Packaging


This section covers the process for fixing bugs and packaging your code. It
does not cover the mechanics of reading program code and fixing it. Here, it
is assumed that you know how to program in the language used in the

Free download pdf