Merge lp:~renatofilho/ubuntu-calendar-app/fix-1311125 into lp:ubuntu-calendar-app

Proposed by Renato Araujo Oliveira Filho
Status: Merged
Merged at revision: 300
Proposed branch: lp:~renatofilho/ubuntu-calendar-app/fix-1311125
Merge into: lp:ubuntu-calendar-app
Diff against target: 63 lines (+22/-0)
2 files modified
calendar.qml (+21/-0)
debian/control (+1/-0)
To merge this branch: bzr merge lp:~renatofilho/ubuntu-calendar-app/fix-1311125
Reviewer Review Type Date Requested Status
Kunal Parmar Needs Fixing
Alan Pope 🍺🐧🐱 πŸ¦„ (community) Needs Fixing
Ubuntu Phone Apps Jenkins Bot continuous-integration Needs Fixing
Review via email: mp+217251@code.launchpad.net

Commit message

Integrated with SyncMonitor.

Description of the change

HOW TO TEST
===========

1 - Install new sync monitor packages from: https://code.launchpad.net/~renatofilho/sync-monitor/qml-bindings/+merge/217250
2 - Make sure that you have at least one goolge account registered on online accounts;
3 - Add a new event on google account using you browser;
4 - Click on Sync button on calendar app toolbar;
5 - Check if the new event appears on the app;

To post a comment you must log in.
255. By Renato Araujo Oliveira Filho

Added qtdeclarative5-ubuntu-syncmonitor0.1 into application dependency list.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

changes looks good, Can you tell me how to test it ?

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

> changes looks good, Can you tell me how to test it ?
How to test added to MR description.

Revision history for this message
Victor Thompson (vthompson) wrote :

Renato,

Could you merge trunk into this branch so you get the fix for a bug that prevents the app from running correctly on the device [1]?

[1] https://bugs.launchpad.net/bugs/1312480

256. By Renato Araujo Oliveira Filho

Merged mainline.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Adding qtdeclaratie5-ubuntu-syncmonitor0.1 seems to have broken the tests on jenkins.

The following packages have unmet dependencies:
 calendar-app : Depends: qtdeclarative5-ubuntu-syncmonitor0.1 but it is not installable
E: Unable to correct problems, you have held broken packages.

Do we need to binary copy that into the core apps ppa to get this passing?

review: Needs Fixing
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Also, when is the package planned to land in the image, because we can't land this branch until it does.

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Alan is correct, jenkins can't find qtdeclarative5-ubuntu-syncmonitor0.1 atm. Seems your merge is creating the package, https://code.launchpad.net/~renatofilho/sync-monitor/qml-bindings/+merge/217250.

When it merges, will it exist in the general archive? I'm assuming yes. If so, once your merge lands, jenkins should be happy.

I don't think creating a copy in the ppa makes much sense, as it will still fail on devices until the package is seeded ;-)

Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

I am not able to build sync monitor, while installing dependency, I am getting broke package error.

Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

kunal@kunal-sammy:~/Dropbox/projects/qt/qml/ubuntu/calendar/review/sync_monitor/qml-bindings$ sudo apt-get install qtpim5-dev

The following packages have unmet dependencies:
 qtpim5-dev : Depends: libqt5organizer5 (= 5.0~git20140203~e0c5eebe-0ubuntu2) but 5.0~git20140203~e0c5eebe-0ubuntu3 is to be installed
              Depends: libqt5versit5 (= 5.0~git20140203~e0c5eebe-0ubuntu2) but 5.0~git20140203~e0c5eebe-0ubuntu3 is to be installed
              Depends: libqt5versitorganizer5 (= 5.0~git20140203~e0c5eebe-0ubuntu2) but 5.0~git20140203~e0c5eebe-0ubuntu3 is to be installed
E: Unable to correct problems, you have held broken packages.
kunal@kunal-sammy:~/Dropbox/projects/qt/qml/ubuntu/calendar/review/sync_monitor/qml-bindings$

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

