Merge lp:~nskaggs/autopilot/apdocs-install into lp:autopilot

Proposed by Nicholas Skaggs
Status: Merged
Approved by: Leo Arias
Approved revision: 537
Merged at revision: 535
Proposed branch: lp:~nskaggs/autopilot/apdocs-install
Merge into: lp:autopilot
Prerequisite: lp:~nskaggs/autopilot/apdocs-restruct
Diff against target: 203 lines (+80/-32)
6 files modified
docs/_templates/indexcontent.html (+18/-12)
docs/contents.rst (+1/-0)
docs/faq/faq.rst (+15/-20)
docs/guides/installation.rst (+42/-0)
docs/index.rst (+1/-0)
docs/porting/porting.rst (+3/-0)
To merge this branch: bzr merge lp:~nskaggs/autopilot/apdocs-install
Reviewer Review Type Date Requested Status
Allan LeSage (community) Approve
PS Jenkins bot continuous-integration Approve
Thomi Richards (community) Approve
Review via email: mp+247232@code.launchpad.net

Commit message

Make installation it's own section, tweak the faq accordingly

Description of the change

Make installation it's own section, tweak the faq accordingly

To post a comment you must log in.
lp:~nskaggs/autopilot/apdocs-install updated
527. By Nicholas Skaggs

new guide

528. By Nicholas Skaggs

add installation to toc

529. By Nicholas Skaggs

tweak

530. By Nicholas Skaggs

rebase to restruct

531. By Nicholas Skaggs

tweaks to porting links

532. By Nicholas Skaggs

fix whitespace changes

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

LGTM

review: Approve
lp:~nskaggs/autopilot/apdocs-install updated
533. By Nicholas Skaggs

add ref for installing

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:533
http://jenkins.qa.ubuntu.com/job/autopilot-ci/989/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-vivid-amd64-ci/52
        deb: http://jenkins.qa.ubuntu.com/job/autopilot-vivid-amd64-ci/52/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-vivid-armhf-ci/52
        deb: http://jenkins.qa.ubuntu.com/job/autopilot-vivid-armhf-ci/52/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-vivid-i386-ci/52
        deb: http://jenkins.qa.ubuntu.com/job/autopilot-vivid-i386-ci/52/artifact/work/output/*zip*/output.zip
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-vivid-touch/917
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-vivid-autopilot/68
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-vivid-mako/808
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/915
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-armhf/915/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/17315
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-vivid-autopilot/73
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-amd64/493
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-vivid-amd64/493/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/autopilot-ci/989/rebuild

review: Approve (continuous-integration)
lp:~nskaggs/autopilot/apdocs-install updated
534. By Nicholas Skaggs

rebase to restruct / trunk

535. By Nicholas Skaggs

fix index and refs

536. By Nicholas Skaggs

grammar

Revision history for this message
Allan LeSage (allanlesage) wrote :

One teensy comment, else looks fine.

review: Approve
lp:~nskaggs/autopilot/apdocs-install updated
537. By Nicholas Skaggs

