Merge lp:~paniemin/gwibber/gwibber into lp:gwibber
Status: | Rejected |
---|---|
Rejected by: | Robert Bruce Park |
Proposed branch: | lp:~paniemin/gwibber/gwibber |
Merge into: | lp:gwibber |
Diff against target: |
292 lines (+25/-41) 16 files modified
bin/gwibber-service (+1/-1) data/Makefile.am (+1/-6) data/com.Gwibber.Connection.service.in (+0/-3) data/com.Gwibber.Messages.service.in (+0/-3) data/com.Gwibber.Searches.service.in (+0/-3) data/com.Gwibber.Streams.service.in (+0/-3) data/com.Gwibber.URLShorten.service.in (+0/-3) gwibber/lib/__init__.py (+1/-1) gwibber/microblog/dispatcher.py (+6/-6) gwibber/microblog/storage.py (+3/-3) gwibber/microblog/util/__init__.py (+4/-4) libgwibber/connection.vala (+2/-1) libgwibber/messages.vala (+2/-1) libgwibber/streams.vala (+2/-1) libgwibber/urlshorten.vala (+2/-1) tests/service-start.in (+1/-1) |
To merge this branch: | bzr merge lp:~paniemin/gwibber/gwibber |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Bruce Park | Disapprove | ||
gwibber-committers | Pending | ||
Review via email: mp+143341@code.launchpad.net |
Description of the change
Single patch to fix race condition in gwibber-service startup from dbus.
The issue in current system is that gwibber-service process is started for each bus name that is registered using .desktop files. To avoid the multi process situation gwibber-service has to use single busname for multiple paths and interfaces like patches changes the design.
This is fix for https:/
Unmerged revisions
- 1394. By Pauli
-
fix dbus service startup not to start multiple instances
gwibber-service process can be started multiple times by dbus for each
service file. If previous startup hadn't yet had time to register the
com.Gwibber.Connection second instance will be able start duplicate
instance.To avoid dealing with the startup race condition we can use single
service file to provide all services making dbus handle correctly single
gwibber-service instance per user login.Signed-off-by: Pauli Nieminen <email address hidden>
-------------- Ths line and the following will be ignored --------------
removed:
data/com.Gwibber. Connection. service. in
data/com.Gwibber. Messages. service. in
data/com.Gwibber. Searches. service. in
data/com.Gwibber. Streams. service. in
data/com.Gwibber. URLShorten. service. in
modified:
bin/gwibber-service
data/Makefile.am
gwibber/lib/__init_ _.py
gwibber/microblog/ dispatcher. py
gwibber/microblog/ storage. py
gwibber/microblog/ util/__ init__. py
libgwibber/connection. vala
libgwibber/messages. vala
libgwibber/streams. vala
libgwibber/urlshorten. vala
tests/service-start.in
I forgot to mention but I only tested the change on top of 3.5.2 because any later versions require dependencies that I don't have easily installable. I should probably find some time to figure out how to pull those missing dependencies to my system. But conflicts between 3.5.2 and 3.6.0 were trivial to solve because they all were related to com.Gwibber. Accounts removal.