Merge lp:~nik90/ubuntu-clock-app/update-readme-typos into lp:ubuntu-clock-app

Proposed by Nekhelesh Ramananthan
Status: Merged
Approved by: Nekhelesh Ramananthan
Approved revision: 330
Merged at revision: 328
Proposed branch: lp:~nik90/ubuntu-clock-app/update-readme-typos
Merge into: lp:ubuntu-clock-app
Diff against target: 288 lines (+122/-56)
7 files modified
README (+11/-6)
README.autopilot (+21/-13)
README.developers (+31/-23)
README.mergeproposal (+33/-0)
README.translations (+4/-2)
README.unittest (+21/-12)
debian/changelog (+1/-0)
To merge this branch: bzr merge lp:~nik90/ubuntu-clock-app/update-readme-typos
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Bartosz Kosiorek Approve
Review via email: mp+267868@code.launchpad.net

Commit message

Fixed Readme typos and updated instructions. Clock app now requires Ubuntu 15.04 minimum to build and run on the desktop. Also added a README.mergeproposal to help reviewers.

Description of the change

Fixed Readme typos and updated instructions. Clock app now requires Ubuntu 15.04 minimum to build and run on the desktop. Also added a README.mergeproposal to help reviewers.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Bartosz Kosiorek (gang65) wrote :

Nice improvement

review: Approve
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

FAILED: Autolanding.
More details in the following jenkins job:
http://91.189.93.70:8080/job/ubuntu-clock-app-autolanding/280/
Executed test runs:
    FAILURE: http://91.189.93.70:8080/job/ubuntu-clock-app-vivid-amd64-autolanding/37/console

review: Needs Fixing (continuous-integration)
330. By Nekhelesh Ramananthan

