=== chihchun_afk is now known as chihchun [06:53] Hello. [06:54] I am Ayush. I am 13 years old . A beginner to open source world [06:54] welcome [06:54] I have taken up a beginner's task to create a calendar app [06:55] I am facing problem on how to proceed [06:55] :( [06:55] I have done with burning the image file to my pendrive to dual boot with ubuntu [06:56] I have ubuntu now . Can anybody guide me step by step on to proceed this task . [06:56] Please help mentors :( [07:00] I have 3 days to complete . I am facing a lot of problem now [07:28] Ayush_: why do you have only 3 days to complete? [07:30] and there already is a calendar app for Ubuntu Phone but it has lots of bugs, so maybe you can try to fix those :) [07:41] good morning [07:46] zbenjamin, just curious; did you get an answer to that? [07:50] Kivi: yes [07:50] [06.12 20:11:32] zbenjamin: should be LGPL, right? to be compatible with other QtC stuff. if ever to be upstreamed, will need Qt CLA. [07:50] [06.12 20:14:15] 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 hurt [07:50] Kivi: ^ [07:51] zbenjamin, so just swap it to lgpl, and put the short form for it in the header, and its good to go? [07:51] k [07:53] Kivi: something like that http://bazaar.launchpad.net/~ubuntu-sdk-team/qtcreator-plugin-ubuntu/trunk/view/head:/src/ubuntu/clicktoolchain.cpp [07:53] Kivi: 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.cpp [07:53] ah, zbenjamin was faster [07:54] heh; do you folks over at Canonical need the copyright to be under your banner? [07:54] I don't mind :) [07:56] Kivi: no we don'T , i said something like that :) [07:56] Mirv: right? we don'T ^ [08:11] Where's sabdfl when you need him? [08:25] We are given deadlines right . [08:25] So I have 3 Days to go [08:29] Ayush_, until what? [08:30] 9 am [08:31] 3 days for a calendar app? Lol; I think bzr branch lp:ubuntu-calendar-app is your first step :P [08:31] Ayush_, are you allowed to fork a project? [08:31] Kivi are you a mentor [08:31] :) [08:31] Might as well be if you only have 3 days~ [08:32] so: Do you know what forking a project means? [08:32] Ya just 3 days. Creating a calendar app. Tough job eh? [08:33] Impossible. Can you fork? [08:33] Sorry I dont know how to do that [08:33] :( [08:33] How to fork ? [08:33] Ayush_, do you know what it means? [08:34] To make changes [08:34] Basically [08:34] without affecting the original code [08:34] sort of~ [08:35] Do you have ubuntu installed? [08:35] Yes [08:35] open a terminal [08:35] I have ubuntu [08:35] Ok done [08:35] opened [08:35] alright: sudo apt-get install ubuntu-sdk [08:36] What this command does? [08:36] sudo apt-get install bzr-explorer [08:36] good question [08:36] sudo means "Do as S uper U ser" [08:37] so Super User Do [08:37] sudo [08:37] Oh okay :) [08:37] Cool [08:37] :D [08:37] "apt-get install" is how ubuntu installs software (at the moment.) [08:37] okay [08:37] WHat next :) [08:38] after installing bzr-explorer [08:38] you can also do things like "apt-get update" or "apt-get upgrade" [08:38] Okay [08:38] alright [08:38] so you installed two things; ubuntu-sdk which stands for , "Software Development Kit." [08:39] Ya [08:39] It also goes by the name of "QtCreator", [08:39] Oh [08:39] bzr-explorer is a gui (graphical user interface) frontend for bzr, which is short for Bazaar. [08:40] Do you know what a Bazaar is? [08:40] Thanks for making me understand so patiently . now I am getting what u r saying :) [08:40] No problem :P [08:41] Bazaar [08:41] means [08:41] Version control system [08:41] I just googled [08:41] Good, but it has a different meaning as well [08:41] https://en.wikipedia.org/wiki/The_Cathedral_and_the_Bazaar [08:41] A bazaar is actually a name for a type of Market in the middle ages. [08:42] If you ever played zelda, one of the shops where you buy a shield, is called a "Bazaar" [08:42] I mean If your using bzr to download a program it means your getting source code which you will need to compile [08:42] yeah, I'm just giving some history why its called bazaar. [08:42] here: [08:42] The 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] The 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:43] Oh okay [08:43] Ayush_, so just like the open market, where everything is in view of the public, that is how we develop code. [08:43] Because we primarily rely on open source projects. [08:43] Got it :) [08:43] Ayush_, make sense? [08:43] cool [08:44] So now we are going to learn how to branch code. [08:44] do you know what branching code means? [08:44] Yes [08:44] okay good [08:44] No. [08:44] sec [08:44] er [08:44] lol [08:45] Oops. [08:45] Sorry I dont know [08:45] :( [08:45] its similar to forking. [08:45] ok [08:45] Lets say I write this piece of python code here: [08:45] print "fun" [08:45] ok [08:46] now 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] Oh [08:46] I download a copy and make changed in it [08:46] you make an edit, and then you "Propose a merge". [08:46] *changes [08:46] Oh okay. [08:46] so you may do : [08:47] print "more fun" [08:47] ya [08:47] when 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] blah blah blah [08:47] anyway lets get to it. [08:48] Ever heard of github? [08:48] Yes [08:48] I have [08:48] Okay good [08:48] Ever heard of Launchpad? [08:48] No. [08:48] Not anything about Launchpad [08:48] Okay Launchpad is like Github, [08:48] Okay. [08:48] WHere we have repositories [08:48] its what us Ubuntu users often use alongside or instead of github. [08:49] Yeah; its where you host your code. You can host open source for free, but closed source you have to pay. [08:49] Yeah got it . Ubuntu version of github is Launchpad [08:49] its very nice and easy to use. [08:49] sharp lad [08:49] Okay [08:49] okay [08:49] http://launchpad.net/ [08:49] go there [08:50] search : ubuntu calendar app [08:50] Okay [08:51] I searched [08:51] and ended up with a lot of pages [08:51] first one should be it [08:52] Yes [08:52] Did [08:52] should have a orange logo with the 28 pasted on it [08:52] https://launchpad.net/ubuntu-calendar-app [08:52] Exactly [08:53] okay so lets go through it. On the first page, [08:53] Hmm [08:53] It should tell you the driver, maintainer, The programming languages, and the license. [08:53] I'll also quickly ask again: how do I convince qt creator there is a valid cmake executable for my armhf click kit? [08:54] Yes [08:54] It displays [08:54] bartbes, is this your project? [08:54] is what mine? [08:54] probably not, anyway [08:55] bartbes, 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] oh, these errors, no, they are in the terminal app [08:56] Ayush_, 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] bzoltan_: I heard that you're the right person to ask about ubuntu-sdk, may I bother you for a while? [08:56] with a freshly built click kit [08:56] bzoltan_: it seems that I lack some dependencies I can't locate - http://sprunge.us/EjVE [08:56] Okay [08:56] Sleep_Walker, what are you tryin gto do? [08:57] Kivi: install ubuntu-sdk in ubuntu chroot created with debootstrap [08:57] The driver here are ubuntu calendar developers [08:57] o_O [08:57] and then hopefully create packages for ubuntu-sdk for my distribution (openSUSE) [08:57] Sleep_Walker: shoot :) [08:58] Sleep_Walker, oh wow lol! I honestly love you, but that sounds like a monumental task~ [08:58] Sleep_Walker: apt-cache policy ubuntu-sdk ubuntu-sdk-ide [08:58] I tried docker last week, but ended up with a vm instead [08:59] Ayush_, anyway. Are you familiar with the basic licenses? Like gpl v2 and gpl v3? [08:59] bzoltan_: http://sprunge.us/EGcX [08:59] Liscences like MIT is one [08:59] right ? [08:59] Yes I know [08:59] Kivi: I can't really say what all is needed but I have like 32 hours of spare developer time ;b [09:00] (4 working days) [09:00] Ayush_, impressive 13 year old; thats all I can say~ [09:00] :D [09:00] Sleep_Walker: have you tried to apt-get install ubuntu-sdk-ide [09:00] bzoltan_: no, I followed documentation [09:01] I 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] bzoltan_: http://sprunge.us/hQLC [09:02] Ayush_, for example; The Linux Kernel still uses GPLv2, as Linus Torvalds prefers it over 3. [09:02] Sleep_Walker: we need to figure out what keeps back those packages [09:02] your output of `apt-cache policy libbotan' could give a hint [09:03] from my POV it seems that either those packages were available once and not anymore or I'm simply missing repository [09:03] both can be shown by that command [09:04] or I'm doing something wrong as I have the least experience with Debian based distributions :S [09:12] I made whole channel silent :b [09:14] Sleep_Walker: many of the devs will be on later you might want to ask again then [09:15] davmor2: sure, I wasn't impatient, only checking connection :) [09:20] Sleep_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] mcphail: I definitely did that and it performed _no change_ at all [09:20] Sleep_Walker: aargh :( [09:21] Sleep_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:22] mcphail: https://developer.ubuntu.com/en/start/ubuntu-sdk/installing-the-sdk/ [09:23] that is what I followed [09:23] so the question is - what other PPAs? [09:23] Sleep_Walker: and when you created your debootstrap install, did you activate all the repos (multiverse etc)? [09:24] good point, let me check [09:25] mcphail: that's it! [09:25] Sleep_Walker: :) [09:25] mcphail: many thanks for your patience [09:25] Sleep_Walker: I've hit this problem with deboostrap installs many times :) [09:25] as I said, something trivial and deb-specific is very well possible [09:26] so, now step #2 - check for missing dependencies in my distro [09:27] bzoltan_: in case you're still looking at that, mcphail figured it out already. But thanks anyway! [09:30] Sleep_Walker: good job :) thanks mcphail [10:35] !ping [10:35] pong! === fgallina` is now known as fgallina [11:28] popey, 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] currently they seem to be using [11:28] Yes [11:28] import Ubuntu.Components 1.1 [11:28] what is the latest library version for Ubuntu.Components? 1.3? [11:29] 1.1 [11:30] balloons, popey, dholbach, dpm, mhall119, and probably a few others are bigshots at Canonical, who head the ubuntu community team~ [11:30] hello hello! [11:31] Welcome to the madhouse [11:31] in fact I think there will be a community on air meeting in a few hours~ [11:31] madhouse :D [11:31] * Kivi checks [11:32] http://ubuntuonair.com/calendar/ [11:32] popey, you guys taking a break, or has it not been updated? [11:33] popey: I remember when that was said as a joke.....nowadays not so much ;) [11:33] Kivi, we skipped last week because everyone was madly busy [11:33] fair enough [11:34] anyway, do you know what the current version for the ubuntu components are? Its been awhile since I contributed to the core apps. [11:35] Kivi: yes, Ubuntu.Components 1.3 is the latest. [11:35] t1mp, thanks! [11:35] Okay [11:35] 1.3 [11:36] We shall import 1.3 and make 1.4 thats an updated one [11:36] if i am not wrong [11:36] Ayush, also note that popey and the canonical people operate on british time, === _salem is now known as salem_ [11:36] Ayush: what is 1.4? There is no Ubuntu.Components 1.4. [11:37] Ok sorry [11:37] t1mp, hes just a bit green around the edges :) okay lets get to it ~ [11:38] Okay [12:05] dholbach, do you have any opinion on https://bugs.launchpad.net/click-reviewers-tools/+bug/1523255 ? :) [12:05] Ubuntu bug 1523255 in Canonical Click Reviewers tools "click-review return code doesn't distinguish Warnings from Errors" [Undecided,New] [12:10] bah wheres nskaggs when you need him? [12:11] I'm getting this bug when trying to use autopilot with ubuntu calendar app - ImportError: No module named 'address_book_service_testability' [12:11] https://code.launchpad.net/~nskaggs/ubuntu-test-cases/fix-1367654 [12:11] oh wait, isn't nskaggs balloons ? [12:23] he is [12:23] svij, ty [12:29] popey, 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:30] I'm quite sure that the vast majority will ignore warnings if we don't ask them to implement the necessary changes. [12:31] ughhh jenkins is such a hassle [12:31] That feeling when you download something from trunk, and it can't even run its own tests. >:[ [12:33] well [12:33] warnings are things we'd like people to fix as well [12:34] it's a matter of policy that we don't auto-allow apps with warnings atm [12:37] beuno, sure, I'm not trying to change any policy, just make the tool output a sane return code :) [12:38] right now programmatically I'm having to greb for ^Warning and ^Error, which seems wrong [12:38] *grep [12:38] popey, 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 it [12:38] beuno: fyi ^ [12:38] okay [12:38] thanks chaps [12:50] 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] oh, a popey to bother [12:51] qt creator's saying my armhf click kit's cmake is not a valid executable, what do I do? [12:51] "yay" [12:51] poke zbenjamin [12:51] bartbes, ^ [12:51] well that was easy [12:52] i used autopilot3 to run the tests [13:15] Trying 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:35] bartbes: could you fix it? [13:35] fix what? [13:35] [08.12 13:51:05] qt creator's saying my armhf click kit's cmake is not a valid executable, what do I do? [13:35] I mean, fix it how? [13:35] words are hard :P [13:36] it just keeps saying it's an invalid executable, yet it exists and I can run it from a terminal [13:36] bartbes: i meant, were you able to fix it :) [13:36] no [13:36] bartbes: when did it start? Is that a fresh install? [13:37] yes, it's fresh [13:37] bartbes: and you have the ubuntu-sdk ppa enabled? [13:37] I built the click kit and then tried to create a build dir with it [13:37] no.. [13:37] that sounds like something I should have done, but I do have ubuntu-sdk installed [13:38] bartbes: ok the official release path for the ubuntu sdk is the release ppa [13:38] bartbes: https://developer.ubuntu.com/en/blog/2015/11/19/here-comes-brand-new-ubuntu-sdk-ide-tools/ [13:40] thanks, I'll give it a go in a bit [13:42] hm, 33 mising dependencies (regardless its complexity) [13:43] and at the same time I'm able to run ubuntu-sdk from my chroot env within local Xorg session on openSUSE [13:43] it seems that I'd rather write how-to and play with Ubuntu in the rest of my time :b === chihchun is now known as chihchun_afk [15:38] zbenjamin: just updated, same problem [15:46] hmm, not using 'qtcreator' to open the sdk has given me different prompts so far, and now it's asking me to update the kit [15:47] ah, now it's running but complaining about a chroot path [15:51] bartbes: hm i wonder if you maybe should just reset your QtC configuration [15:52] maybe [15:52] though this is on a different mountpoint [15:52] bartbes: do you have some special sort of setup [15:52] bartbes: like /home on a dedicated partition? [15:52] it's a vm, so the project's on a shared mount with the host [15:53] I'll make a local copy [15:56] yeah that seems to work [16:00] bartbes: cool :) [16:04] popey: well, I finally managed to reproduce it, it doesn't work on my phone either [16:04] time to figure out how that input gets into the application [16:04] bartbes, great news! [16:05] depends on your definition of great :P [16:36] I am so confused [16:36] I can't find where the osk injects its keypresses [17:58] zbenjamin, https://code.launchpad.net/~akiva/qtcreator-plugin-autopilot/added-copyright-license-header -- [17:59] Kivi: awesome thx, will check it out tomorrow [17:59] at your leisure === pat_ is now known as Guest55002 === salem_ is now known as _salem