Merge lp://staging/~brendan-donegan/checkbox/launchpad_transport into lp://staging/checkbox
Proposed by
Brendan Donegan
Status: | Merged |
---|---|
Approved by: | Zygmunt Krynicki |
Approved revision: | 2883 |
Merged at revision: | 2881 |
Proposed branch: | lp://staging/~brendan-donegan/checkbox/launchpad_transport |
Merge into: | lp://staging/checkbox |
Diff against target: |
460 lines (+297/-18) 8 files modified
checkbox-gui/checkbox-gui/qml/SubmissionDialog.qml (+14/-8) checkbox-gui/gui-engine/gui-engine.cpp (+48/-2) checkbox-gui/gui-engine/gui-engine.h (+6/-1) checkbox-ng/checkbox_ng/launchpad.py (+209/-0) checkbox-ng/checkbox_ng/service.py (+5/-3) checkbox-ng/setup.py (+2/-0) plainbox/plainbox/impl/highlevel.py (+10/-4) support/develop-projects (+3/-0) |
To merge this branch: | bzr merge lp://staging/~brendan-donegan/checkbox/launchpad_transport |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brendan Donegan (community) | Needs Resubmitting | ||
Zygmunt Krynicki (community) | Approve | ||
Review via email:
|
Description of the change
Submit to Launchpad
Enable Checkbox to submit to Launchpad. Update the SubmissionDialog to send
to Launchpad by default and adjust the DBus API to pass the session state
through, which the LaunchpadTransport class requires to get some details
needed by the Launchpad submission form. Add the LaunchpadTransport class
itself, which creates the POST request to send to Launchpad.
To post a comment you must log in.
12:20 <@zyga> brendand: hmm t(transport_ name, where, option_list) (with data and config being filled in
automatically by other layers)\
cannot force the output reply format (it should be some object where part is standardized and the rest is up to the transport) via-transport dbus API change is unfortunate, since session is now required then (perhaps) we should just move it to the session wrapper class?
12:21 <@zyga> brendand: I don't like what you are doing in C++ (sorry), I think the QML api should be SendViaTranspor
12:22 <@zyga> brendand: and that big patch needs splitting and rebasing
12:22 <@zyga> brendand: (though maybe not rebasing, sorry, misread one path)
12:23 <@zyga> brendand: highlevel should not interpret the result of send(), that should be returned, hoping that the caller will undestand it *or* we should define what send() must return but then it
12:24 <@zyga> brendand: you spell e-mail as "eMail"?
12:28 <@zyga> brendand: hmm, the send-data-
12:28 <@zyga> brendand: checkbox-ng packaging must say breaks checkbox-gui << (the version under development)
12:29 <@zyga> brendand: (well, the service must say that at least)
12:29 <@zyga> brendand: ok, let's do this
12:29 <@zyga> brendand: I'll work on the better-transports branch to add standardized error handling
12:29 <@zyga> brendand: and semi-standardized return value
12:30 <@zyga> brendand: and apply that evertwhere necessary
12:30 <@zyga> brendand: and I'll let you split that patch up and then we can review it again
12:30 <@zyga> brendand: I haven't read everything and I don't understand some of the QML changes
12:31 <@zyga> brendand: build documentation please, fix errors in the new code
12:31 <@zyga> brendand: and maybe work on some tests, look at how roadmr did those for the cert transport