Merge lp:~nhandler/ubuntu-docs/ppa into lp:ubuntu-docs/karmic

Proposed by Nathan Handler
Status: Merged
Merged at revision: not available
Proposed branch: lp:~nhandler/ubuntu-docs/ppa
Merge into: lp:ubuntu-docs/karmic
Diff against target: None lines
To merge this branch: bzr merge lp:~nhandler/ubuntu-docs/ppa
Reviewer Review Type Date Requested Status
Dougie Richardson (community) Approve
Review via email: mp+6383@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Dougie Richardson (dougierichardson) wrote :

Thanks Nathan this is a very good addition to the Documentation.

review: Approve
lp:~nhandler/ubuntu-docs/ppa updated
301. By Adam Sommer

Patch by Nathan Handler to remove information about dhcdbd that is no longer needed. Fixes LP: #373867.

302. By Adam Sommer

Patch by Joel Goguen adding note about restarting after joining a domain. Fixes LP: #352934.

303. By Matthew East

Merging from nhandler's ppa branch

Revision history for this message
Matthew East (mdke) wrote :

I've merged this but have two small comments:

The first is that the document didn't validate due to the use of
<emphasis> inside a <command> tag. Please always check the validity of
the docbook before committing using the scripts/validate.sh script.

The second is that I don't think PPA warrants its own top level
section - logically this seems to be part of the "Adding a software
repository" section, and should probably be a sub-section of that.
Nathan, do you agree?

--
Matthew East
http://www.mdke.org
gnupg pub 1024D/0E6B06FF

Revision history for this message
Nathan Handler (nhandler) wrote :

On Tue, May 12, 2009 at 7:00 AM, Matthew East <email address hidden> wrote:
> The first is that the document didn't validate due to the use of
> <emphasis> inside a <command> tag. Please always check the validity of
> the docbook before committing using the scripts/validate.sh script.

This error has to do with there not being anything in the style guide
about how to denote parts of a command/line of text that a user needs
to modify. Dougie Richardson suggested using <emphasis> to make these
parts stand out, so that is what I used. If the validate script is
going to complain, would it be better to simply ignore it? Or should
we use something like <>'s around the text instead?

> The second is that I don't think PPA warrants its own top level
> section - logically this seems to be part of the "Adding a software
> repository" section, and should probably be a sub-section of that.
> Nathan, do you agree?

I originally made the adding a PPA section separate from everything
else due to the fact that we were not sure what we wanted to do with
it. I figured having it separate would make it easiest to merge it
into other sections later. I think having it as a sub-section of
"Adding a software repository" would make the most sense.

Nathan

Revision history for this message
Matthew East (mdke) wrote :

On Tue, May 12, 2009 at 12:16 PM, Nathan Handler <email address hidden> wrote:
> On Tue, May 12, 2009 at 7:00 AM, Matthew East <email address hidden> wrote:
>> The first is that the document didn't validate due to the use of
>> <emphasis> inside a <command> tag. Please always check the validity of
>> the docbook before committing using the scripts/validate.sh script.
>
> This error has to do with there not being anything in the style guide
> about how to denote parts of a command/line of text that a user needs
> to modify. Dougie Richardson suggested using <emphasis> to make these
> parts stand out, so that is what I used. If the validate script is
> going to complain, would it be better to simply ignore it? Or should
> we use something like <>'s around the text instead?

Understood. There's an open thread about this issue on the mailing
list about how to handle this, so let's see how that is resolved. For
the time being I removed the offending <emphasis> tag.

>> The second is that I don't think PPA warrants its own top level
>> section - logically this seems to be part of the "Adding a software
>> repository" section, and should probably be a sub-section of that.
>> Nathan, do you agree?
>
> I originally made the adding a PPA section separate from everything
> else due to the fact that we were not sure what we wanted to do with
> it. I figured having it separate would make it easiest to merge it
> into other sections later. I think having it as a sub-section of
> "Adding a software repository" would make the most sense.

Ok, let's do it that way, thanks for the input.