Merged lp:ubuntu-clock-app

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'README'
2--- README 2014-08-14 20:16:14 +0000
3+++ README 2015-08-12 20:45:32 +0000
4@@ -1,14 +1,19 @@
5-# ReadMe - Ubuntu Clock App
6-
7-Ubuntu Clock App is the official clock app for Ubuntu Touch. We follow an open source model where the code is available to anyone to branch and hack on. The ubuntu clock app follows a test driven development (TDD) where tests are written in parallel to feature implementation to help spot regressions easier.
8-
9-## Useful Links
10+ReadMe - Ubuntu Clock App
11+=========================
12+
13+Ubuntu Clock App is the official clock app for Ubuntu Touch. We follow an open
14+source model where the code is available to anyone to branch and hack on. The
15+ubuntu clock app follows a test driven development (TDD) where tests are
16+written in parallel to feature implementation to help spot regressions easier.
17+
18+Useful Links
19+============
20
21 Here are some useful links with regards to the Clock App development.
22
23+* Home Page - https://developer.ubuntu.com/en/community/core-apps/clock/
24 * Clock App Wiki - https://wiki.ubuntu.com/Touch/CoreApps/Clock
25 * Designs - https://drive.google.com/#folders/0B55Gs35e-jxxNzRzOHVxbmNDbFU
26-* Trello Board - https://trello.com/b/Ie2rAS3W/core-apps-management
27 * Project page - https://launchpad.net/ubuntu-clock-app
28
29
30
31=== modified file 'README.autopilot'
32--- README.autopilot 2015-07-19 17:31:21 +0000
33+++ README.autopilot 2015-08-12 20:45:32 +0000
34@@ -1,22 +1,29 @@
35-# Running Autopilot tests
36-
37-Ubuntu Clock App follows a test driven development where autopilot tests are run before every merge into trunk. If you are submitting your bugfix/patch to the clock app, please follow the following steps below to ensure that all tests pass before proposing a merge request.
38-
39-If you are looking for more info about Autopilot or writing AP tests for the clock app, here are some useful links to help you:
40-
41-- http://developer.ubuntu.com/start/quality
42-- https://developer.ubuntu.com/api/autopilot/python/1.5.0/
43+Running Autopilot tests
44+=======================
45+
46+Ubuntu Clock App follows a test driven development where autopilot tests are
47+run before every merge into trunk. If you are submitting your bugfix/patch to
48+the clock app, please follow the following steps below to ensure that all tests
49+pass before proposing a merge request.
50+
51+If you are looking for more info about Autopilot or writing AP tests for the
52+clock app, here are some useful links to help you:
53+
54+* http://developer.ubuntu.com/start/quality
55+* https://developer.ubuntu.com/api/autopilot/python/1.5.0/
56
57 For help and options on running tests, see:
58
59-- https://developer.ubuntu.com/en/start/platform/guides/running-autopilot-tests/
60+* https://developer.ubuntu.com/en/start/platform/guides/running-autopilot-tests/
61
62-## Prerequisites
63+Prerequisites
64+=============
65
66 Install the following autopilot packages required to run the tests,
67-$ sudo apt-get install python3-autopilot libautopilot-qt ubuntu-ui-toolkit-autopilot python3-autopilot-vis
68+ $ sudo apt-get install python3-autopilot libautopilot-qt ubuntu-ui-toolkit-autopilot python3-autopilot-vis
69
70-## Running tests on the desktop
71+Running tests on the desktop
72+============================
73
74 Using terminal:
75
76@@ -45,7 +52,8 @@
77 $ autopilot3 vis
78
79
80-## Running tests on device or emulator:
81+Running tests on device or emulator
82+===================================
83
84 Using autopkg:
85
86
87=== modified file 'README.developers'
88--- README.developers 2015-07-15 23:50:07 +0000
89+++ README.developers 2015-08-12 20:45:32 +0000
90@@ -1,31 +1,38 @@
91-# Building and running on Utopic Desktop (14.10)
92-
93-Building and running the Ubuntu Clock App is quite simple. You will require Ubuntu 14.10 and higher to run on the desktop.
94-
95-```
96- $ bzr branch lp:ubuntu-clock-app/reboot branch-name
97+Building and running on Vivid Desktop (15.04)
98+=============================================
99+
100+Building and running the Ubuntu Clock App is quite simple. You will require
101+Ubuntu 15.04 and higher to run on the desktop.
102+
103+ $ bzr branch lp:ubuntu-clock-app branch-name
104 $ cd branch-name
105 $ mkdir builddir && cd builddir
106 $ cmake .. && cmake --build .
107 $ qmlscene ../app/ubuntu-clock-app.qml -I backend/
108-```
109-
110-# Submitting a patch upstream
111-
112-If you want to submit a bug fix you can do so by branching the code as shown above, implementing the fixes and running to see if it fixed the issue. We also request that you run the Autopilot and Unit tests to check if anything regressed due to the bug fix.
113-
114-If the tests fail, you will have to fix them before your bug fix can be approved and merged into trunk. If the tests pass then commit and push your code by,
115-
116-```
117+
118+Submitting a patch upstream
119+===========================
120+
121+If you want to submit a bug fix you can do so by branching the code as shown
122+above, implementing the fixes and running to see if it fixed the issue. We also
123+request that you run the Autopilot and Unit tests to check if anything
124+regressed due to the bug fix.
125+
126+If the tests fail, you will have to fix them before your bug fix can be
127+approved and merged into trunk. If the tests pass then commit and push your
128+code by,
129+
130 $ bzr commit -m "Implemented bug fix" --fixes lp:bug-number
131 $ bzr push lp:~launchpadid/ubuntu-clock-app/branch-name
132-```
133-
134-# Running Tests
135-
136-Please check README.autopilot and README.unittest on how to run the tests. They are quite explanatory and will help you get started.
137-
138-# Code Style
139+
140+Running Tests
141+=============
142+
143+Please check README.autopilot and README.unittest on how to run the tests.
144+They are quite explanatory and will help you get started.
145+
146+Code Style
147+==========
148
149 We are trying to use a common code style throughout the code base to maintain
150 uniformity and improve code clarity. Listed below are the code styles guides
151@@ -39,7 +46,8 @@
152 So the sections that should be taken into account in the QML conventions are QML
153 Object Declarations, Grouped Properties and Lists.
154
155-# Debugging
156+Debugging
157+=========
158
159 GDB allows one to see what is going on `inside' another program while it executes,
160 or what another program was doing at the moment it crashed. It is a pretty niffty tool which allows you
161
162=== added file 'README.mergeproposal'
163--- README.mergeproposal 1970-01-01 00:00:00 +0000
164+++ README.mergeproposal 2015-08-12 20:45:32 +0000
165@@ -0,0 +1,33 @@
166+Prerequisites to approving a Merge Proposal (MP)
167+================================================
168+
169+Over time, it has been found that insufficient testing by reviewers sometimes
170+leads to clock app trunk not buildable in Qtcreator due to manifest errors, or
171+translation pot file not updated. As such, please follow the checklist below
172+before top-approving a MP.
173+
174+Checklist
175+=========
176+
177+* Does the MP add/remove user visible strings? If Yes, has the pot file been
178+ updated?
179+
180+* Does the MP change the UI? If Yes, has it been approved by design?
181+
182+* Did you perform an exploratory manual test run of your code change and any
183+ related functionality?
184+
185+* If the MP fixes a bug or implements a feature, are there accompanying unit
186+ and autopilot tests?
187+
188+* Is the clock app trunk buildable and runnable using Qtcreator?
189+
190+* Was the debian changelog updated?
191+
192+* Was the copyright years updated if necessary?
193+
194+The above checklist is more of a guideline to help clock app trunk stay buildable,
195+stable and up to date.
196+
197+Note: As of vivid 15.04, Autopilot are broken in trunk. As such autopilot failures
198+can be excused until they are fixed in trunk.
199
200=== modified file 'README.translations'
201--- README.translations 2015-07-24 15:52:24 +0000
202+++ README.translations 2015-08-12 20:45:32 +0000
203@@ -1,4 +1,5 @@
204-# Updating translations
205+Updating translations
206+=====================
207
208 Translations for the Clock app happen in [Launchpad Translations] and
209 are automatically committed daily on the trunk branch in the po/ folder.
210@@ -21,7 +22,8 @@
211
212 And that's it, once the branch lands Launchpad should take care of all the rest!
213
214-# Behind the scenes
215+Behind the scenes
216+=================
217
218 Behind the scenes, whenever the po/*.pot file (also known as translations template)
219 is committed to trunk Launchpad reads it and updates the translatable strings
220
221=== modified file 'README.unittest'
222--- README.unittest 2014-08-14 20:16:14 +0000
223+++ README.unittest 2015-08-12 20:45:32 +0000
224@@ -1,8 +1,13 @@
225-# Running QML Unit Tests
226-
227-QML Unit Tests help with testing the internal working of components while autopilot tests help with testing the UI workflow as experience by the user. Running QML tests is quite simple and very fast.
228-
229-If you are submitting your bugfix/patch to the clock app, please follow the following steps below to check whether that all tests pass before proposing a merge request.
230+Running QML Unit Tests
231+======================
232+
233+QML Unit Tests help with testing the internal working of components while
234+autopilot tests help with testing the UI workflow as experience by the user.
235+Running QML tests is quite simple and very fast.
236+
237+If you are submitting your bugfix/patch to the clock app, please follow the
238+following steps below to check whether that all tests pass before proposing a
239+merge request.
240
241 * Branch the clock app code,
242 $ bzr branch lp:ubuntu-clock-app/reboot
243@@ -11,22 +16,26 @@
244 $ mkdir builddir && cd builddir
245 $ cmake .. && make
246
247-## Running all unit test at once
248+Running all unit test at once
249+=============================
250
251 If you want to run all tests, then run the following command from the builddir,
252
253-* $ make test
254+ $ make test
255
256 If you want more verbose output, then run,
257
258-* $ ctest -V
259-
260-## Running individual test cases,
261-
262-If you want to run testcases individually, you can do so by navigating to the unit tests folder by,
263+ $ ctest -V
264+
265+Running individual test cases,
266+==============================
267+
268+If you want to run testcases individually, you can do so by navigating to the
269+unit tests folder by,
270
271 * Navigate to the tests/unit directory
272 $ cd reboot/tests/unit
273
274 * Run the test by providing their filenames
275 $ qmltestrunner -input tst_alarmLabel.qml
276+ $ qmltestrunner -input tst_alarm.qml -import ../../builddir/backend
277
278=== modified file 'debian/changelog'
279--- debian/changelog 2015-08-11 21:49:59 +0000
280+++ debian/changelog 2015-08-12 20:45:32 +0000
281@@ -6,6 +6,7 @@
282
283 [Nekhelesh Ramananthan]
284 * Increase the height of times in the alarm screen (LP: #1365428)
285+ * Added README.mergeproposal checklist to help with the review process.
286 * Fix alarm interval information being inconsistent (LP: #1466000)
287
288 [Victor Thompson]

Subscribers

People subscribed via source and target branches