fix grammar

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'docs/_templates/indexcontent.html'
2--- docs/_templates/indexcontent.html 2015-01-22 17:18:14 +0000
3+++ docs/_templates/indexcontent.html 2015-01-22 17:18:15 +0000
4@@ -13,6 +13,20 @@
5 </td>
6 <td width="50%">
7 <p class="biglink">
8+ <a class="biglink" href="{{ pathto("faq/troubleshooting") }}">How To Troubleshoot My Failing Test</a><br/>
9+ <span class="linkdescr">My test works . . . sometimes . . . </span>
10+ </p>
11+ </td>
12+ </tr>
13+ <tr>
14+ <td width="50%">
15+ <p class="biglink">
16+ <a class="biglink" href="{{ pathto("guides/installation") }}">Installing Autopilot</a><br/>
17+ <span class="linkdescr">I need this on my machine!</span>
18+ </p>
19+ </td>
20+ <td width="50%">
21+ <p class="biglink">
22 <a class="biglink" href="{{ pathto("faq/faq") }}">Frequently Asked Questions</a><br/>
23 <span class="linkdescr">... with answers!</span>
24 </p>
25@@ -23,7 +37,7 @@
26 <p class="biglink">
27 <a class="biglink" href="{{ pathto("tutorial/tutorial") }}">Autopilot Tutorial</a><br/>
28 <span class="linkdescr">Grok Autopilot!</span>
29- </p>
30+ </p>
31 </td>
32 <td width="50%">
33 <p class="biglink">
34@@ -37,9 +51,9 @@
35 <p class="biglink">
36 <a class="biglink" href="{{ pathto("guides/running_ap") }}">Running Tests</a><br/>
37 <span class="linkdescr">How do I start this thing?</span>
38- </p>
39+ </p>
40 </td>
41- <td width="50%">
42+ <td width="50%">
43 <p class="biglink">
44 <a class="biglink" href="{{ pathto("api/index") }}">API Reference</a><br/>
45 <span class="linkdescr">API reference documentation for Autopilot.</span>
46@@ -53,21 +67,13 @@
47 <span class="linkdescr">Tips to bring out the test writer in you.</span>
48 </p>
49 </td>
50- <td width="50%">
51+ <td width="50%">
52 <p class="biglink">
53 <a class="biglink" href="{{ pathto("appendix/appendix") }}">Appendices</a><br/>
54 <span class="linkdescr">Technical documentation that doesn't fit anywhere else.</span>
55 </p>
56 </td>
57 </tr>
58- <tr>
59- <td width="50%">
60- <p class="biglink">
61- <a class="biglink" href="{{ pathto("faq/troubleshooting") }}">How To Troubleshoot My Failing Test</a><br/>
62- <span class="linkdescr">My test works . . . sometimes . . . </span>
63- </p>
64- </td>
65- </tr>
66 </table>
67
68 <h2>Indices and tables:</h2>
69
70=== modified file 'docs/contents.rst'
71--- docs/contents.rst 2015-01-22 17:18:14 +0000
72+++ docs/contents.rst 2015-01-22 17:18:15 +0000
73@@ -10,6 +10,7 @@
74 tutorial/tutorial
75 guides/good_tests
76 guides/running_ap
77+ guides/installation
78 api/index
79 porting/porting
80 guides/page_object
81
82=== modified file 'docs/faq/faq.rst'
83--- docs/faq/faq.rst 2013-12-09 00:55:42 +0000
84+++ docs/faq/faq.rst 2015-01-22 17:18:15 +0000
85@@ -13,26 +13,21 @@
86
87 The developers hang out in the #ubuntu-autopilot IRC channel on irc.freenode.net.
88
89-Q. How do I install Autopilot?
90-==============================
91-
92-Autopilot is in continuous development, and the best way to get the latest version of autopilot is to be running the latest Ubuntu development image. The autopilot developers traditionally support the Ubuntu release immediately prior to the development release via the autopilot PPA.
93-
94-**I am running the latest development image!**
95-
96-In that case you can install autopilot directly - either by installing the ``autopilot-desktop`` or ``autopilot-touch`` packages, depending on whether you are installing to a desktop or an Ubuntu Touch device.
97-
98-**I am running the Ubuntu release previous to the development release!**
99-
100-You may find that there are packages available for your Ubuntu release in the autopilot PPA. To add the PPA to your system, run the following command::
101-
102- sudo add-apt-repository ppa:autopilot/ppa && sudo apt-get update
103-
104-Once the PPA has been added to your system, you should be able to install the same autopilot packages as if you were running the latest development release (see above).
105-
106-**I am running some other Linux system!**
107-
108-You may have to download the source code, and either run from source, or build the packages locally. Your best bet is to ask in the autopilot IRC channel ( :ref:`help_and_support`).
109+Q. Which version of autopilot should I install?
110+===============================================
111+
112+Ideally you should adopt and utilize the latest version of autopilot. If your testcase requires you to utilize an
113+older version of autopilot for reasons other than :ref:`porting`, please `file a bug <https://bugs.launchpad.net/autopilot/+filebug>`_ and let the development team know about your issue.
114+
115+Q. Should I write my tests in python2 or python3?
116+=================================================
117+
118+As Autopilot fully supports python3 (see :ref:`python3_support`), you should seek to use python3 for new tests. Before making a decision, you should also ensure any 3rd party modules your test may depend on also support python3.
119+
120+Q: Should I convert my existing tests to python3?
121+=================================================
122+
123+See above. In a word, yes. Converting python2 to python3 (see :ref:`python3_support`) is generally straightforward and converting a testcase is likely much easier than a full python application. You can also consider retaining python2 compatibility upon conversion.
124
125 Q. Where can I report a bug?
126 ============================
127
128=== added file 'docs/guides/installation.rst'
129--- docs/guides/installation.rst 1970-01-01 00:00:00 +0000
130+++ docs/guides/installation.rst 2015-01-22 17:18:15 +0000
131@@ -0,0 +1,42 @@
132+.. _installing_autopilot:
133+
134+Installing Autopilot
135+####################
136+
137+.. contents::
138+
139+
140+Autopilot is in continuous development, and the best way to get the latest version of autopilot is to run the latest Ubuntu development image. The autopilot developers traditionally support the Ubuntu release immediately prior to the development release via the autopilot PPA.
141+
142+Ubuntu
143+======
144+**I am running the latest development image!**
145+
146+In that case you can install autopilot directly from the repository and know you are getting the latest release. Check out the packages below.
147+
148+**I am running a stable version of Ubuntu!**
149+
150+You may install the version of autopilot in the archive directly, however it will not be up to date. Instead, you should add the latest autopilot ppa to your system (as of this writing, that is autopilot 1.5).
151+
152+To add the PPA to your system, run the following command::
153+
154+ sudo add-apt-repository ppa:autopilot/1.5 && sudo apt-get update
155+
156+Once the PPA has been added to your system, you should be able to install the autopilot packages below.
157+
158+**Which packages should I install?**
159+
160+Are you working on ubuntu touch applications? The ``autopilot-touch`` metapackage is for you::
161+
162+ sudo apt-get install autopilot-touch
163+
164+If you are sticking with gtk desktop applications, install the ``autopilot-desktop`` metapackage instead::
165+
166+ sudo apt-get install autopilot-desktop
167+
168+Feel free to install both metapackages to ensure you have support for all autopilot tests.
169+
170+Other Linux's
171+=============
172+
173+You may have to download the source code, and either run from source, or build the packages locally. Your best bet is to ask in the autopilot IRC channel ( :ref:`help_and_support`).
174
175=== modified file 'docs/index.rst'
176--- docs/index.rst 2015-01-22 17:18:14 +0000
177+++ docs/index.rst 2015-01-22 17:18:15 +0000
178@@ -6,6 +6,7 @@
179 tutorial/tutorial
180 guides/good_tests
181 guides/running_ap
182+ guides/installation
183 api/index
184 faq/faq
185 porting/porting
186
187=== modified file 'docs/porting/porting.rst'
188--- docs/porting/porting.rst 2014-04-15 02:32:16 +0000
189+++ docs/porting/porting.rst 2015-01-22 17:18:15 +0000
190@@ -1,3 +1,5 @@
191+.. _porting:
192+
193 Porting Autopilot Tests
194 #######################
195
196@@ -74,6 +76,7 @@
197
198 all_keys = app_proxy.select_many(KeyCustomProxy)
199
200+.. _python3_support:
201
202 Python 3
203 ++++++++

Subscribers

People subscribed via source and target branches