/srv/irclogs.ubuntu.com/2015/12/08/#ubuntu-app-devel.txt

=== chihchun_afk is now known as chihchun
Ayush_Hello.06:53
Ayush_I am Ayush. I am 13 years old . A beginner to open source world06:54
Sleep_Walkerwelcome06:54
Ayush_I have taken up a beginner's task to create a calendar app06:54
Ayush_I am facing problem on how to proceed06:55
Ayush_:(06:55
Ayush_I have done with burning the image file to my pendrive to dual boot with ubuntu06:55
Ayush_I have ubuntu now . Can anybody guide me step by step on to proceed this task .06:56
Ayush_Please help mentors :(06:56
Ayush_I have 3 days to complete . I am facing a lot of problem now07:00
JanCAyush_: why do you have only 3 days to complete?07:28
JanCand there already is a calendar app for Ubuntu Phone but it has lots of bugs, so maybe you can try to fix those  :)07:30
dholbachgood morning07:41
Kivizbenjamin, just curious; did you get an answer to that?07:46
zbenjaminKivi: yes07:50
zbenjamin[06.12 20:11:32] <Mirv> zbenjamin: should be LGPL, right? to be compatible with other QtC stuff. if ever to be upstreamed, will need Qt CLA.07:50
zbenjamin[06.12 20:14:15] <Mirv> zbenjamin: I think the standard license short text is probably needed too instead of just url. the other lines are not needed in headers but also don't hurt07:50
zbenjaminKivi: ^07:50
Kivizbenjamin, so just swap it to lgpl, and put the short form for it in the header, and its good to go?07:51
Kivik07:51
zbenjaminKivi: something like that http://bazaar.launchpad.net/~ubuntu-sdk-team/qtcreator-plugin-ubuntu/trunk/view/head:/src/ubuntu/clicktoolchain.cpp07:53
MirvKivi: easiest probably to just copy-paste from eg qt creator sources the GNU LGPL part, for example http://code.qt.io/cgit/qt-creator/qt-creator.git/plain/src/app/main.cpp07:53
Mirvah, zbenjamin was faster07:53
Kiviheh; do you folks over at Canonical need the copyright to be under your banner?07:54
KiviI don't mind :)07:54
zbenjaminKivi: no we don'T , i said something like that :)07:56
zbenjaminMirv: right? we don'T ^07:56
KiviWhere's sabdfl when you need him?08:11
Ayush_We are given deadlines right .08:25
Ayush_So I have 3 Days to go08:25
KiviAyush_, until what?08:29
Ayush_9 am08:30
Kivi3 days for a calendar app? Lol; I think bzr branch lp:ubuntu-calendar-app is your first step :P08:31
KiviAyush_, are you allowed to fork a project?08:31
Ayush_Kivi are you a mentor08:31
Ayush_:)08:31
KiviMight as well be if you only have 3 days~08:31
Kiviso: Do you know what forking a project means?08:32
Ayush_Ya just 3 days. Creating a calendar app. Tough job eh?08:32
KiviImpossible. Can you fork?08:33
Ayush_Sorry I dont know how to do that08:33
Ayush_:(08:33
Ayush_How to fork ?08:33
KiviAyush_, do you know what it means?08:33
Ayush_To make changes08:34
KiviBasically08:34
Ayush_without affecting the original code08:34
Kivisort of~08:34
KiviDo you have ubuntu installed?08:35
Ayush_Yes08:35
Kiviopen a terminal08:35
Ayush_I have ubuntu08:35
Ayush_Ok done08:35
Ayush_opened08:35
Kivialright: sudo apt-get install ubuntu-sdk08:35
Ayush_What this command does?08:36
Kivisudo apt-get install bzr-explorer08:36
Kivigood question08:36
Kivisudo means "Do as S uper U ser"08:36
Kiviso Super User Do08:37
Kivisudo08:37
Ayush_Oh okay :)08:37
Ayush_Cool08:37
Ayush_:D08:37
Kivi"apt-get install" is how ubuntu installs software (at the moment.)08:37
Ayush_okay08:37
Ayush_WHat next :)08:37
Ayush_after installing bzr-explorer08:38
Kiviyou can also do things like "apt-get update" or "apt-get upgrade"08:38
Ayush_Okay08:38
Kivialright08:38
Kiviso you installed two things; ubuntu-sdk which stands for , "Software Development Kit."08:38
Ayush_Ya08:39
KiviIt also goes by the name of "QtCreator",08:39
Ayush_Oh08:39
Kivibzr-explorer is a gui (graphical user interface) frontend for bzr, which is short for Bazaar.08:39
KiviDo you know what a Bazaar is?08:40
Ayush_Thanks for making me understand so patiently . now I am getting what u r saying :)08:40
KiviNo problem :P08:40
Ayush_Bazaar08:41
Ayush_means08:41
Ayush_Version control system08:41
Ayush_I just googled08:41
KiviGood, but it has a different meaning as well08:41
Kivihttps://en.wikipedia.org/wiki/The_Cathedral_and_the_Bazaar08:41
KiviA bazaar is actually a name for a type of Market in the middle ages.08:41
KiviIf you ever played zelda, one of the shops where you buy a shield, is called a "Bazaar"08:42
Ayush_I mean If your using bzr to download a program it means your getting source code which you will need to compile08:42
Kiviyeah, I'm just giving some history why its called bazaar.08:42
Kivihere:08:42
KiviThe Cathedral model, in which source code is available with each software release, but code developed between releases is restricted to an exclusive group of software developers. GNU Emacs and GCC were presented as examples.08:42
KiviThe Bazaar model, in which the code is developed over the Internet in view of the public. Raymond credits Linus Torvalds, leader of the Linux kernel project, as the inventor of this process. Raymond also provides anecdotal accounts of his own implementation of this model for the Fetchmail project.08:42
Ayush_Oh okay08:43
KiviAyush_, so just like the open market, where everything is in view of the public, that is how we develop code.08:43
KiviBecause we primarily rely on open source projects.08:43
Ayush_Got it :)08:43
KiviAyush_, make sense?08:43
Kivicool08:43
KiviSo now we are going to learn how to branch code.08:44
Kivido you know what branching code means?08:44
Ayush_Yes08:44
Kiviokay good08:44
Ayush_No.08:44
Kivisec08:44
Kivier08:44
Kivilol08:44
Ayush_Oops.08:45
Ayush_Sorry I dont know08:45
Ayush_:(08:45
Kiviits similar to forking.08:45
Ayush_ok08:45
KiviLets say I write this piece of python code here:08:45
Kiviprint "fun"08:45
Ayush_ok08:45
Kivinow you want to contribute to my code, and add something to it. Generally what we do is you branch it, meaning you download an exact copy of the code.08:46
Ayush_Oh08:46
Ayush_I download a copy and make changed in it08:46
Kiviyou make an edit, and then you "Propose a merge".08:46
Ayush_*changes08:46
Ayush_Oh okay.08:46
Kiviso you may do :08:46
Kiviprint "more fun"08:47
Ayush_ya08:47
Kiviwhen you propose that for a merge, it will tell me what changes you have made, I review your changes, and I either accept or reject, and the code is merged.08:47
Kiviblah blah blah08:47
Kivianyway lets get to it.08:47
KiviEver heard of github?08:48
Ayush_Yes08:48
Ayush_I have08:48
KiviOkay good08:48
KiviEver heard of Launchpad?08:48
Ayush_No.08:48
Ayush_Not anything about Launchpad08:48
KiviOkay Launchpad is like Github,08:48
Ayush_Okay.08:48
Ayush_WHere we have repositories08:48
Kiviits what us Ubuntu users often use alongside or instead of github.08:48
KiviYeah; its where you host your code. You can host open source for free, but closed source you have to pay.08:49
Ayush_Yeah got it . Ubuntu version of github is Launchpad08:49
Kiviits very nice and easy to use.08:49
Kivisharp lad08:49
Ayush_Okay08:49
Kiviokay08:49
Kivihttp://launchpad.net/08:49
Kivigo there08:49
Kivisearch : ubuntu calendar app08:50
Ayush_Okay08:50
Ayush_I searched08:51
Ayush_and ended up with a lot of pages08:51
Kivifirst one should be it08:51
Ayush_Yes08:52
Ayush_Did08:52
Kivishould have a orange logo with the 28 pasted on it08:52
Kivihttps://launchpad.net/ubuntu-calendar-app08:52
Ayush_Exactly08:52
Kiviokay so lets go through it. On the first page,08:53
Ayush_Hmm08:53
KiviIt should tell you the driver, maintainer, The programming languages, and the license.08:53
bartbesI'll also quickly ask again: how do I convince qt creator there is a valid cmake executable for my armhf click kit?08:53
Ayush_Yes08:54
Ayush_It displays08:54
Kivibartbes, is this your project?08:54
bartbesis what mine?08:54
bartbesprobably not, anyway08:54
Kivibartbes, last time I ran into click issues, I honestly just created a fresh project and tranferred my code over. I don't have the patience to learn cmake.08:55
bartbesoh, these errors, no, they are in the terminal app08:55
KiviAyush_, okay, so the driver is basically the dictator of the project; the head honcho. The maintainer can be a team or a person.08:56
Sleep_Walkerbzoltan_: I heard that you're the right person to ask about ubuntu-sdk, may I bother you for a while?08:56
bartbeswith a freshly built click kit08:56
Sleep_Walkerbzoltan_: it seems that I lack some dependencies I can't locate - http://sprunge.us/EjVE08:56
Ayush_Okay08:56
KiviSleep_Walker, what are you tryin gto do?08:56
Sleep_WalkerKivi: install ubuntu-sdk in ubuntu chroot created with debootstrap08:57
Ayush_The driver here are ubuntu calendar developers08:57
Kivio_O08:57
Sleep_Walkerand then hopefully create packages for ubuntu-sdk for my distribution (openSUSE)08:57
bzoltan_Sleep_Walker:  shoot :)08:57
KiviSleep_Walker, oh wow lol! I honestly love you, but that sounds like a monumental task~08:58
bzoltan_Sleep_Walker: apt-cache policy ubuntu-sdk ubuntu-sdk-ide08:58
bartbesI tried docker last week, but ended up with a vm instead08:58
KiviAyush_, anyway. Are you familiar with the basic licenses?  Like gpl v2 and gpl v3?08:59
Sleep_Walkerbzoltan_: http://sprunge.us/EGcX08:59
Ayush_Liscences like MIT is one08:59
Ayush_right ?08:59
Ayush_Yes I know08:59
Sleep_WalkerKivi: I can't really say what all is needed but I have like 32 hours of spare developer time ;b08:59
Sleep_Walker(4 working days)09:00
KiviAyush_, impressive 13 year old; thats all I can say~09:00
Ayush_:D09:00
bzoltan_Sleep_Walker:  have you tried to apt-get install ubuntu-sdk-ide09:00
Sleep_Walkerbzoltan_: no, I followed documentation09:00
KiviI tend to think that gplv3 is for the more, lets just say, zealous developers. Just because it is a version higher, does not mean its better.09:01
Sleep_Walkerbzoltan_: http://sprunge.us/hQLC09:01
KiviAyush_, for example; The Linux Kernel still uses GPLv2, as Linus Torvalds prefers it over 3.09:02
bzoltan_Sleep_Walker:  we need to figure out what keeps back those packages09:02
Sleep_Walkeryour output of `apt-cache policy libbotan' could give a hint09:02
Sleep_Walkerfrom my POV it seems that either those packages were available once and not anymore or I'm simply missing repository09:03
Sleep_Walkerboth can be shown by that command09:03
Sleep_Walkeror I'm doing something wrong as I have the least experience with Debian based distributions :S09:04
Sleep_WalkerI made whole channel silent :b09:12
davmor2Sleep_Walker: many of the devs will be on later you might want to ask again then09:14
Sleep_Walkerdavmor2: sure, I wasn't impatient, only checking connection :)09:15
mcphailSleep_Walker: have you definitely done an "apt-get dist-upgrade" after adding the ppa? I had issues with the click package needing to be dist-upgraded, rather than a simple upgrade, for the SDK to work properly. Perhaps that is holding things back?09:20
Sleep_Walkermcphail: I definitely did that and it performed _no change_ at all09:20
mcphailSleep_Walker: aargh :(09:20
mcphailSleep_Walker: one of my 15.10 boxes was installed by debootstrap, and I didn't hit this problem. Do you have other PPAs installed?09:21
Sleep_Walkermcphail: https://developer.ubuntu.com/en/start/ubuntu-sdk/installing-the-sdk/09:22
Sleep_Walkerthat is what I followed09:23
Sleep_Walkerso the question is - what other PPAs?09:23
mcphailSleep_Walker: and when you created your debootstrap install, did you activate all the repos (multiverse etc)?09:23
Sleep_Walkergood point, let me check09:24
Sleep_Walkermcphail: that's it!09:25
mcphailSleep_Walker: :)09:25
Sleep_Walkermcphail: many thanks for your patience09:25
mcphailSleep_Walker: I've hit this problem with deboostrap installs many times :)09:25
Sleep_Walkeras I said, something trivial and deb-specific is very well possible09:25
Sleep_Walkerso, now step #2 - check for missing dependencies in my distro09:26
Sleep_Walkerbzoltan_: in case you're still looking at that, mcphail figured it out already. But thanks anyway!09:27
bzoltan_Sleep_Walker: good job :) thanks mcphail09:30
Kivi!ping10:35
ubot5pong!10:35
=== fgallina` is now known as fgallina
Kivipopey, balloons,  I am showing my new friend Ayush  how to start contributing to the core apps. As a first little project, we decided to update the imports for the the ubuntu component libraries.11:28
Kivicurrently they seem to be using11:28
AyushYes11:28
Kiviimport Ubuntu.Components 1.111:28
Kiviwhat is the latest library version for Ubuntu.Components? 1.3?11:28
Ayush1.111:29
Kiviballoons, popey, dholbach, dpm, mhall119, and probably a few others are bigshots at Canonical, who head the ubuntu community team~11:30
popeyhello hello!11:30
popeyWelcome to the madhouse11:31
Kiviin fact I think there will be a community on air meeting in a few hours~11:31
Ayushmadhouse :D11:31
* Kivi checks11:31
Kivihttp://ubuntuonair.com/calendar/11:32
Kivipopey, you guys taking a break, or has it not been updated?11:32
davmor2popey: I remember when that was said as a joke.....nowadays not so much ;)11:33
popeyKivi, we skipped last week because everyone was madly busy11:33
Kivifair enough11:33
Kivianyway, do you know what the current version for the ubuntu components are? Its been awhile since I contributed to the core apps.11:34
t1mpKivi: yes, Ubuntu.Components 1.3 is the latest.11:35
Kivit1mp, thanks!11:35
AyushOkay11:35
Ayush1.311:35
AyushWe shall import 1.3 and make 1.4 thats an updated one11:36
Ayushif i am not wrong11:36
KiviAyush, also note that popey and the canonical people operate on british time,11:36
=== _salem is now known as salem_
t1mpAyush: what is 1.4? There is no Ubuntu.Components 1.4.11:36
AyushOk sorry11:37
Kivit1mp, hes just a bit green around the edges :) okay lets get to it ~11:37
AyushOkay11:38
popeydholbach, do you have any opinion on https://bugs.launchpad.net/click-reviewers-tools/+bug/1523255 ? :)12:05
ubot5Ubuntu bug 1523255 in Canonical Click Reviewers tools "click-review return code doesn't distinguish Warnings from Errors" [Undecided,New]12:05
Kivibah wheres nskaggs when you need him?12:10
KiviI'm getting this bug when trying to use autopilot with ubuntu calendar app - ImportError: No module named 'address_book_service_testability'12:11
Kivihttps://code.launchpad.net/~nskaggs/ubuntu-test-cases/fix-136765412:11
Kivioh wait, isn't nskaggs balloons ?12:11
svijhe is12:23
Kivisvij, ty12:23
dholbachpopey, that's a question for jdstrand and beuno - I don't really. I just know that if we change anything we'll have to review all tests again and see which of them to put in which category.12:29
dholbachI'm quite sure that the vast majority will ignore warnings if we don't ask them to implement the necessary changes.12:30
Kiviughhh jenkins is such a hassle12:31
KiviThat feeling when you download something from trunk, and it can't even run its own tests. >:[12:31
beunowell12:33
beunowarnings are things we'd like people to fix as well12:33
beunoit's a matter of policy that we don't auto-allow apps with warnings atm12:34
popeybeuno, sure, I'm not trying to change any policy, just make the tool output a sane return code :)12:37
popeyright now programmatically I'm having to greb for ^Warning and ^Error, which seems wrong12:38
popey*grep12:38
jdstrandpopey, dholbach: conceptually I don't have a problem with different return codes for click-review. ping me next week when I have more time to think about it12:38
jdstrandbeuno: fyi ^12:38
popeyokay12:38
popeythanks chaps12:38
paarthri_what does autopilot exit code -6 mean? Ive spent alot of time searching for the answer but cant find it. This is for the tests in the music-app on launchpad.12:50
bartbesoh, a popey to bother12:50
bartbesqt creator's saying my armhf click kit's cmake is not a valid executable, what do I do?12:51
popey"yay"12:51
popeypoke zbenjamin12:51
popeybartbes, ^12:51
bartbeswell that was easy12:51
paarthri_i used autopilot3 to run the tests12:52
paarthriTrying to use autopilot3 to run test scripts in the music-app touch app. All the tests fail and the exit code is -6. What should I do?13:15
zbenjaminbartbes: could you fix it?13:35
bartbesfix what?13:35
zbenjamin[08.12 13:51:05] <bartbes> qt creator's saying my armhf click kit's cmake is not a valid executable, what do I do?13:35
bartbesI mean, fix it how?13:35
bartbeswords are hard :P13:35
bartbesit just keeps saying it's an invalid executable, yet it exists and I can run it from a terminal13:36
zbenjaminbartbes: i meant, were you able to fix it :)13:36
bartbesno13:36
zbenjaminbartbes: when did it start? Is that a fresh install?13:36
bartbesyes, it's fresh13:37
zbenjaminbartbes: and you have the ubuntu-sdk ppa enabled?13:37
bartbesI built the click kit and then tried to create a build dir with it13:37
bartbesno..13:37
bartbesthat sounds like something I should have done, but I do have ubuntu-sdk installed13:37
zbenjaminbartbes: ok the official release path for the ubuntu sdk is the release ppa13:38
zbenjaminbartbes: https://developer.ubuntu.com/en/blog/2015/11/19/here-comes-brand-new-ubuntu-sdk-ide-tools/13:38
bartbesthanks, I'll give it a go in a bit13:40
Sleep_Walkerhm, 33 mising dependencies (regardless its complexity)13:42
Sleep_Walkerand at the same time I'm able to run ubuntu-sdk from my chroot env within local Xorg session on openSUSE13:43
Sleep_Walkerit seems that I'd rather write how-to and play with Ubuntu in the rest of my time :b13:43
=== chihchun is now known as chihchun_afk
bartbeszbenjamin: just updated, same problem15:38
bartbeshmm, not using 'qtcreator' to open the sdk has given me different prompts so far, and now it's asking me to update the kit15:46
bartbesah, now it's running but complaining about a chroot path15:47
zbenjaminbartbes: hm i wonder if you maybe should just reset your QtC configuration15:51
bartbesmaybe15:52
bartbesthough this is on a different mountpoint15:52
zbenjaminbartbes: do you have some special sort of setup15:52
zbenjaminbartbes: like /home on a dedicated partition?15:52
bartbesit's a vm, so the project's on a shared mount with the host15:52
bartbesI'll make a local copy15:53
bartbesyeah that seems to work15:56
zbenjaminbartbes: cool :)16:00
bartbespopey: well, I finally managed to reproduce it, it doesn't work on my phone either16:04
bartbestime to figure out how that input gets into the application16:04
popeybartbes, great news!16:04
bartbesdepends on your definition of great :P16:05
bartbesI am so confused16:36
bartbesI can't find where the osk injects its keypresses16:36
Kivizbenjamin, https://code.launchpad.net/~akiva/qtcreator-plugin-autopilot/added-copyright-license-header --17:58
zbenjaminKivi: awesome thx, will check it out tomorrow17:59
Kiviat your leisure17:59
=== pat_ is now known as Guest55002
=== salem_ is now known as _salem

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