/srv/irclogs.ubuntu.com/2015/03/09/#ubuntu-app-devel.txt

=== chihchun_afk is now known as chihchun
=== dbarth is now known as dbarth-afk
dholbachgood morning07:45
dholbachhey hey dpm07:55
dpmmorning dholbach o/07:55
goparIs install a click build target supposed to take a while?08:22
davidcalleMorning all!09:13
davmor2ogra_, popey: Shockingly I do know of steven tintin duffy, popey blockbuster great tune, how about 20th century boy by t.rex or house of the rising sun the animals or the passenger by iggy pop or david bowie ashes to ashes/ major tom or......09:14
davmor2major tom is space oddity isn't it but you know what I mean :)09:15
popeydavmor2: wonder if you were listening to Radio 2 on the weekend too then? Tony Blackburn played T-Rex immediately after the two tracks I mentioned :)09:17
davmor2popey: nope they just kinda same ilk which is why I mentioned them :)09:18
davmor2I still can't believe that house of the rising sun was a 6409:19
davmor2popey: ogra_ not forgetting deep puprle smoke on the water09:23
davmor2who know blockbuster was so dangerous :D09:24
davmor2popey: and then obviously anything by the kinks09:28
davmor2particularly lola, waterloo sunset, death of a clown and you really got me09:29
davmor2Man now I'm going to wind up listening to great music all day and it's all ogra_ and popey fault damn you both ;)09:53
ogra_haha09:53
popey\o/09:53
ogra_hmm09:53
ogra_does anyone know why our framework doesnt support QtWebSocket ?09:53
* popey creates a "Music for old people" playlist on spotify09:53
=== rmescandon is now known as rmescandon|brb
akiva-thinkpadHOLY HELL; the emails have stopped!10:04
akiva-thinkpadI can check my email again !10:04
popeywat10:06
=== rmescandon|brb is now known as rmescandon
akiva-thinkpadpopey, I used to get every single merge request email, bug report, branch, etc because I once submitted a 4 line patch to one of the core apps.10:15
popeyahh yes10:16
akiva-thinkpadand I could not unsubscribe.10:16
popeypeople complained10:16
popeyballoons "fixed" it.10:16
akiva-thinkpadballoons, \o/ Thank you10:16
dholbachdpm, do you think you can take a look at https://code.launchpad.net/help-app/+activereviews?10:19
dpmdholbach, I'll try, but I'm not too familiar with testing. I was rather looking at the theming10:22
dholbachdpm, ok, that works for me too10:32
dholbachballoons, if you could review the MPs, that'd be great10:32
ogra_bzoltan_, hey .. any idea why we dont ship QtWebScocket  ? is that unstable ot are there any security concerns ?10:37
davmor2popey, ogra_: http://open.spotify.com/album/1k7WkNHGPNPnri2tsowvtg10:45
dholbachdpm, the testing is not too complicated AFAICS, it's a test-runner, which runs a few numbers of tests (simple test_* methods) and makes a number of assertions - in a few cases the code of translations.py had to be changed, so we could have methods which return certain data we can compare with reality - it even uncovered an issue during the package build :)10:46
dholbachdpm, the next step is going to be an (internal) link checker :)10:46
dholbachbrb10:49
dakerogra_: last time i asked Mirv, he told me that QtWebSocket needs to be packaged10:57
ogra_well, we have a module in the archive with 5.411:00
dpmdholbach, omw11:00
dholbachdpm, great11:01
bzoltan_ogra_: it is mostly packaging issue11:11
ogra_bzoltan_, whats wrong with the package ?11:11
bzoltan_ogra_:  nothing as far as I know.. it just need to be done. Lots of Qt stuff are not packaged (distributed) ... docs, examples, qml modules ... I will check it with Mirv once he is back.11:12
ogra_bzoltan_, there is a pacvkae in the archive11:13
ogra_since utopic11:13
ogra_it is just not part of the framework, thats why i ask11:13
bzoltan_ogra_:  even better ... does it install in the click chroot?11:13
ogra_no idea :)11:14
bzoltan_ogra_:  usually that is the next loop to jump through after packaging11:14
bzoltan_ogra_:  let me  check it11:14
ogra_i would assume so, it is just a qml module and a lib11:14
ogra_qml-module-qt-websocket and libqt5websockets5 i guess11:15
dholbachhey hey daker, did you have a chance to look at lp:help-app?11:18
dakerdholbach: not yet i was busy during the w-e, i'll give it a shoot now11:19
dpmdholbach, can I add a custom metadata tag to index.md, or will it be removed when we do the build? This is what I'm trying to do -> http://docs.getpelican.com/en/latest/faq.html#how-do-i-assign-custom-templates-on-a-per-page-basis11:22
kalikianahmm not sure what happend, but really happy to see my phone last tons longer than it used to11:26
ogra_QNetworkManagerInterface::QNetworkManagerInterface(QObject*) nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.133" (uid=32011 pid=5147 comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene $@ M") interface="org.freedesktop.NetworkManager" member="GetDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1209 co11:27
ogra_mm="NetworkManager ")"11:27
ogra_hmpf11:27
ogra_that just started to appear out of the blue11:27
kalikianaogra_: that would seem expected. you don't want arbitrary apps to fiddle with your network settings11:28
ogra_kalikiana, the app doesnt fiddle with anything11:28
ogra_and without me makin a change this mesage started to appear between two starts11:29
kalikianaogra_: why the need for GetDevices then? seems fishy to me11:29
dholbachdpm, we'll need to special-case it, so it doesn't end up in the translations11:31
dholbachdpm, if you file a bug  I'll take a look11:31
=== chihchun is now known as chihchun_afk
dholbachthanks daker!11:35
ogra_kalikiana, i dont use GetDevices anywhere  ... http://paste.ubuntu.com/10567795/11:36
ogra_and as i said, it happened between two starts of the app, i didnt even make any changes11:36
dakerdholbach: i think i am hiting a bug11:39
ogra_(nor did i upgrade or anything)11:39
dholbachdaker, what's happening?11:39
dakerdholbach: WARNING: Could not process pages/blbla.md11:39
dakeru'' is not a valid date11:39
dholbachdaker, pages/blbla.md doesn't sound like it's part of the branch...?11:40
dakerdholbach: http://paste.ubuntu.com/10567824/11:40
dholbachthat's bizarre11:41
dholbachwhich ubuntu release are you using?11:41
daker14.04.211:41
dholbachlet me set up a chroot to see if that's the issue11:42
nik90zsombi: ping11:43
kalikiananik90: he's out for the day11:43
nik90kalikiana: oh11:44
dholbachdaker, yep, that's the issue11:52
dholbachdaker, I'll do a backport11:52
dholbachdaker, people.canonical.com/~dholbach/tmp/python-pelican_3.5.0-1~14.04.1_all.deb - and it'll be part of ppa:ubuntu-touch-coreapps-drivers/collection in a bit as well11:57
akiva-thinkpadanyone know the keyboard shortcut for using fakevim mode in qtcreator?12:28
akiva-thinkpadpopey, http://ubuntuonair.com/calendar/ you need to update zee calendar12:30
popeywe do!12:31
popeyakiva-thinkpad: thanks, will ask the guys in our meeting later12:31
akiva-thinkpad\o/12:31
dholbachballoons, once we're up, can we go through the help-app MPs together?12:36
dholbacherr, sorry12:37
dholbach"once *you*'re up" :)12:37
* popey hugs dholbach 12:37
* dholbach hugs popey back12:37
dholbachpopey, how's life over there?12:37
popeyGreat!12:39
popey✔ Coffee12:39
popey✔ Loud music12:39
dholbach:-)12:39
dholbach🗹 sun is shining12:40
dholbach🗹 tea12:40
dholbach🗹 good music12:40
popey\o/12:42
kalikiana🗹 fresh, hot waffles13:07
kalikianahmmm seems like GNOME are doing sandboxing for real now https://mail.gnome.org/archives/gnome-os-list/2015-March/msg00010.html13:18
kalikianaI wonder if they intentionally avoiding making any reference to Ubuntu :-D13:18
=== MacSlow is now known as MacSlow|lunch
cor3ntinyeah, lets have a copy of every lib for every application. Progress13:33
davmor2popey, ogra_: ahhhhh the mamas and the papas California Dreamin'13:51
=== dbarth-afk is now known as dbarth
dpmdholbach, I think to make the help app look good, we'd need to be able to add some html markup to the original content. I've found a couple of ways to do it:14:09
dpm## MyHeading2 {#myid .myclass}14:09
dpmthat works well, but when updating the .pot file, {#myid .myclass} appears in there too14:10
dpmAnother option is:14:11
dpm<div class="custom-class" markdown="1">14:11
dpmThis *word* is italicised. This **word** is bold.14:11
dpm</div>14:11
dpmbut that includes the <divs> in the .pot file too14:11
dpmI know you added code to filter out stuff from translations. Do you think there is something we could do to work around that? ^^14:12
dholbachdpm, can you make a branch available and I can take a look at it?14:12
dpmsure, will still need a bit. I'm just experimenting with it14:13
dholbachcool14:14
=== JMulholland_ is now known as JMulholland
=== chihchun_afk is now known as chihchun
dholbachballoons, yo yo yo14:35
balloonsyo yo dholbach !14:35
dholbachballoons, I heard you like test suites!14:35
balloonsjaja14:35
dholbachmaybe you can review these? https://code.launchpad.net/~dholbach/help-app/1428676/+merge/252117 - https://code.launchpad.net/~dholbach/help-app/1428678/+merge/252130 - https://code.launchpad.net/~dholbach/help-app/1428677/+merge/25230214:36
dholbachdpm, https://code.launchpad.net/~dholbach/help-app/pelican-backport/+merge/252272 is for you :)14:36
dholbachballoons, the three I mentioned to you depend on each other14:36
dholbachballoons, how's life? how was your WE?14:37
bzoltan_ogra_: for your kind consideration -> https://code.launchpad.net/~bzoltan/ubuntu-seeds/add_QtWebSocket/+merge/25230314:38
dakerdpm, dholbach yes, markdown will make the use of the HTML5 sdk a bit difficult14:38
* ogra_ hus bzoltan_ 14:38
ogra_+g14:39
dakerbzoltan_: ogra_ +114:39
dakernow someone can make an irccloud client!!!14:39
balloonsdholbach, sure I'll review. WE was great, down one house guest.. relaxing :-)14:39
dholbachthanks balloons14:39
ogra_daker, and an irccloud snappy package, so you can run your own server with two clicks ;)14:44
dakerogra_: +114:45
=== MacSlow|lunch is now known as MacSlow
davmor2popey: \o/ win I remembered the command for pkcon for a change \o/14:50
popeyheheh14:50
popeydon't think I'm removing it from the /topic! :D14:51
=== seb128_ is now known as seb128
bzoltan_ogra_: is the LTS edition of the ubuntu-sdk package created from the seeds?14:52
* balloons laughs at topic14:52
davmor2popey: no it the device-upgrade from citrain that makes me want to do local-install all the time :)14:52
ogra_bzoltan_, from the LTS seeds14:58
bzoltan_ogra_: form here -> http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/ubuntu-touch.trusty/files14:59
ogra_right, thats the 15.04 seeds (and framework)14:59
ogra_they are done and buried ...14:59
bzoltan_ogra_:  I need to add the libgl1-mesa-dev-lts-utopic | libgl1-mesa-dev, libgles2-mesa-dev-lts-utopic | libgles2-mesa-dev to the deps of the ubuntu-sdk-libs14:59
ogra_bzoltan_, not to these ones15:00
ogra_archive for trusty is locked15:00
bzoltan_ogra_: not even SRU?15:00
ogra_not sure, i dont think we ever allowed seed/meta SRUs ... since that will affect the image builds in case of isos15:01
ogra_(i understand that it wont affect the phone images indeed, but that would be a new process we never did before)15:01
ogra_bzoltan_, write a mail to phablet ... cc infinity and slangasek for a release team statement15:02
bzoltan_ogra_: The LTS-utopic HWE stack upgrade broke the ubuntu-sdk (only installed to new 14.04.2 LTS installers, but that includes now all new installers)15:03
ogra_bzoltan_, ah, thats definitey a bug :)15:04
bzoltan_ogra_:  I am afraid it is :) - https://askubuntu.com/questions/592614/cant-install-ubuntu-sdk-after-installing-ubuntu-14-04-215:04
ogra_bzoltan_, right, that still doesnt solve the underlying prob15:05
ogra_we have never allowed seed changes in SRUs before15:05
dpmdholbach, and here's one for you: https://code.launchpad.net/~dpm/help-app/web-layout/+merge/252308 :)15:07
dholbachdpm, yep, on it :)15:07
dholbach 20 files changed, 8138 insertions(+), 4826 deletions(-)15:07
dpmdholbach, it's a big diff, but the changes are relatively trivial. I've added a summary in the MP description15:07
dholbachlooks like dpm rewrote everything15:07
bzoltan_ogra_:  I am not pushing it yet. First I would like to understand the big picture ... it is not trivial, because we do not want to revert the  LTS-utopic HWE stack upgrade when the ubuntu-sdk is installed15:07
dpm:-)15:07
ogra_bzoltan_, right, get the release team to agree to some plan ... :)15:08
ogra_or have them make a suggestion15:09
bzoltan_ogra_:  OK, I am in discussion with mlankhorst who made this  LTS-utopic HWE stack upgrade about the plans.15:10
dholbachdpm, so far: LGTM, but did you check the output of the phone build ('make html' and the output in app/www)?15:10
* bzoltan_ misses Mirv :)15:10
dholbachdpm, the <h3> looks like it's exactly the same as the rest of the text15:10
davmor2popey, mzanetti: keep your fingers crossed guys but so far so good shhhhh!15:11
balloonsdholbach, do the tests make sense in 'edit-here'?15:11
* mzanetti crosses fingers15:11
dholbachballoons, they import "translations.py"15:11
davmor2bzoltan_: he'll be back soon15:11
* popey crosses everything15:11
balloonsI see that.. I guess you need to be in the content15:12
dholbachballoons, the question is, if that ever made sense in that directory in the first place15:12
dholbachmaybe we can make that a separate bug report15:12
dholbach?15:12
balloonsdholbach, yea.. I think the edit-here is getting a bit full and confusing15:12
balloonswe shouldn't build any files in it15:12
balloonsit should stay pristine15:12
dholbachhum15:12
balloonsif possible :-)15:13
dholbachok, can you file a bug about it?15:13
balloonssure thing15:13
dholbachthanks balloons!15:13
dholbachdpm, I commented on https://code.launchpad.net/~dpm/help-app/web-layout/+merge/25230815:14
dholbachdpm, let me know what you think15:15
dpmgreat, thanks dholbach15:16
dpmso on the assets thing:15:16
bzoltan_davmor2:  yes, I know... he is my report :)15:16
dpmdholbach, I'm happy with either offline of online assets. The reason I went for online was because I thought the web build would always be online15:17
dpmand this way we always get the latest assets15:17
dholbachright, good point15:17
dholbachalthough you never know if stuff doesn't break with a website relaunch :)15:17
davmor2mzanetti: not a bug per-se but if you create a local note that has check boxes, set a reminder and save it, wait for the alarm to go of, then open the note and check the box the alarm seems to go off again15:18
dpmdholbach, but I can change that, that shouldn't be a problem15:18
dholbachdpm, I guess it's a decision we have to make at some point15:18
dpmdholbach, the <h3> thing looks to me like an html5 toolkit bug?15:18
dholbachdpm, and it's sort of tied to the decision if we want to have one or two themes15:19
mzanettidavmor2, ok. will look into that. thanks for reporting. will this block the release?15:19
balloonsdholbach, why is it tied to themes?15:19
davmor2mzanetti: nope as I say not a bug as such just a curiosity :)15:19
mzanettidavmor2, what happens is that ticking the box saves the note, and saving a note syncs it to the datetime-indicator15:20
mzanettidavmor2, so I assume that happens the same minute15:20
=== rmescandon is now known as rmescandon|afk
dholbachballoons, to me it already looks like it's going to be quite a bit of work to maintain (and fix bug in) two themes for the app - if we decide to go just with one that works well on both, the question of online vs offline assets comes back up again :)15:20
davmor2mzanetti: yeap15:20
davmor2I figured it would be something like that15:20
balloonsdholbach, I'm in the single theme camp; and ohh.. right I get it now :-)15:21
* balloons is slow this morning15:21
balloonsso that would force our 'offline' help to be online15:21
dholbachballoons, not sure - we could ship all the relevant vs and css in the theme/static directory15:23
balloonscan we easily cache assets? This seems like something the platform should just offer for web apps15:24
balloonsand to help with that, we could preload the assets15:24
dholbachright, I think that's possible15:25
dholbachthe question is just: do we want the app to always work, even if without net access?15:25
balloonsI don't see why not.. It's been my hope that it would15:28
balloonsassuming ofc, we don't have to custom create a solution15:29
dpmdaker, on the help app, do you know why the content below the header has no margins at all? Perhaps something we've missed to add when using the theme? http://i.imgur.com/myClIhQ.png15:40
* daker is looking at the code15:41
dpmawesome, thanks15:41
dpmthe styling seems all over the place15:43
dpm<p> are also bolder than <h3>15:43
dholbachbug 1416385 might be related15:43
ubot5bug 1416385 in Ubuntu Help App "Fix styling: bullet points in the phone theme" [High,Triaged] https://launchpad.net/bugs/141638515:43
dpmdholbach, yeah, we want the app to offline. I think the question is how much work it is to "fix" the phone theme. If we decide we go only with one single web theme, then that theme has to have offline assets15:45
dholbachdpm, that's already the case - when I added the 'web' theme, I copied all assets15:46
dpmyeah15:46
dakerdpm: yes we don't force any margins by default(we do follow the QML sdk)15:48
dpmdaker, so each app needs to have additional CSS to define margins?15:48
dakerdpm: if you use the SDK widgets you don't have to add any margins15:49
dpmdaker, oh, I see, so you mean we should put the text inside a widget. I'm not sure which one would be best to display HTML text, though. Do you have any suggestions?15:55
dpmdholbach, let me know what you think: https://code.launchpad.net/~dpm/help-app/web-layout/+merge/25230815:55
dholbachdpm, great work!15:56
dholbachmaybe we can use 1416385 as catch-all bug for "make phone build look good"? :)15:56
dpmyeah15:57
dholbachdpm, another small one for you: https://code.launchpad.net/~dholbach/help-app/packaging-fix/+merge/252318 :)16:00
dholbachnow it's only just two other MPs for the test suite16:00
balloonsdholbach, the hacking guide should be updated to talk about testing. Not sure which mp you want to add it to?16:03
dholbachballoons, I can do that separately if you like16:04
balloonsdholbach, yea, I have some comments to add of some other stuff I will. But it can come later or in the same mp.. up to you16:06
dholbachballoons, done in https://code.launchpad.net/~dholbach/help-app/1428677/+merge/25230216:09
davmor2popey: mzanetti: good news the three bugs from last time are all fixed now just giving it a once over for regressions  but looking good so far \o/16:19
mzanettinice :)16:19
popeythanks davmor216:19
seb128hum, in a mainview with a page, how do I anchor to the bottom of the header?16:42
ogra_seb128, top: parent.top16:49
ogra_doesnt that work ?16:50
seb128ogra_, no, that put the anchor at the top of the header16:50
ogra_hmm, all my apps use the 14.04 framework (to be sure they work on rtm)16:50
ogra_but i usually use that16:50
seb128ogra_, http://paste.ubuntu.com/10569318/16:51
seb128try that16:51
seb128the line is not centered16:51
seb128you can see it easily by resizing the windows on a desktop16:51
ogra_ah, heh, i never run my apps on a desktop :)16:51
seb128well, same issue16:51
* ogra_ actually develops directly on the phone 16:51
ogra_right16:52
seb128in fact the issue I'm debugging is that "no update available" in system settings is not centered16:52
seb128which is reduced to the issue/question I'm asking here16:53
=== chihchun is now known as chihchun_afk
=== rmescandon|afk is now known as rmescandon
rickspencer3balloons, if I wanted to make a list of all the assertions that AP has to offer, what are the places I should look?19:31
rickspencer3I recall that you linked me to a base class in Python's testing library somewhere19:31
balloonsrickspencer3, yes.. It's the base class plus the one additional, which is eventually19:32
rickspencer3balloons, do you have the link handy?19:32
balloonsI suppose I could put those in the bug report19:32
rickspencer3balloons, I am about to put them together in a document :)19:33
* balloons looks19:33
rickspencer3also, is it Autopilot, Auto Pilot, or AutoPilot?19:33
balloonsI'd prefer autopilot myself :-p I suppose you would have to ask thomi, but the docs all use Autopilot19:34
balloonsI've never seen it any other way19:34
rickspencer3ok, cool19:35
balloonsrickspencer3, did I link you to http://testtools.readthedocs.org/en/latest/api.html#module-testtools.matchers?19:37
balloonsrickspencer3, perhaps this is better: http://testtools.readthedocs.org/en/latest/for-test-authors.html#assertions19:37
balloonsrickspencer3, you might also get confusion over assertions vs matchers19:40
rickspencer3balloons, yeah, I will leave out matchers19:40
rickspencer3I think just a list of assertions is best for getting people started19:40
balloonsrickspencer3, so this might be better than? https://docs.python.org/2/library/unittest.html#assert-methods19:41
rickspencer3ah, that looks like a nice summary19:41
rickspencer3and then I'll just add on the "eventually" one19:41
balloonsrickspencer3, well eventually is actually a matcher, heh19:41
balloonsunittest->testtools->autopilot. testtools adds asserts and matchers and autopilot adds only a single matcher, eventually19:42
rickspencer3right19:43
rickspencer3but, the point of matchers is to make domain specific assertions19:43
rickspencer3which eventually does19:43
rickspencer3so, I think I can just throw it in19:43
rickspencer3balloons, I don't think where the functionality comes from is relevant to users19:43
rickspencer3so, I just want to construct a useful list19:44
balloonsrickspencer3, no, it's not. I just wanted to make sure you understood why the different links19:44
rickspencer3balloons, I totally get it, but that's because our documentation is a mirror of how the system is implemented19:44
rickspencer3we haven't designed a user model that we want developers to have in their heads and crafted documentation to communicate that mental model19:45
rickspencer3balloons, is there documentation for writing AP tests for scopes?19:46
rickspencer3is that even supported?19:46
DebaruHi19:47
rickspencer3hi Debaru19:48
balloonsrickspencer3, the scopes story is still being fleshed out, but yes you can. I know qa and pete woods team was working on some helpers for it19:50
rickspencer3balloons, is there any documentation for it?19:50
rickspencer3for using AP with scopes, I mean?19:51
balloonsrickspencer3, I don't think there is anything written specifically with scopes in mind19:53
rickspencer3ok19:53
=== dbarth_ is now known as dbarth
mrqtrospopey heya! :) Now is the time to answer my email)) Joey finished celebrations, I have some free time for our project, we both have plans and so on :)20:15
popeyhehe, yeah, had a chat with him on friday.20:16
popeywill do.20:16
mrqtrospopey thanks, Alan :)20:25
=== aquarius__ is now known as aquarius
newsageshi22:02
newsageshow to create confined app and use my libs?  any docs?22:05
=== aaron_ is now known as ahoneybun

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!