I understand this should have landed already, asked Renato to ping Bill for an update.

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Renato tells me this was landed in utopic but not trusty, so can you test on the device as discussed in the meeting?

Revision history for this message
Bill Filler (bfiller) wrote :

this is landed in utopic, so lets get this branched released

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

The new policy rule necessary to get this working on device get released: https://bugs.launchpad.net/bugs/1319544

Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

Tested on device, works great, Thanks.

Once package is ready we can merge the changes.

But we need to comment out following line as its causing layout related changes. Which is commented out in latest trunk.

16 + // Work-around until this branch lands:
17 + // https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/optIn-tabsDrawer/+merge/212496
18 + property bool windowActive: typeof window != 'undefined'
19 + onWindowActiveChanged: window.title = i18n.tr("Calendar")
20 +

review: Needs Fixing
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

@Renato, can you merge with trunk please?

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

I do not have the necessary permissions to push it.

Revision history for this message
David Planella (dpm) wrote :

We've now realised that this merge was pushed manually, bypassing all Jenkins tests. This has caused a serious regression (*) that's currently blocking the landings of all calendar branches and that has costed some hours for several of us to track down.

We really appreciate the contribution, but in the future, please stick to the CI workflow and refrain from manual landings. Jenkins and tests can be painful at times, but are our last line of defence against this type of regressions. Thanks.

(*)
1. SDK regression that got uncaught: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1326963
2. Missing dependency for qtdeclarative5-ubuntu-syncmonitor0.1 on trusty

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'calendar.qml'
2--- calendar.qml 2014-04-27 05:12:51 +0000
3+++ calendar.qml 2014-04-29 13:03:09 +0000
4@@ -1,12 +1,19 @@
5 import QtQuick 2.0
6 import Ubuntu.Components 0.1
7 import Ubuntu.Components.Popups 0.1
8+import Ubuntu.SyncMonitor 0.1
9+import QtQuick.Window 2.0
10
11 import "dateExt.js" as DateExt
12
13 MainView {
14 id: mainView
15
16+ // Work-around until this branch lands:
17+ // https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/optIn-tabsDrawer/+merge/212496
18+ property bool windowActive: typeof window != 'undefined'
19+ onWindowActiveChanged: window.title = i18n.tr("Calendar")
20+
21 // Argument during startup
22 Arguments {
23 id: args;
24@@ -60,6 +67,10 @@
25 footerColor: "#478158"
26 anchorToKeyboard: true
27
28+ SyncMonitor {
29+ id: syncMonitor
30+ }
31+
32 PageStack {
33 id: pageStack
34
35@@ -214,6 +225,16 @@
36 }
37 }
38 }
39+ ToolbarButton {
40+ objectName: "syncbutton"
41+ visible: syncMonitor.enabledServices ? syncMonitor.serviceIsEnabled("calendar") : false
42+ action: Action {
43+ text: enabled ? i18n.tr("Sync") : i18n.tr("Syncing")
44+ iconName: "reload"
45+ onTriggered: syncMonitor.sync(["calendar"])
46+ enabled: (syncMonitor.state !== "syncing")
47+ }
48+ }
49 }
50
51 Keys.onTabPressed: {
52
53=== modified file 'debian/control'
54--- debian/control 2014-01-28 16:48:59 +0000
55+++ debian/control 2014-04-29 13:03:09 +0000
56@@ -24,6 +24,7 @@
57 libqtorganizer1,
58 qtdeclarative5-qtorganizer-plugin,
59 qtorganizer5-eds,
60+ qtdeclarative5-ubuntu-syncmonitor0.1,
61 Description: Calendar application for Ubuntu devices
62 The Calendar application for Ubuntu devices lets you organise your life your
63 way by month, week or daily diary.

Subscribers

People subscribed via source and target branches

to status/vote changes: