Merge ~mardy/dekko:push-helper-fix into dekko:master

Proposed by Alberto Mardegan on 2016-07-29
Status: Merged
Approved by: Dan Chapman  on 2016-08-10
Approved revision: d53e0c48985b957c65d6acd9cf0f65168b049a01
Merged at revision: 281be5193cb12ee2348427f36d9edf4d495d000e
Proposed branch: ~mardy/dekko:push-helper-fix
Merge into: dekko:master
Diff against target: 33 lines (+6/-2)
3 files modified
CMakeLists.txt (+1/-1)
click/dekko-helper (+4/-0)
click/pushHelper.json (+1/-1)
Reviewer Review Type Date Requested Status
Dan Chapman  (community) 2016-07-29 Approve on 2016-08-10
Review via email: mp+301457@code.launchpad.net

Commit Message

Use a simple shell script as push helper

The C++ push helper is wrong and unnecessary at this point.

Description of the Change

Use a simple shell script as push helper

The C++ push helper is wrong and unnecessary at this point. Still, I'm not removing it here, in case we want to fix and extend it later.

To post a comment you must log in.
Dan Chapman  (dpniel) wrote :

Hey,

Thanks for this :-)

So the master branch atm isn't currently the development focus as it contains the old app that uses the trojita backend. The current development focus is on the dekko2 branch which uses the new qmf backend (i should add this to the README), but it's not fully functional yet in regards to online accounts so this helper can't be fully tested just yet.

I'm currently working on getting online accounts integrated for the oauth and sasl plugins into the backend, which is ongoing here http://code.dekkoproject.org/dekko-dev/messagingframework/merge_requests/3.

Although i don't think there will be another release based on the current master branch, would you like me to still merge it anyway?

Cheers

Dan

Dan Chapman  (dpniel) wrote :

Oh i forgot to mention, i added your helper to dekko2 already https://git.launchpad.net/dekko/commit/?h=dekko2&id=9c3fe95e27d788e61381671ce91556597dbd4195

Alberto Mardegan (mardy) wrote :

We are attempting to land this silo here:
https://requests.ci-train.ubuntu.com/#/ticket/1722

What is blocking is this change, and bug 1570774. If it were possible to make a release with these two fixes, that would help immensely :-)

Dan Chapman  (dpniel) wrote :

Right ok. so it would make sense then to get an interim release out to get that silo unblocked, as dekko2 is still a little way off being released.

I will get this mp merged and work out a fix for bug 1570774 in master.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/CMakeLists.txt b/CMakeLists.txt
2index 3ec76f1..faa2998 100644
3--- a/CMakeLists.txt
4+++ b/CMakeLists.txt
5@@ -1087,7 +1087,7 @@ install(
6
7 if(CLICK_MODE)
8 install(
9- PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/push-helper
10+ PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/click/dekko-helper
11 DESTINATION ${DATA_DIR}
12 )
13 install(TARGETS dekko DESTINATION ${BIN_DIR})
14diff --git a/click/dekko-helper b/click/dekko-helper
15new file mode 100755
16index 0000000..84330f1
17--- /dev/null
18+++ b/click/dekko-helper
19@@ -0,0 +1,4 @@
20+#!/usr/lib/initramfs-tools/bin/busybox static-sh
21+cp $1 $2
22+
23+# This is just a temporary hack!
24\ No newline at end of file
25diff --git a/click/pushHelper.json b/click/pushHelper.json
26index 3b3da17..8c60ca9 100644
27--- a/click/pushHelper.json
28+++ b/click/pushHelper.json
29@@ -1,3 +1,3 @@
30 {
31- "exec": "push-helper"
32+ "exec": "dekko-helper"
33 }

Subscribers

People subscribed via source and target branches