/srv/irclogs.ubuntu.com/2010/07/21/#ubuntu-sugarteam.txt

berniedogi: hola00:10
dogihi bernie00:12
berniedogi: sorry gotta go now!00:48
* lfaraone is sleeping.04:07
=== op_amp is now known as neeraj
=== neeraj is now known as neeraj_afk
lfaraoneSorry, I'll probably be in around 10am EST today, since I'm goign to the gym for what would be the first hour of my work.13:26
loolHey13:31
loolWould love discussing status of Sugar in Debian at debconf with attendees13:31
loolI understand lfaraone is attending13:31
lfaraonelool: yep. right now I don't think any of the SEETA folk are (developers who are packaging the Sugar activities listed on http://wiki.debian.org/Sugar/tasks)13:33
lfaraoneBut IIRC Chris Ball of OLPC will be there.13:33
loolCool13:33
lfaraonealsroot: will you be able to make it to DebConf?13:33
* lfaraone 'd start sponsoring people's work into Debian, but my NM / DD application is waiting on DAM approval.13:34
alsrootlfaraone: I took a bit different way :), in stead of creating official packages (as I tried, but not so successfully, w/ jhconvert), I'm going to create rpm/dep packages(not in sake of packaging but as an intrument integrated into 0sugar) implicitly from 0sugar spec files14:30
alsroot..in OBS14:30
kandarpklfaraone: build failed.15:51
kandarpkhttp://paste.ubuntu.com/467038/15:51
kandarpklfaraone: missed 1 point there ^^, I renamed sugar-pollbuilder-activity_17.orig.tar.gz which I downloaded as Ubuntu package to sugar-pollbuilder-activity_26+git20100521.d4def0b6.orig.tar.gz15:53
kandarpkand placed it in the parent directory of directory from where I ran debuild15:54
* lfaraone is back.16:03
kandarpklfaraone: Hi.16:05
lfaraonehey kandarpk16:08
lfaraonekandarpk: wait, you renamed the orig tarball from the *previous* version to the new version?16:08
lfaraonekandarpk: the orig tarball is supposed to contain the sources for the current version you are packaging...16:08
kandarpklfaraone: where do I get the arig tarball from ?16:09
kandarpk*orig16:09
lfaraonekandarpk: you either download it from upstream, or in our case, we use "fakeroot debian/rules get-orig-source" to produce it from upstream's git.16:10
kandarpklfaraone: Ok.16:10
lfaraonekandarpk: tell me what the orig tarball should contain, in theory, from your understanding so far.16:12
kandarpklfaraone: the initial source without changes16:12
kandarpklfaraone: isn't that correct ?16:13
lfaraonekandarpk: yes. so would it make sense to use the source for an older version and act like it's a new version? (which is what you did when you renamed it)16:16
kandarpklfaraone: I thought the original source remains same16:17
kandarpkeven on change of the version16:17
lfaraonekandarpk: the original source is whatever is released by upstream. it has to match the version you're packaging, since otherwise the delta between the orig and your debian version will include Upstream changes.16:18
kandarpklfaraone: Ok, got it.16:18
kandarpklfaraone: thanks :)16:18
kandarpkwas living in a different world !16:19
lfaraoneneeraj: did you push up the changes to made to the pristine-tar branch16:20
lfaraoneneeraj: *?16:20
lfaraoneneeraj: in write, that is.16:20
lfaraonewhere is ankur?16:21
kandarpklfaraone: done. :)16:23
kandarpkthanks16:23
neerajlfaraone, not yet..:( just reached home.. will do that after dinner..16:25
kandarpklfaraone: please have a look when you get time :16:26
kandarpkhttps://bugs.launchpad.net/ubuntu/+source/sugar-pollbuilder-activity/+bug/60794916:26
=== neeraj is now known as neeraj_afk
kandarpklfaraone: I think changelog has a mistake.16:27
kandarpkmentioned unstable, should it be maverick ?16:28
lfaraonekandarpk: yes, it should.16:28
lfaraonekandarpk: good catch.16:28
kandarpklfaraone: :)16:29
kandarpklfaraone: can I directly modify changelog in debian.tar.gz ?16:30
lfaraonekandarpk: sure, but just this once ;)16:31
kandarpklfaraone: I do not have a debian folder now.16:43
kandarpklfaraone: if I need to build the package again I'l need to extract it from debian.tar ?16:43
=== neeraj_afk is now known as neeraj
lfaraonekandarpk: what happeneed to your debian filder?16:49
kandarpklfaraone: It isn't there.16:49
kandarpklfaraone: sorry, maybe looked in wrong directory16:50
neerajlfaraone, I am not sure i got you completely https://lists.ubuntu.com/archives/ubuntu-sugarteam/2010-July/001947.html16:50
neerajFirst I made changes in changelog, debian/rules and control.in file16:51
neerajand pushed them seperately16:51
neerajnow, I have cloned it on local machine by using gbp-clone --pristine-rar command16:52
lfaraoneneeraj: right. so you also changed the package name, right?16:53
neerajlfaraone, yes16:53
lfaraoneneeraj: so because of that pristine-tar gets confused, it cannot find the delta information in the git pristine tar branch because it's under a different name.16:53
lfaraoneneeraj: to resolve that, you follow the instructions in the linked email to rename the pristine tar information.16:54
neerajok16:54
lfaraoneneeraj: basically, you checkout the pristine-tar branch, mv the files with the old name to the new name, commit, and switch back to master.16:54
neerajok.. git checkout pristine tar,16:55
neerajgit mv <old orig>.id <new orig>.id16:55
neerajgit mv <old.orig> delta <new orig>.delta16:56
lfaraoneneeraj: yes.16:59
neerajlfaraone, thanks a lot :)17:04
neerajnow before pushing do I need to run git commit again as I built the package..17:04
lfaraoneneeraj: no, you don't need to run git commit when you just build a package.17:14
lfaraoneneeraj: you should, however, run debuild clean before you commit. :)17:14
lfaraonekandarpk: have you finished work on s-pollbuilder-a?17:15
kandarpklfaraone: do I need to do anything else, except for putting debian.tar.gz on launchpad ?17:16
lfaraonekandarpk: not IIRC>17:16
kandarpklfaraone: then I am done.17:17
kandarpk:)17:17
lfaraonekandarpk: just FYI, "Initial release" is only used when it's the first release of a package :)17:20
lfaraonekandarpk: better would be "new upstream version"17:20
kandarpklfaraone: hmmm.17:21
lfaraonekandarpk: no worries, I just changed the commit change anyway.17:21
lfaraone* I just changed the changelog message17:21
kandarpklfaraone: I am waiting for the day when you'll find it perfectly packaged17:22
=== op_amp is now known as neeraj_
lfaraonekandarpk: :)17:23
lfaraonekandarpk: if that happened, I'd be out of a job, now wouldn't I? :P17:23
kandarpklfaraone: :)17:23
lfaraonehallo dfarning17:29
dfarninghey luke, just anded in paraguay17:29
dfarningrgs_, bernie are you guys around?17:30
dfarningI just landed in PY17:30
rgs_dfarning: hey!17:30
rgs_dfarning: I didnt get (or lost) your itinerary17:30
rgs_dfarning: I can be there in 2017:30
rgs_dfarning: leaving now with Bernie17:30
rgs_dfarning: k?17:30
dfarningrgs_, thanks.... what a trip.... they lost both of my bags:)17:31
dfarningI am in the cafe on the second floor17:31
rgs_dfarning: crap, see you there17:31
dfarningrgs_, thanks. see you soon.17:32
kandarpkdfarning: hello, we too are around :)17:40
kandarpkdfarning: so nice to see you.17:40
kandarpkmanusheel sir: sphinx api present at : /home/dfarning/sugar-jhbuild/install/lib/python2.6/site-packages/sugar....17:41
kandarpk*not api, the source17:41
kandarpkmanusheel sir, dfarning : and its read only right now.17:42
op_amplfaraone, regarding your latest review for record activity, should I just copy text given here http://git.debian.org/?p=collab-maint/sugar-record-activity.git;a=blob;f=COPYING;h=1206c133b56e5600b3bdf4ed72b6062beedb5afb;hb=2251fb5d23e2dd2eeb0d1d9e14cd9d0977a16fca17:45
=== op_amp is now known as neeraj
lfaraonedfarning: re your mention about hiring me or going to the conference, the conference does cover the cost of your food and your lodgings for zero-cost. nevertheless, I think hiring me was a good idea too :)17:46
lfaraoneneeraj: YES.17:46
lfaraone* yes.17:46
neerajlfaraone, from line 6 to end..17:46
lfaraoneneeraj: yep.l17:47
neerajlfaraone, ok.. also i have already included port/* license17:47
lfaraoneneeraj: yes, I mentioned setup.py and port for completion.17:47
lfaraoneneeraj: (I know you have them already listed)17:47
kandarpklfaraone: where do I find the package of read activity for Ubuntu ?17:48
kandarpkhttps://launchpad.net/+search?field.text=read-activity&field.actions.search=Search17:48
kandarpklfaraone: too many results ^^17:48
lfaraonekandarpk: it was removed in Intrepid (ubuntu.. 8.10?)17:49
neerajregarding files : *, I should just change license from GPL to other x11 while Copyright of OLPC?17:49
kandarpklfaraone: package isn't available ?17:51
kandarpklfaraone: some versions of .deb are present on launchpad17:52
lfaraoneneeraj: I think so. "other-X11", that is.17:52
kandarpklfaraone: sugar-read for Lucid:17:52
kandarpkhttps://launchpad.net/ubuntu/+source/sugar-read-activity-0.86/78-317:52
lfaraonekandarpk: ah.17:53
kandarpklfaraone: should I use sugarteam PPA ?17:56
lfaraonekandarpk: no.17:57
lfaraonekandarpk: which version of read would we be updating to, anyway?17:58
kandarpklfaraone: Ok.17:58
kandarpklfaraone: 86, as was availabe on a.sl.o17:58
lfaraonekandarpk: well, we should update the activity in Debian first, no?17:59
kandarpklfaraone: I've build it on my system17:59
lfaraone(which I suspect will be already called sugar-read-activity-0.86)17:59
neerajlfaraone, one more question, only in these package we have to change * files license to other-X11 or all other activity also?17:59
kandarpklfaraone: couldn't push on git.deian.org17:59
lfaraoneneeraj: copyrights are specific for each package.18:00
lfaraonekandarpk: why not?18:00
lfaraonekandarpk: you should pull the repo that already exists there, import the new version, and push up.18:00
kandarpklfaraone: Jonas has a repo for it there18:00
kandarpklfaraone: Oh yes. I should try doing this first.18:01
neerajlfaraone, i have made the changes and pushed them. Please review them whenever u get time..18:02
lfaraoneneeraj: cool, mark the request in the wiki tasks page if you would.18:03
manusheelkandarpk: ok, it is read only.18:04
dfarninglfaraone, Airfare from my little town is pretty high:(18:06
lfaraonedfarning: fair enough :(18:06
dfarningkandarpk, My trip unexpectedly took an extra day.  I'll be back tomorrow morning.18:07
kandarpkdfarning: np.18:08
neerajlfaraone, one question, in write activity, when I m pushing my changes, its showing every this upto date.. why is that?18:16
neerajI mean I renamed .delta and .id files in pristine-tar branch and also committed my changes..18:17
manusheeldfarning: Absolutely fine.18:25
manusheelkandarpk: The steps are neat.18:25
manusheelThank you for sending the document.18:26
kandarpkmanusheel sir: Thanks18:26
manusheelkandarpk: I'll write to Tomeu on providing us pointers on walking through the code.18:26
manusheelkandarpk: I would start going through the code path Sugar uses to establish a telepathy connection.18:26
kandarpkmanusheel sir: hmmm, I won't be able to understand much without his help.18:27
manusheelDid you get a chance to look at this part of the code?18:27
manusheelkandarpk: Unfortunately, he is not on #sugar IRC channel too.18:28
manusheelWe would have had a remote meeting with him.18:28
kandarpkmanusheel sir: I looked at main.py *if I remember correctly18:28
manusheelkandarpk: Ok.18:28
manusheelAnd, what all inferences we made from it?18:28
kandarpkmanusheel sir: it was very short and didn't had much.18:29
kandarpkmanusheel sir: don't know what the code was meant for.18:29
manusheelkandarpk: Can you checkout the source code, and send me in an e-mail or put in the dropbox.18:30
manusheelI'll study it.18:30
lfaraoneneeraj: you should be pushing "pristine-tar", not "master"18:30
kandarpkmanusheel sir: mailing you.18:30
manusheelkandarpk: Thank you.18:31
manusheelkandarpk: Will be back in 8 minutes.18:32
neerajlfaraone, how to do that.. git push git+ssh://neeraj-guest@git.debian.org/git/collab-maint/sugar-write-activity.git pristine-tar18:35
lfaraoneneeraj: yes.18:35
neerajis also giving the same output.. Every thing upto date18:36
manusheelkandarpk: Thank you.18:42
lfaraoneneeraj: that's because your commit is already there: http://git.debian.org/?p=collab-maint/sugar-write-activity.git;a=shortlog;h=refs/heads/pristine-tar18:43
lfaraoneneeraj: :)18:45
neerajlfaraone, ohh.. did knew that :)19:05
kandarpkmanusheel sir, lfaraone: may I leave now ?19:06
lfaraonekandarpk: I don't see why not.19:06
manusheelkandarpk: Sure, Kandarp.19:07
manusheelOn a separate note, I did understand the source.19:07
manusheelPretty easy.19:07
manusheelYou should have gone through init.py first.19:07
kandarpklfaraone: what was the first impression of debian.tar ?19:07
lfaraonekandarpk: it looks good, I'm just testing it against Maverick in a VM.19:08
manusheelmain.py was not the correct starting point towards understanding what this source package is for.19:08
kandarpkmanusheel sir: C has some role to play here19:09
manusheelkandarpk: C ?19:09
kandarpkbut should have known python uses init.py19:09
kandarpkmanusheel sir: I think you guessed it by now.19:09
manusheelkandarpk: Are you not familiar with Python programming? Pretty simple, actually.19:10
kandarpkmanusheel sir: no problem regarding python :)19:10
manusheelkandarpk: Ok, got it.19:10
manusheelkandarpk: So, you should have started with init.py.19:11
manusheelThat very well explains19:11
manusheelwhat all aspects we need to go through.19:11
manusheelBasically 2 of them -> activities and buddies (users).19:11
kandarpkmanusheel sir: Ok.19:11
manusheelkandarpk: Once you go through that file, you'll understand what activity.py is doing, what the buddy.py is doing.19:12
manusheelmain.py is very simple.19:12
lfaraonekandarpk: okay, just realized, your upload is good (probably), but python-abiword does not currently build from source, and is uninstallable in Maverick.19:12
manusheelkandarpk: For Sugar API documentation, you should have change the permissions of the folder.19:12
kandarpklfaraone: Oh.19:12
manusheelYou could have done that easily.19:12
manusheelkandarpk: We use chmod command.19:13
lfaraonekandarpk: the build failure is at http://launchpadlibrarian.net/48507267/buildlog_ubuntu-maverick-amd64.pyabiword_0.8.0-5_FAILEDTOBUILD.txt.gz19:13
lfaraonekandarpk: not a problem with your stuff, but we should look at it nevertheless.19:13
kandarpkmanusheel sir: I thought I wont have privilages to change permissions in David's account19:13
kandarpklfaraone: any solution to it ?19:14
manusheelkandarpk: Wish if you could give a try now.19:14
manusheelWe can then send an e-mail to David.19:14
kandarpkmanusheel sir: giving it a try19:14
manusheelkandarpk: Great. If it does not work out, we'll send an e-mail to David asking him to get us the rights for this folder.19:16
kandarpkmanusheel sir: $ chmod +w activityhandle.py19:18
kandarpkchmod: changing permissions of `activityhandle.py': Operation not permitted19:18
kandarpkmanusheel sir: "sudo vi" works :)19:20
manusheelkandarpk: Great.19:21
manusheelsudo vi is more than good.19:21
manusheelkandarpk: See if inserting a doc string named "test doc string" is reflected at http://api.sugarlabs.org/sphinx.19:24
kandarpkmanusheel sir: I'll need to run the script made by David first.19:24
lfaraonekandarpk: not sure.19:24
kandarpklfaraone: Ok, thanks for reviewing :)19:25
lfaraonekandarpk: once we get the abiword thing fixed, we'll be able to actually publish your work :)19:25
manusheellfaraone: I thought Ian fixed it.19:26
kandarpklfaraone: can I copy the ssh key under debian ?19:26
manusheelIan_Daniher: around?19:26
lfaraonemanusheel: he fixed issues with pyabiowrd in lucid.19:26
lfaraonekandarpk: sure.19:26
kandarpkusing Ubuntu and need to ssh into api.sugarlabs.org19:26
kandarpklfaraone: what do I need to do ?19:26
manusheelkandarpk: Ok.19:26
manusheelkandarpk: Yes, Kandarp.19:26
lfaraonekandarpk: right now, nothing.19:27
manusheelKandarpk: You do have the ssh access.19:27
lfaraonekandarpk: we need to determine why pyabiwrod isn't building19:27
kandarpkmanusheel sir: need to log into debian for that19:27
manusheelkandarpk: Can you send me an e-mail on it? Will ask Ian to work on it.19:27
kandarpkusing Ubuntu right now19:27
manusheelHe did spend time on pyabiword.19:28
manusheelWill touch base with Martin Dengler and other Abiword team members.19:28
manusheelkandarpk: Ok.19:28
manusheelYes, you'll need Debian OS.19:28
kandarpkmanusheel sir: Ok, logging into Debian.19:29
manusheelkandarpk: Ok. Great.19:29
kandarpkmanusheel sir: for some strange reason ssh kandarpk@sunjammer.sugarlabs.org19:35
kandarpkisn'tworking19:35
manusheelkandarpk: Was it working earlier?19:35
kandarpkmanusheel sir: yes.19:35
kandarpkgetting Permission denied (publickey).19:36
manusheelkandarpk: Try kandarp.seeta.19:36
kandarpkmanusheel sir: that didn't work ( as expected )19:37
kandarpkmy username is kandarpk on sunjammer19:37
manusheelkandarpk: With the same ssh key, you are able to access the other machine, right?19:37
kandarpkmanusheel sir: I've different keys for the machines19:39
kandarpkone is on debian and second on ubuntu19:39
manusheelkandarpk: So, the other access is through your Ubuntu key?19:40
kandarpkmanusheel sir: Ok, got it.19:40
kandarpkhad to use Ubuntu only.19:41
manusheelOk. :-)19:41
kandarpkmanusheel sir: logged in.19:42
manusheelkandarpk: Great.19:42
kandarpkwill try running the script now19:42
manusheelSure.19:42
kandarpkmanusheel sir: sir, I think the source present in David's home got overwritten19:55
kandarpkthe git clone problem I discussed before19:55
kandarpkmanusheel sir: running the script again to confirm19:56
manusheelkandarpk: Ok.19:56
manusheelThat is unfortunate to hear.19:56
manusheelkandarpk: We should try and find a workaround for this issue. Let us report it to David too.19:57
kandarpkmanusheel sir: the script uses19:58
kandarpkgit clone git://git.sugarlabs.org/sugar-jhbuild/mainline.git19:58
kandarpkbefore building the HTML pages19:58
kandarpklfaraone: does git pull preserves any local changes ?20:00
lfaraonekandarpk: yes.20:00
kandarpkOk.20:00
lfaraonekandarpk: it might cause a merge conflict, or error out, but it'll not remove old changes.20:00
kandarpklfaraone: we'll need a git commit that means20:01
kandarpk.20:01
lfaraonekandarpk: in that case, probably yes.20:01
manusheelkandarpk: Interesting. Yes, we'll need a git commit before.20:01
kandarpkmanusheel sir: I missed that I think20:01
manusheelI mean after git clone ...20:01
manusheelkandarpk: Ok.20:02
manusheelkandarpk: Will be back in 10 minutes. Let me know how did the procedure come along.20:05
kandarpkmanusheel sir: Ok.20:06
kandarpkmanusheel sir: Its working :)20:40
kandarpkonly git commit was required.20:40
manusheelkandarpk: Congratulations.20:40
manusheelThis is excellent.20:40
kandarpkmanusheel sir: Thanks and same to you.20:40
manusheelkandarpk: Can you try and insert "test doc string", and see if we are able to view it at the appropriate HTML page.20:41
kandarpkmanusheel sir: I edited a docstring20:41
kandarpkand changes are present online20:42
neerajkandarpk sir, manusheel sir I just went through logs and saw the steps which kandarpk sir followed while packaging pollbuilder-activity and I *think* I understood all steps.. :)20:42
neeraj*for ubuntu20:42
manusheelneeraj: Wonderful.20:43
kandarpkneeraj: they are a bit easy compared to what we learnt over past few days.20:43
manusheelneeraj: Let us try and package Record on Ubuntu20:43
manusheelfollowing the steps.20:43
manusheelkandarpk: Can you send me the URL?20:43
kandarpkhttp://api.sugarlabs.org/sphinx/handles.html20:43
kandarpkmanusheel sir: Retrieve our settings as a dictionary _Parameter:_20:44
kandarpkI inserted Parameter: in the source code20:44
manusheelkandarpk: Having a look at it.20:44
manusheelkandarpk: This is great.20:44
neerajmanusheel, sure, but I was thinking of waiting for luke to give me r+ on that.. Hopefully I have made all required changes which luke asked me to do20:45
manusheelneeraj: Sure.20:45
manusheelneeraj: Would you like to package some other activity for a test run?20:55
neerajmanusheel sir, I m trying to record for the same purpose :)20:56
manusheelneeraj: Ok :-)20:57
manusheelTake your time, buddy.20:57
neerajkandarpk sir20:57
neerajfor getting change log of previous package in ubuntu20:57
neerajwe use apt-get source right?20:57
kandarpkneeraj: dget20:59
kandarpkto get the package21:00
neerajmanusheel sir, I am getting an error while trying to download the source and other files using dget -x *.dsc file. I tried to search on google and solve it but unable to do so :(.. I will do packaging for n activity tomorrow21:43
neerajmanusheel sir, gn :)21:43
=== neeraj is now known as neeraj_afk

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