Merge lp:~kyrofa/unity-scopes-api/1452423_fix-tutorial-typos into lp:unity-scopes-api/devel

Proposed by Kyle Fazzari
Status: Merged
Approved by: Michi Henning
Approved revision: 328
Merged at revision: 584
Proposed branch: lp:~kyrofa/unity-scopes-api/1452423_fix-tutorial-typos
Merge into: lp:unity-scopes-api/devel
Diff against target: 30 lines (+3/-3)
1 file modified
doc/tutorial.dox (+3/-3)
To merge this branch: bzr merge lp:~kyrofa/unity-scopes-api/1452423_fix-tutorial-typos
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Michi Henning (community) Approve
Review via email: mp+258490@code.launchpad.net

This proposal supersedes a proposal from 2015-05-06.

Commit message

Fix a couple typos in the tutorial.

Description of the change

This simply fixes a couple of typos found in the tutorial.

To test:

1) Look at old documentation, and notice the following sentence: "Prior to sending any queries, the scopes run time calls run() if your stop() method completed successfully (did not throw an exception)."

2) Regenerate documentation based on this MP:

$ cmake /path/to/src
$ make doc

3) Open up doc/index.html and notice that the sentence is now: "Prior to sending any queries, the scopes run time calls run() if your start() method completed successfully (did not throw an exception)." A few other smaller typos were also corrected.

To post a comment you must log in.
Revision history for this message
Michi Henning (michihenning) wrote : Posted in a previous version of this proposal

Great, thanks for that!

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
Michi Henning (michihenning) wrote : Posted in a previous version of this proposal

I just realized that you targeted this at trunk, but it really should be devel. Nothing wrong with the MR as such, just the wrong target branch. Can you re-submit for the correct branch please?

review: Needs Fixing
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Of course Michi, sorry about that! I've resubmitted this MP targeting devel.

Revision history for this message
Michi Henning (michihenning) wrote :

No need to be sorry. After all, the project description told you to do the wrong thing!

For what it's worth, for unity-scopes-api and thumbnailer, we use devel as a staging branch and periodically take all the changes that have accumulated on the devel branch and bulk-merge them into trunk. From there, the changes go into the archives.

For other projects, the process may well be different. Some projects merge directly into trunk (and do not pass Go...), so you need to check with the project maintainers to find out what the workflow is.

review: Approve
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

I can do that. Thanks for the information!

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

FAILED: Autolanding.
No commit message was specified in the merge proposal. Hit 'Add commit message' on the merge proposal web page or follow the link below. You can approve the merge proposal yourself to rerun.
https://code.launchpad.net/~kyrofa/unity-scopes-api/1452423_fix-tutorial-typos/+merge/258490/+edit-commit-message

review: Needs Fixing (continuous-integration)
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Argh... re-submitting wiped my commit message and I missed it. Fixed now.

Revision history for this message
Michi Henning (michihenning) wrote :

Splendid! :-)

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'doc/tutorial.dox'
2--- doc/tutorial.dox 2015-04-22 13:19:12 +0000
3+++ doc/tutorial.dox 2015-05-07 12:37:02 +0000
4@@ -181,7 +181,7 @@
5 The scopes run time calls \link unity::scopes::ScopeBase::stop() stop()\endlink to inform your scope
6 that it should shut down. You can use this method to perform any one-time clean-up.
7
8-Prior to sending any queries, the scopes run time calls \link unity::scopes::ScopeBase::run() run()\endlink if your `stop()` method
9+Prior to sending any queries, the scopes run time calls \link unity::scopes::ScopeBase::run() run()\endlink if your `start()` method
10 completed successfully (did not throw an exception). The `run()` method
11 is called by a separate thread that you can use for your own purposes, for example, to run an event loop.
12 The scopes run time has no further interest in this thread, but you must ensure that, if you do not return
13@@ -191,7 +191,7 @@
14
15 \paragraph handlingsearch Handling search
16
17-The unity::scopes::ScopeBase::search() method is called once for each query. Its purpose is to instantiante
18+The unity::scopes::ScopeBase::search() method is called once for each query. Its purpose is to instantiate
19 and return a new C++ instance that encapsulates the query, that is, `search()` is a factory method.
20 (Do not start execution of the query as part of `search()`; the query object has a separate method for this.)
21
22@@ -295,7 +295,7 @@
23 `run()` to execute the query.
24
25 The \link unity::scopes::SearchReplyProxy SearchReplyProxy\endlink that is passed to `run()` is an invocation
26-handle that allows you push results for the query back towards the client. (`SearchReplyProxy` is a `shared_ptr`
27+handle that allows you to push results for the query back towards the client. (`SearchReplyProxy` is a `shared_ptr`
28 to a \link unity::scopes::SearchReply SearchReply\endlink object.)
29
30 Two important methods of `SerchReply` are \link unity::scopes::SearchReply::register_category register_category()\endlink

Subscribers

People subscribed via source and target branches

to all changes: