lp:~unity-api-team/unity-scopes-api/multi-arch-click
- Get this branch:
- bzr branch lp:~unity-api-team/unity-scopes-api/multi-arch-click
Branch merges
- Paweł Stołowski (community): Approve
- Michi Henning (community): Approve
-
Diff: 206 lines (+106/-6)8 files modifiedCMakeLists.txt (+4/-0)
doc/tutorial.dox (+38/-0)
scoperegistry/scoperegistry.cpp (+51/-5)
scoperunner/scoperunner.cpp (+3/-0)
src/scopes/internal/RegistryObject.cpp (+1/-0)
test/gtest/scopes/Registry/scopes/testscopeA/CMakeLists.txt (+4/-0)
test/gtest/scopes/Registry/scopes/testscopeB/CMakeLists.txt (+4/-0)
test/gtest/scopes/Registry/scopes/testscopeB/testscopeB.ini.in (+1/-1)
Related bugs
Bug #1398998: Cannot provide multi-arch click packages for scopes | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 554. By Michi Henning
-
Changed run_scope() to not create a separate run time up-front just so it can
push the state notification when registry when the scope finishes. This has
two advantages:- We don't create an extra eleven threads that hang around and do nothing for the
entire life time of the scope.- We don't create two run times with the same name (as was happening previously).
The run time IDs must be unique because they are used to derive other things
that must be unique, such as socket names and log file names. In particular,
the duplicate run time IDs caused the log file to get corrupted.This solution is better than what we had, but still sub-optimal because we are still creating a separate run time at the end just so we can tell the registry that the scope has stopped. It would be better to bury these notifications in the middleware, where we can take short-cuts without all the overhead of outgoing thread pools and the like.
Also deprecated the run_scope() overload that takes a Runtime.ini param. That one was not needed, and not called by anyone (including the Go implementation).
We need to remember to strip this method from Runtime next time we do an ABI incompatible release.
Stripped out a bunch of redundant "mutable" in RuntimeImpl.h.
Approved by Marcus Tomlinson, PS Jenkins bot.
- 553. By Michi Henning
-
Generated convenience header wasn't generating #pragma once. Fixes: https:/
/bugs.launchpad .net/bugs/ 1385360. Approved by PS Jenkins bot, Marcus Tomlinson.
- 552. By Marcus Tomlinson
-
* Update the accounts we already know about when refresh_
service_ statuses( ) is called. * Remove the refresh_
services_ no_main_ loop test as refresh_ service_ statuses( ) just won't work without a main loop (this test passed incorrectly before). Fixes: https:/ /bugs.launchpad .net/bugs/ 1398813. Approved by Pawel Stolowski, PS Jenkins bot.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:unity-scopes-api