Merge lp:~afrantzis/mir/eradicate-drm-auth-magic-rpc into lp:mir
| Status: | Merged |
|---|---|
| Approved by: | Daniel van Vugt on 2015-09-21 |
| Approved revision: | 2946 |
| Merged at revision: | 2951 |
| Proposed branch: | lp:~afrantzis/mir/eradicate-drm-auth-magic-rpc |
| Merge into: | lp:mir |
| Diff against target: |
819 lines (+23/-272) 33 files modified
debian/control (+3/-3) debian/libmirprotobuf4.install (+1/-1) debian/libmirserver35.install (+1/-1) include/server/mir/frontend/session_mediator_report.h (+0/-2) src/client/rpc/mir_display_server.cpp (+0/-7) src/client/rpc/mir_display_server.h (+0/-4) src/include/common/mir/protobuf/display_server.h (+0/-4) src/protobuf/CMakeLists.txt (+1/-1) src/protobuf/mir_protobuf.proto (+0/-10) src/protobuf/symbols.map (+1/-41) src/server/CMakeLists.txt (+1/-1) src/server/frontend/protobuf_message_processor.cpp (+0/-4) src/server/frontend/session_mediator.cpp (+0/-35) src/server/frontend/session_mediator.h (+0/-4) src/server/report/logging/session_mediator_report.cpp (+0/-5) src/server/report/logging/session_mediator_report.h (+0/-2) src/server/report/lttng/session_mediator_report.cpp (+0/-1) src/server/report/lttng/session_mediator_report.h (+0/-1) src/server/report/lttng/session_mediator_report_tp.h (+0/-1) src/server/report/null/session_mediator_report.cpp (+0/-4) src/server/report/null/session_mediator_report.h (+0/-2) src/server/symbols.map (+1/-1) tests/acceptance-tests/test_nested_mir.cpp (+0/-1) tests/acceptance-tests/test_session_mediator_report.cpp (+0/-1) tests/include/mir/test/doubles/mock_nested_context.h (+0/-1) tests/include/mir/test/doubles/stub_display_server.h (+0/-4) tests/include/mir/test/stub_server_tool.h (+0/-18) tests/include/mir/test/test_protobuf_client.h (+0/-6) tests/mir_test_doubles/test_protobuf_client.cpp (+0/-18) tests/unit-tests/client/test_protobuf_rpc_channel.cpp (+14/-14) tests/unit-tests/frontend/stress_protobuf_communicator.cpp (+0/-19) tests/unit-tests/frontend/test_published_socket_connector.cpp (+0/-18) tests/unit-tests/frontend/test_session_mediator.cpp (+0/-37) |
| To merge this branch: | bzr merge lp:~afrantzis/mir/eradicate-drm-auth-magic-rpc |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Daniel van Vugt | Approve on 2015-09-21 | ||
| Chris Halse Rogers | Approve on 2015-09-21 | ||
| PS Jenkins bot | continuous-integration | Approve on 2015-09-18 | |
| Kevin DuBois (community) | Approve on 2015-09-18 | ||
| Alan Griffiths | 2015-09-18 | Approve on 2015-09-18 | |
|
Review via email:
|
|||
Commit Message
Eradicate the drm_auth_magic RPC call
Description of the Change
Eradicate the drm_auth_magic RPC call
This MP bumps the server ABI (34->35) since we removed a virtual function from the public SessionMediator
Thes MP also bumps the ABI of the mirprotobuf library (3->4) since we removed the DRM related protobuf types. Note that it also updates the stanza in the mirprotobuf symbol file to track the ABI version (was there a reason it was stuck at MIR_PROTOBUF_1?).
There have been discussions in the past about including the mir version in the symbol stanza names (e.g. 35v0.15 or similar). I am not aware of a final decision, so if one has been made let me know so that I can update the stanza names accordingly.
| Kevin DuBois (kdub) wrote : | # |
lgtm, next_buffer() is another good candidate for removal... its been dead a few releases now
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2946
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Daniel van Vugt (vanvugt) wrote : | # |
I like the idea. Just concerned a bit:
In Mir 0.16 we're introducing a protocol break that's slightly annoying. Wouldn't this proposal cause another protocol break in 0.17? Or does it only affect things that will be rebuilt anyway?
P.S. I will be probably voting to avoid ABI names like "5v0.17" etc. That's ugly and we can probably do better, but a discussion for elsewhere.
| Alexandros Frantzis (afrantzis) wrote : | # |
> In Mir 0.16 we're introducing a protocol break that's slightly annoying.
> Wouldn't this proposal cause another protocol break in 0.17? Or does it only
> affect things that will be rebuilt anyway?
No one is using the DRM specific protobuf requests anymore. The client side API was deprecated and removed long ago. So, although I had to bump mirprotobuf ABI since I am removing a class, in practice no program will be affected.

I think the final decision was 35 - only adding v17 when adding a second stanza (and not bumping the soname).
Glad to see pong() is useful