[03:53] dfarning: Good morning, India time. [03:54] manusheel, good morning. [04:27] hello dfarning, [04:28] dipankar, good morning how are you? [04:29] dfarning, I am fine. Thank you. And you? How was your day? [04:29] dfarning, Just saw on irc: You were babysitting 5 children! [04:29] *irc logs [04:30] yes, my sister has a large family. I live about a block down the road so we are together alot [04:31] dfarning, Thats nice. Are they all toddlers? [04:32] dipankar, 1, 2,5,7,13 years old. And I get to me the crazy uncle who spoiles them. [04:32] get to be the crazy uncle [04:33] dfarning, thats a varied range. right from toddler to teenager! [04:33] dipankar, how did yesterday go. It looked very productive. [04:33] dfarning, you must be having a really *tough* time handling them :) [04:33] dfarning, It went good [04:34] kandarpk: Re: that means installing language packs under debian wont effect sugar-language ? -- in sugar, it regular gettext translation workflow, sugar package installs .mo files to /usr/share/locale (like sugar-base.mo sugar-toolkit.mo and sugar.mo) [04:34] dfarning, Luke was to send an e-mail on further work, as he would be traveling today. [04:35] dipankar, I am single and live alone (with my dog) so it is nice to have family nearby. [04:36] dipankar, yes I think he sent it to manu for review. [04:36] alsroot, I didn't get the point .... [04:36] dfarning, Hi [04:37] kandarpk: I just tried to answer to your question "that means installing language packs under debian wont effect sugar-language ?" [04:37] dfarning, ohk. In the meantime I was thinking of working on the documentation so that when fellow team-members need to work on git they can follow it directly. [04:38] alsroot: I mean, what do I need to do with those .mo files ? [04:38] are they different for Debian ? [04:39] dfarning, Then there is this fact, I can't be clear as Luke is :) So Luke and you have to answer their doubts that I won't be able to clear :) [04:39] the language packs [04:39] dipankar, rather than createing documenation today, would you be willing to work directly mentoring other seeta the way luke mentored you? [04:39] * alsroot looks to http://openetherpad.org/0OCNClgARq [04:40] dipankar, as you have seen so much of open source depends on teaching eachother and commicating? [04:40] kandarpk: sorry, just scrolled back irc logs, if problem was not yet solved, could you explain it [04:41] alsroot: sure [04:41] dfarning, I don't think that will be a good option for me. For I know I can work things out but I am not good in mentoring right now. [04:41] alsroot: selecting language does not provide any furthwer options in Sugar [04:42] kandarpk: what you mean by "furthwer options"? [04:42] *further [04:42] dfarning, I hope I did not disappoint you. [04:42] alsroot: what is the language option supposed to do ? [04:42] dipankar, ok then how about doing a hands on packaging of some more activites via git? [04:43] kandarpk: it just change all sugar related translated strings [04:43] Shouldn't it provide a list of languages to select from [04:43] ? [04:43] dfarning, sure [04:43] alsroot: change them to ? [04:44] dipankar, not disapointed at all:) it takes time to learn to stand up infront of ones peers and talk about some one does not fully understand:) [04:44] dfarning: was my report ok ? [04:44] dfarning, I didn't get one thing: We had so many activities on Ubuntu Sugar. How come they are not on git?? [04:45] kandarpk, one moment please. [04:46] kandarpk: let explain how it works, sugar packages contains .mo files per lang, language combobox in control panel, list of all registered in system locales(regardless of what langs sugar supports), after choosing lang in lang combobox (and restarting sugar), you will see all strings in sugar UI translated to newly choosen lang [04:46] dipankar: You are very good in mentoring. You should need to realize this. [04:47] dipankar: Ishan likes your mentoring abilities, and the systematic process of sharing goals and plans. [04:47] dipankar, for the huge activity blob on in the sugar activities package I just stuck a bunch of packages together to we would have something that worked well enough that it is worth improving:) [04:47] alsroot: that is the point I am making [04:47] I do not see any language combobox to select language from... [04:48] after clicking on language option [04:48] dipankar, now we have to go back and do it right:) [04:49] manusheel Sir, Good morning. I am glad you consider me that way. But somewhere down the line I still think I need to learn a lot more before I guide perfectly someone. :) [04:49] alsroot: or is there some other place to look out for ? [04:49] dfarning, Actually I did not fully understand your last statement :( [04:49] kandarpk: try, "My Settings"/Language [04:49] alsroot: that is what I am doing [04:49] * dipankar, for the huge activity blob on in the sugar activities package I just stuck a bunch of packages together to we would have something that worked well enough that it is worth improving:)* [04:50] dipankar: One needs to strive for excellency. Perfection will come along way. [04:50] kandarpk: and you don't see language item or language box in Language tab? [04:50] alsroot: but clicking on language option does not provide me with a list of available languages to choose from [04:50] alsroot: No. [04:50] dipankar: I am happy with your mentorship given to Ishan. Please do not underestimate. [04:51] Do not get any option [04:51] kandarpk: could you pastebin shell.log then? [04:51] kandarpk: ..after trying to open Language tab [04:51] actually, I am working on some other PC [04:51] will do that as soon as I get back [04:52] dipankar, if you you look inside the sugar-activies bundle in the ppa, you will see that it is packed incorrectly. It is just a shell script that copies the activity bundles to a dir. [04:52] kandarpk: at the end, it should be an error if don't see language box (or it is empty) [04:52] alsroot: NO language box appears [04:53] the only change I see after clicking on language [04:53] manusheel Sir, Thank you. Then I will try my best to guide new members properly :) [04:53] is the appearance of a cross and a tick on top right corner [04:53] dipankar, that is not acceptable to either debian or ubuntu developers so we must go back and package each one correctly. [04:54] dfarning, ok got it now. I thought they were correctly done and packages are made that way only. :P [04:54] kandarpk: and after restarting sugar, strings are not translated, you mean? [04:55] alsroot: I think I am not able to explain my point [04:55] dipankar, to get a usr prototype working 'well enough' to attract contributors I had to take a lot of short cuts:) [04:56] alsroot: There is no option to change the language [04:56] restarting Sugar won't lead to any change [04:57] kandarpk: after you got access to sugar box, pasterbin content of ~/.i18n file [04:58] Ok. [04:58] dfarning, How did you take shortcuts? So whats the actually procedure of making a package?? [05:00] dipankar, the short cut as in how the package wraps many discreate things (the activies) together, it has no linscense or other information. [05:01] dipankar, we need to match the package style jonas used in git to package activities. [05:05] dfarning, got it. But i think the scripts _are_ required for installation process to complete. Isn't it so? [05:06] dipankar, yes, but mine was particularly ugly. [05:09] dfarning, But I liked it. I am also a short-cut guys. My programs always aren't accepted by professors here :P [05:09] :) [05:11] dfarning, I guess right now, we have to move the packages to git repos and modify them according to Debian Standards. [05:11] dfarning, after that they will accepted for Debian [05:12] dipankar, Yes that is correct. [05:13] dfarning, I just received an e-mail from Manu Sir [05:13] dipankar, I am assigned to learn about moving debian packages to Ubuntu [05:13] dipankar, and that way we share effort of package each activity between Debain and ubuntu, because git makes is easy to maintain branches [05:14] so, please let me know how you move Ubuntu packages to Debian when you have time [05:16] kandarpk, Sir, I am confused! you mentioned Ubuntu to Debian or Debian to Ubuntu ? (Actually you mentioned both in two statements) [05:16] i think the approach should be similar [05:16] dipankar: got it ? [05:17] kandarpk, Sir, I get your point. [05:18] I guess lfaraone is online! [05:35] dfarning, that means : all the activities will have two branches - debian and ubuntu? [05:36] * on git? [12:53] good morning all [12:55] dfarning: Good morning. [12:55] dfarning: Did you take good rest? [12:55] Manusheel, yes thank you. did you have a good day? [12:56] dfarning: Yes, David. I had a wonderful day. [12:56] dfarning: Sending you an e-mail from Curriki. [12:56] Manusheel, great. [16:21] alsroot, around ? [16:21] kandarpk: yup [16:22] .i18n contains the following two lines: [16:22] LANG="en_US.utf8" [16:22] LANGUAGE="en_US.utf8" [16:23] kandarpk: what lang you are trying to select from "My Settings" ? [16:23] alsroot: when I click on language [16:23] nothing happens [16:24] there is nothing to select from [16:24] its as if I hadn't clicked [16:24] except for the cross and tick [16:24] kandarpk: could you try once more and pastebin shell.log content [16:24] appearing in top right corner [16:24] Ok. [16:26] please have a look here : [16:26] http://pastebin.org/375383 [16:27] kandarpk: could you call "locale" in Terminal, what it outputs? [16:28] LANG=en_IN [16:28] LANGUAGE=en_IN:en [16:28] LC_CTYPE="en_IN" [16:28] LC_NUMERIC="en_IN" [16:28] LC_TIME="en_IN" [16:28] LC_COLLATE="en_IN" [16:28] LC_MONETARY="en_IN" [16:28] LC_MESSAGES="en_IN" [16:28] LC_PAPER="en_IN" [16:28] LC_NAME="en_IN" [16:28] LC_ADDRESS="en_IN" [16:28] LC_TELEPHONE="en_IN" [16:28] LC_MEASUREMENT="en_IN" [16:28] LC_IDENTIFICATION="en_IN" [16:28] LC_ALL= [16:31] kandarpk: could you pastebin `locale -av`? [16:32] alsroot: http://pastebin.org/375402 [16:34] kandarpk: the problem is that you don't have en_US locale installed, you can "fix" it just by replace en_US by en_IN in ~/.i18n, will file a ticket to bugs.sl.o [16:36] alsroot: Its working :) [16:36] how did you figure that out ? [16:36] kandarpk: `locale -av` doesn't contain en_US, but en_US is a default locale in sugar [16:37] hmmm [16:37] nice [16:37] thanks [16:38] alsroot: shall I file a report at bugs.sl.o ? [16:38] kandarpk: I'm just creating a report [16:38] Ok. [16:39] please mail me the link to the report so that I can learn how to report in the future [16:39] after you create it [16:40] sorry not mail [16:40] just put the link here [16:40] sorry. [16:41] kandarpk: http://bugs.sugarlabs.org/ticket/2073 [16:44] alsroot: thanks [16:46] neeraj: hi [17:14] kandarpk: could you apply http://bugs.sugarlabs.org/ticket/2073 patch, remove ~/.i18n, restart sugar and open Language control panel to test if it is ok [17:16] alsroot: applying the patch now [17:22] alsroot: dont know how to do it [17:22] no help found with the file [17:23] alsroot: can you let me know the steps if it would be convenient to you [17:24] kandarpk: just replace /usr/share/sugar/extensions/cpsection/language/model.py file with http://people.sugarlabs.org/~alsroot/tmp/model.py [17:28] will take a few minutes [17:32] alsroot: its working [17:32] perfectly now [17:35] kandarpk: thanks [17:35] alsroot: it should be the other way round [17:35] thanks [17:35] for helping [17:36] manusheel sir: around ? [17:37] kandarpk: Hi Kandarp. [17:38] manusheel sir, alsroot just helped me out in fixing the language selection problem [17:38] now only two issues are left [17:38] 1) read-activity not starting [17:39] kandarpk: great, kandarp. [17:39] - thats because read-activity is not upto date [17:39] 2) automatic restart [17:39] - David said Sugar is not like an application but rather like a session [17:40] so the default behaviour might be like that [17:48] good afternoon all [17:48] dfarning: Good afternoon. [17:48] dfarning, good afternoon [17:49] dfarning: Kandarp has done neat work, and fixed two major blockers on Sugar on Debian. [17:49] kandarpk, It look like you worked well with alsroot this morning. [17:49] manusheel sir: I didn't. [17:49] alsroot did everything [17:50] kandarpk, congratulations. [17:50] dfarning, alsroot solved the issue a little while ago [17:50] thanks [17:50] kandarpk: Ok, sorry. Very nice that you worked with alsroot on these issues. [17:50] kandarpk: Happy that you were able to arrive at a good conclusion on them. [17:51] kandarpk: That is important. [17:51] kandarpk, 90% of open source development is finding the people who have the knowledgeable to help us solve our problems. [17:51] kandarpk, the problem space is just too big for any single person to fully understand. [17:52] dfarning, True. [17:52] alsroot: Thank you Aleksey. Appreciate your support. [17:52] manusheel: np, it was just an ugly bug in sugar [17:54] alsroot: Ok. alsroot, how can we arrive at a good conclusion on the read activity issue? [17:54] That is a terrible bug. [17:54] kandarpk: What all have we tried there? [17:55] in ~/.i18n [17:55] LANG was set as en_US [17:55] (default in Sugar) [17:55] while on my system [17:55] it was en_IN [17:55] so, thats why some mismatch [17:56] kandarpk, credit in open source is also strange. You were assigned the tasks. and now they are complete:) It is pretty much expected that you seek help from other resources in our case alsroot is a core developer with a strong knowledge of debian. [17:56] manusheel: I guess you mean http://bugs.sugarlabs.org/ticket/1900? since sayamindu is an author, better to ask him, evince devs changed API a lot.. [17:56] kandarp: Ok, I'll ask Marco Gritti and Sayamindu on this issue. [17:57] kandarpk: I know the Evince team very well. Good friends. [17:57] alsroot: Thank you for the pointer. [17:57] dfarning: Very good pointers indeed. Thank you. [17:58] manusheel sir: alsroot has already applied patch on it [17:59] * alsroot only attached patch to the ticket, it should be reviewed by maint and commited to the trunk [17:59] kandarpk: Great, that was very quick. Neat to hear. [17:59] alsroot: Thank you. [18:08] dfarning: what should we do next ? [18:08] kandarpk, are there still remaining bugs outstanding [18:09] only two [18:09] 1) read activity [18:09] which is outated [18:09] 2) restart issue [18:10] *outdated [18:12] kandarpk, can you talk to alsroot about the restart issues? My guess is the problem is not that the session/emulator close. The problem is that they don't restart s expected. [18:12] Ok. [18:12] alsroot: around ? [18:12] kandarpk: yup [18:14] alsroot: please have a look here [18:14] http://pastebin.org/375746 [18:16] kandarpk: it not a bug, it just wasn't implemented :) [18:16] Ok. [18:16] alsroot: that is what was confusing us [18:17] because non of the options caused sugar to restart [18:17] it just closed [18:17] dfarning: congrats [18:18] kandarpk: in fact, people use sugar-emulator as "emulator or sugar" in most cases, so workflow you mentioned was not considered as a bug [18:19] dfarning: now only read activity needs update [18:19] alsroot: thanks for helping [18:20] you are so quick !! [18:20] kandarpk, great. [18:20] ywyw [18:21] kandarpk, is that all of the tasks in the queue? [18:21] dfarning: till now, yes [18:21] kandarpk, does any one else have open tasks that need help? [18:23] dfarning: no-one has reported bugs [18:23] kandarpk, ok so let's start learning about git. [18:23] are you familiar with git and what it is? [18:23] but you can help me out by helping me understand how to install Debian packages in Ubuntu [18:24] I went through git documentation in the morning [18:24] will be more comfortable once I start using them [18:24] ahhh. nice segue:) [18:25] :) [18:26] we can usually not install debain packages directly in ubuntu... instead they need to be rebuilt. There are often minor differences which prevent ppackages from running on both system] [18:26] yeah. [18:26] instead we need to rebuild the packages for each distro. [18:27] this is where git comes in. [18:27] as you have read git allows us to have several branches. [18:28] so we can have one branch for debian, one, for ubuntu 10.04, and 10.10 [18:28] 99% of the branches will be the same but sometimes there will be slight differences. [18:29] does that make sense? [18:30] Ok. [18:30] did read that we have branches in git [18:30] but didn't understand its purpose then [18:31] I just think of a branch as a variant of the mainline. [18:31] dfarning: much better understanding now [18:32] in this case we can think of debain as the mainline and the ubuntu versions as branches. [18:32] that means we make branches whenever there's some difference ? [18:32] yes that is correct. [18:33] Ok. [18:33] and the cool thing is that it is very easy to merge things between branches. [18:34] dfarning: why would we require to merge branches ? [18:34] if they are specifically made as they are different [18:35] If you are maintaining the Ubuntu 10.04 branch and Jonas make a fix to the debian mainline. you can just 'pull' the change into your branch. [18:35] shouldn't we make branches for codes that are completely different ? [18:36] common code in two branches ? [18:37] the difference between branches are call commits. And you can pull and push commits around as needed. [18:39] kandarpk, please take a look at http://students.ceid.upatras.gr/~sxanth/ungit.html I think it will make more sense. I'll be here if you have questions. [18:39] Ok. [18:40] neeraj_, how are you coming along? [18:47] kandarpk, I have asked bernie to join us. He is a git genius:) [18:47] :) [18:47] dfarning: Thats great [18:48] kandarpk, do the article I linked to make sense now that you understand branches better? [18:49] dfarning: reading about commiting right now [18:50] kandarpk, do you perfer to read or work through tutorials to learn? [18:50] I would like use git [18:51] dfarning: reading doesn't help [18:51] until I start using the codes [18:51] ,commands [18:52] kandarpk, ok, there is a very simple tutorial that you can try at http://niteshrijal.com.np/hands-on-git/ it walks you through most of the basic commands. [18:53] Ok, will try this one first [18:57] kandarpk, Ok, I am going to go to lunch now. I understand that several of you will be meeting this weekend? [18:57] dfarning: thats true [18:57] tomorrow morning [18:57] dfarning: you have your lunch [18:58] till then, I'll go through these tutorials [18:58] kandarpk, great, That will be a good chance for you to learn about git teach the others about sugar on debian. [18:58] see you [18:59] sure. [19:04] kandarpk: hello, david told me you could use some tips with git. [19:04] kandarpk: git is my passion, so just ask anything and I'll try to answer [19:04] bernie: Hi [19:05] he gave me some links to study [19:05] was doing that [19:06] bernie: do you have some tips on getting started ? [19:11] kandarpk: so, you won't like my tip #1, but it's the most important one: git needs to be learned from the bottom up. [19:12] kandarpk: which means that before learning the basic commands, one should get an overview of the repository structure and the fundamental concepts. [19:12] bernie: I am a bit fimiliar with that [19:13] bernie: right now I know that, [19:13] kandarpk: git is very much like UNIX and C, if you know what I mean... they can't really be learned by asking a series of "how do I...?" questions. [19:13] kandarpk: sorry, go ahead... [19:14] to work on large number of files present on servers, by different users [19:14] git like tools are used [19:14] which allow local modification to source files [19:15] and then push only changes made in the sources to the servers [19:15] bernie: is my overview about the subject ok ? [19:16] bernie: and yes, I too believe that these tools cannot be learnt until used/practiced [19:21] * bernie reads [19:21] kandarpk: ok, I see [19:21] kandarpk: so, git is a very efficient tool for transfering stuff that can have meaningful deltas [19:21] kandarpk: very good for text files, very bad for multimedia and compressed binary files [19:21] kandarpk: if your requirement is only to transfer files back and forth without the ability to see the history of all versions, you might find rsync simpler and more efficient for the task. [19:22] kandarpk: so, what kind of files are you working with? [19:22] bernie: have to use git to maintain Debian packages [19:23] git is good for text because it uses diff ?? [19:23] to generate patches ? [19:43] bernie: around ? [19:45] kandarpk: sorry, I'm back [19:45] kandarpk: ok, if you push the source tree + debian dir in git, that's the ideal usecase for it [19:46] kandarpk: I think debian has a bunch of scripts to automate package management with git [19:46] kandarpk: that is, to automate the typical workflow of a maintainer, which is to import pristine sources released from upstream and add a bunch of patches on top of them [19:46] Ok. [19:47] bernie: git involves three different directories [19:47] 1) server [19:47] 2) user [19:47] 3) .git [19:47] what is .git used for ? [19:48] kandarpk: this is typically done by keeping the pristine versions in a separate branch. and the distro patches in the master branch (i.e. where you usually work and build the binaries from). [19:48] kandarpk: does it make sense? I'm not familiar with these tools, though. I heard from lfaraone that the debian git stuff is kind of obfuscated [19:49] bernie: getting it. [19:51] bernie: how does maintaining a branch having pristine versions help ? [20:27] bernie: its quite late now, and I should go to sleep [20:28] thanks for your help [20:28] bye