--
Matthew East
http://www.mdke.org
gnupg pub 1024D/0E6B06FF

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'add-applications/C/add-applications.xml'
2--- add-applications/C/add-applications.xml 2009-03-18 17:40:51 +0000
3+++ add-applications/C/add-applications.xml 2009-05-09 21:44:58 +0000
4@@ -221,8 +221,8 @@
5 <caution>
6 <para>
7 Only add software repositories from sources that you trust. Third-party
8- software repositories are not checked for security by Ubuntu members, so
9- could contain software which is harmful to your computer.
10+ software repositories are not checked for security by Ubuntu members, and
11+ may contain software which is harmful to your computer.
12 </para>
13 </caution>
14 <procedure>
15@@ -237,7 +237,7 @@
16 <para>Enter the APT line for the extra repository. This should be
17 available from the website of the repository, and should look similar
18 to the following:</para>
19- <screen>deb http://ftp.debian.org etch main</screen>
20+ <programlisting>deb http://archive.ubuntu.com/ubuntu/ &distro-short-codename; main</programlisting>
21 </step>
22 <step>
23 <para>Click <guibutton>Add Source</guibutton> and then click
24@@ -265,6 +265,57 @@
25 <guilabel>Authentication</guilabel> tab, click <guibutton>Import Key
26 File</guibutton> and select the GPG key to be imported.
27 </para>
28+ <para>
29+ You can also add the GPG key using the terminal by entering the following command:
30+ </para>
31+ <screen><command>sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com <emphasis>key-fingerprint</emphasis></command></screen>
32+</sect1>
33+
34+<sect1 id="adding-ppa" status="review">
35+ <title>Adding a Personal Package Archive (PPA)</title>
36+ <para>
37+ <ulink url="https://launchpad.net/">Launchpad</ulink> provides all users
38+ with their own Personal Package Archive (PPA) that can be used to build
39+ and store Ubuntu packages. In the same way that you can
40+ add a normal software repository, you can also add a PPA to the
41+ package manager's list of available repositories. PPAs work like normal
42+ Ubuntu archives. You can install software in the usual way -- for example,
43+ through apt-get or synaptic -- and whenever there's an update Ubuntu will
44+ prompt you to install it.
45+ </para>
46+ <caution>
47+ <para>
48+ You download and install PPA packages at your own risk. Ubuntu, Launchpad
49+ and Canonical do not endorse these packages. You must be certain that you
50+ trust the PPA owner before you install their software.
51+ </para>
52+ </caution>
53+ <para>
54+ You should begin by familiarizing yourself with <xref linkend="adding-repos"/> before beginning.
55+ </para>
56+ <para>
57+ The APT line for the PPA can be found on the PPA overview page on Launchpad,
58+ and should look similar to the following:
59+ </para>
60+ <programlisting>deb http://ppa.launchpad.net/<emphasis>user</emphasis>/ppa/<emphasis>ppa-name</emphasis> &distro-short-codename; main</programlisting>
61+ <para>
62+ As a security measure, all PPAs use a unique GPG key to digitally sign the
63+ packages that they provide. This makes it easy to check that the packages
64+ have not been tampered with since Launchpad built them and to be sure that
65+ you are downloading from the PPA that want. In order for your package
66+ manager to be able to check this, you need the public key that corresponds
67+ to the signatures. The key should be available for download on the PPA
68+ overview page on Launchpad. Until you add the PPA's key to your system, you
69+ will see warnings that you are downloading from an untrusted source.
70+ </para>
71+ <para>
72+ The key used to sign a PPA is listed on the PPA overview page. Instructions
73+ on how to add the key can be found in <xref linkend="adding-repos"/>.
74+ </para>
75+ <para>
76+ Additional information about adding a PPA repository can be found on
77+ <ulink url="https://help.launchpad.net/Packaging/PPA">Launchpad</ulink>.
78+ </para>
79 </sect1>
80
81 <sect1 id="offline" status="draft">

Subscribers

People subscribed via source and target branches