/srv/irclogs.ubuntu.com/2014/07/21/#ubuntu-app-devel.txt

=== chihchun_afk is now known as chihchun
=== renato is now known as Guest23306
JamesTaitGood morning all; happy Monday and happy Get Out of the Doghouse Day! :-D09:00
=== _salem is now known as salem_
nik90mzanetti: hi, I managed to implement the u1db query stuff in my model. Turns out I didnt need to use u1db in my class, since u1db query already returned a QList<QVariant> model with the necessary results. All i had to do was to append that to our timezonemodel list and calculate the localtime :)12:43
nik90mzanetti: however I am facing a small issue with calculating the time difference between the 2 timezones. I did something like http://paste.ubuntu.com/7830107/12:46
diogo_hi guys13:40
diogo_how can i configure git in the sdk so that it will apear on github13:40
mihirdpm: ping !!13:45
dpmhi mihir13:46
diogo_dpm13:46
mihirdpm: i see this bug , https://bugs.launchpad.net/ubuntu-calendar-app/+bug/134214813:47
mihirand feel that it is already in plural form13:47
mihirany comments ?13:47
diogo_mihir can anyone tell me how to configure git in the sdk??13:48
dpmmihir, it's not yet internationalized to handle plurals. It should be internationalized like this: i18n.tr("After %1 Occurrences", count).arg(count)13:48
mihirdiogo_: follow this instructions, http://developer.ubuntu.com/start/ubuntu-sdk/installing-the-sdk/13:49
mihirdiogo_: let me know if you get stuck anywhere.13:49
diogo_mihir: thank you13:49
mihirdpm: it is like that only in code right now , i18n.tr("After %1 Occurrences").arg(recurrenceRule[0].limit):13:50
mihirwhat is second argument in i18.tr ?13:50
diogo_mihir: i didnt find how to configure git so that it would upload my project to github13:53
dpmmihir, some languages have more than 2 plural forms, and different ways of saying there is 1 thing or 0 things or 6 things... E.g. Arabic has 6 plural forms IIRC, and English 2. For the translation system to work with all plural forms for all languages, strings that contain variables that are replaced at runtime and are contained in user messages that vary according to that count, need to be marked for plural translation. That's how you'd do it for13:54
dpmyour string:13:54
dpmi18n.tr("After %1 Occurrence", "After %1 Occurrences", recurrenceRule[0].limit).arg(recurrenceRule[0].limit)13:54
mihirdpm: thanks a lot for explanation :)13:54
dpmas strings in the code are always en_US (the base language for translations), and en_US has got only 2 plurals, you put those 2 plurals in the string13:54
dpmand then gettext takes care of all the rest.13:55
dpmit'd be good for the call to be more compact, so that you don't have to specify the count argument twice13:55
dpmbut that's something that needs to be fixed in the SDK13:55
dpmi.e. bug 118481013:56
mihirHmm got it dpm13:58
nik90diogo_: why not use the command line git functions to upload to github?14:08
diogo_but how can i do that nike90??14:11
diogo_nike90: i've already made the ssh ket for github14:11
diogo_nike90: but when i create a new project in the ubuntu sdk it askes me for the version control14:12
diogo_but now i would like to know how i could configure git in the version control options of the sdk14:12
nik90diogo_:you can intiiate a git in any folder by git init14:14
nik90diogo_: I am assuming you are using github because you are familiar with git?14:14
nik90diogo_: if that is the case, just instantiate your git folder like you would do normally14:14
diogo_nike90: i'm not familiar with git14:15
diogo_but i know it's for opensource use and for other to help each and other in a determinate project14:15
nik90diogo_: whether you use the Ubuntu SDK or not, I think it would be helpful first if you read about using git first14:16
nik90diogo_: because git and bzr are basically version control stuff. Qtcreator shouldn't matter really14:16
diogo_nike90: so how can i then upload all my folders to github ??14:17
nik90diogo_: using traditional github commands like git push, git commit, git clone etc etc.14:17
diogo_nike90: i've tryed to do by had but it wasnt realy funny to do14:17
nik90diogo_: which is why you should read first the git manual :)14:17
diogo_nike90: ok14:18
diogo_nike90: just one thing, since i've made already the ssh key it's now easyer to send files to github right?14:19
nik90diogo_: actually without submitting your ssh key to github, you cannot upload anything to github14:20
nik90diogo_: ssh keys are used as form of authentication14:21
diogo_nike90: i've already done that14:21
nik90diogo_: Create the project in Qtcreator, and choose git in the version control when it asks you14:21
diogo_and then?14:21
nik90diogo_: after that, you need to push, pull using the git terminal commands14:22
diogo_nike90: and then??14:23
nik90diogo_: after that, you need to push, pull using the git terminal commands14:29
nik90diogo_: I am not comfortable with git, that's why I use bzr (launchpad) :)14:29
diogo_nike90: and how does bzr work??14:32
nik90diogo_: Please read the documention online and if you have any specific questions, please raise them.14:35
nik90diogo_: I cannot do all the work for you :P14:36
diogo_nike90: ok and sorry14:38
mihirdpm: if you get time to review this trival MR , https://code.launchpad.net/~mihirsoni/ubuntu-calendar-app/i18Resolver/+merge/22755814:42
mihirballoons: ping !!14:42
mihirballoons: why it is failing Jenkins https://code.launchpad.net/~mihirsoni/ubuntu-calendar-app/i18Resolver/+merge/22755814:42
=== greyback is now known as greyback|away
balloonsmihir, odd.. There's a couple mp's changing how new event works.. There's a bug currently with events where duplicates are being saved14:44
balloonsthat said, the tests in trunk should be working around the bug14:44
mihirHmm okay14:44
balloonshttps://bugs.launchpad.net/ubuntu-calendar-app/+bug/133483314:44
balloonsand https://bugs.launchpad.net/ubuntu-calendar-app/+bug/133488314:44
mihiri see, both are onHold14:45
balloonsright, so anyways, I've not heard of anyway having troubles landing changes in trunk. But let's see what jenkins does after your last commit14:48
mihirballoons: sure :)14:49
brendanddpm, were you not able to find someone for this bug? https://bugs.launchpad.net/ubuntu-filemanager-app/+bug/134233614:51
balloonsbrendand, I was going to have a look in a moment14:53
balloonsbrendand, I'm curious how jenkins still continues to pass it, and the tests have been running for awhile without change if something is fundamentally broken14:54
balloonsmihir, looks like the new run passed just fine14:55
brendandballoons, that's a different mystery to solve. it is definitely and clearly broken14:59
balloonsmihir, if you encounter trouble again with it just ping.. Should land fine14:59
mihirballoons: yeah , thanks...i pushed another change lets see14:59
mihirballoons: I'll install VM and then utopic for AP by this weekend15:00
balloonsmihir, that should come in handy for you :-)15:01
=== greyback|away is now known as greyback
mihirdpm: ping !!15:20
mihirdpm: i see we have old Screenshots in store for calendar , should we update that ??15:20
=== gatox is now known as gatox_lunch
=== chihchun is now known as chihchun_afk
brendanddpm, it looks from here like the phone app jenkins bot doesn't run on device: https://code.launchpad.net/~dpm/ubuntu-filemanager-app/readable-root-fix-1331699/+merge/22404616:28
dpmbrendand, what's the phone app jenkins bot?16:29
brendanddpm, the jenkins bot that runs the jobs which tests the merge proposals for core apps16:31
dpmbrendand, ah, gotcha. Yes, MPs for core apps run on the desktop only. This is something we've been discussing with Francis for a while, as we'd like to run them on devices. I need to follow up with him some time this week on the status16:32
brendanddpm, that's the reason then16:33
brendanddpm, filemanager has different behaviour on desktop vs device16:33
brendanddpm, only one was broken16:33
=== gatox_lunch is now known as gatox
snizzohey, just a question, in ubuntu touch, is there the possibility to use some old flavored software like.. gedit or kate?17:08
snizzoI mean not officially, also doing hack here and there ;)17:09
snizzoor connecting it to a screen in some way...17:09
coty3phi !!19:29
Randy_ODoes anyone know where I can find more info on the newer design elements for Ubuntu on a phone? The stuff at Developer seems to be a bit out daated20:46
=== salem_ is now known as _salem

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