Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate

#sugar-newbies, 2010-12-21

 « Previous day | Index | Today | Next day »     Channels | Search | Join

All times shown according to UTC.

Time Nick Message
00:00 gnola14_ Hi, I'll post my question here, should anyone know the answer, please do it
00:00 I've been trying to run a simple "Hello World" activity on a XO-1, but currently unsuccessful
00:00 My Activity won't show on the Home view, no matter what I do
00:01 I've followed the tutorials at olpc-wiki as well as many other
00:01 *others
00:01 But still nothing.
00:01 Has anyone experienced any similar problem?
00:03 m_anish gnola14_, have you tried bringing up the list view, the main view only shows the favorites
00:04 the list view can be accessed by clicking the top right icon in the home view
00:04 gnola14_ Oh, let me try that
00:05 Oh boy, such a simple thing. You were right, it was showing not all the activities
00:06 At least the icon is shown, though it's taking some time to load
00:06 Thanks! I'll check the log now and see what went wrong
00:10 m_anish gnola14_, you're welcome. btw, it might be worth putting this information on the places you were looking up, i've seen this query more than once now :)
00:11 gnola14_ OK. I guess I might add an entry to the wiki then?
00:11 m_anish gnola14_, yeah that'd be great, thanks!
00:11 gnola14_ :)
00:16 gnola14_ has quit IRC
08:55 alsroot_away is now known as alsroot
09:26 mukesh_dce <mukesh_dce!~chatzilla@> has joined #sugar-newbies
09:30 mukesh_dce hello all.. i wish to start working on bug solving
09:31 how do i begin
09:31 i have the link to the ticket
09:35 m_anish: anish ,are you there?
09:36 alsroot mukesh_dce: if it is http://wiki.sugarlabs.org/go/D[…]e/Modules#Glucose component, you need to follow http://wiki.sugarlabs.org/go/D[…]_Team/Code_Review rules, otherwise (ie for activities) patching workflow might be different, I think good way might be gitorious fork or sending your patch to activity maintainer
09:37 ..or attaching a patch to bugs.sl.o ticket, w/ setting "r?" ticket keyword field
09:38 mukesh_dce alsroot: i want to work with the activity component..can you tell me what link to follow  first ?
09:40 alsroot mukesh_dce: if you chosen a ticket on bugs.sl.o, I guess better to attach your patch there
09:44 mukesh_dce: patching workflow is not yet something sustainable for now, there is http://wiki.sugarlabs.org/go/D[…]_Team/Code_Review, but it mostly for glucose (and for me it is too much overkill for activityies when you can just email your patch to activity author)
09:46 mukesh_dce alsroot: thanks that will do for now
10:33 mukesh_dce has quit IRC
11:31 satellit_afk has quit IRC
11:37 satellit_ <satellit_!~satellit@2002:d064:95e7:0:219:d1ff:fe73:14e6> has joined #sugar-newbies
13:15 m_anish is now known as m_anish_afk
13:51 m_anish_afk is now known as m_anish
14:06 gangil <gangil!~gangil@unaffiliated/gangil> has joined #sugar-newbies
14:35 mukesh_dce <mukesh_dce!~chatzilla@> has joined #sugar-newbies
14:39 mukesh_dce hello ,i just resolved a bug in a sugar activity. For that i made a small change in source code of that activity  .No how do i submit a patch
14:40 m_anish mukesh_dce, awesome!
14:40 looks for git links
14:40 mukesh_dce, you were working inside a git repository?
14:41 mukesh_dce no
14:41 m_anish mukesh_dce, http://wiki.sugarlabs.org/go/Activity_Team and http://lists.sugarlabs.org/arc[…]tober/027633.html
14:42 mukesh_dce, may I ask, which activity were you working on :)
14:42 mukesh_dce yeah  it was Image Viewer
14:43 m_anish mukesh_dce, ok if you follow the second link, that is the process i usually follow with activities
14:43 mukesh_dce should i first make a local git repo
14:43 ?
14:44 m_anish mukesh_dce, you should clone from remote
14:44 mukesh_dce ok
14:44 m_anish or in this case, what you could do is this...
14:44 mv ImageViewer.activity ImageViewer.activity.tmp
14:45 git clone <url> ImageViewer.activity
14:45 copy your changes over from the .tmp dir to the main dir
14:45 then cd to the main dir
14:45 do git add and git commit (as explained in the link)
14:45 (ugly)
14:46 you should start learning git as well :) progit is a good online book
14:46 mukesh_dce the link you gave me uses sugar-jhbuild?
14:46 m_anish http://lists.sugarlabs.org/arc[…]tober/027633.html ?
14:46 mukesh_dce yes
14:46 m_anish ok, so don't worry about that, i guess your activity would be in ~/Activities/ImageViewer.activity
14:47 ?
14:47 mukesh_dce yes
14:47 m_anish np, do the same steps with your file structure...
14:47 mv ~/Activities/ImageViewer.activity ~/Activities/ImageViewer.activity.tmp
14:47 git clone <url> ~/Activities/ImageViewer.activity
14:47 and so on
14:48 mukesh_dce alright ,will try tht
14:48 m_anish go to git.sugarlabs.org and search for imageviewer to get the git url
14:48 which bug were you working on?
14:48 mukesh_dce http://bugs.sugarlabs.org/ticket/1504
14:49 m_anish mukesh_dce, great!
14:50 mukesh_dce m_anish: thnaks :)
14:50 m_anish when you've made the patch, send it to sugar-devel and the imageviewer activity maintainer
14:50 mukesh_dce ok
14:50 m_anish mukesh_dce, and go have a big cup of coffee :P
14:50 alsroot mukesh_dce: sayamindu is maintaining ImageViewer, but he isn't too active
14:53 mukesh_dce: I'll ping him by email
14:53 mukesh_dce ok ,thanks
14:53 m_anish mukesh_dce, oh! and don't forget to attach the patch you send to the m-l to the bug as well :)
14:53 alsroot m_anish: btw, you can join #sugar channel as well, it is for general sugar discussion and is not being logged
14:53 m_anish: sorry, mukesh_dce ^
14:54 mukesh_dce ok
15:16 m_anish: what is the path to the patch file i create?
15:17 m_anish mukesh_dce, if you used git format-patch, the patch would be created in the directory you are in
15:17 (not sure if i understood your question)
15:18 mukesh_dce i used the command "git format-patch -s -l" but i can't see any patch file generated
15:20 m_anish its not -l (alphabet) its -1 (digit)
15:21 -1 means that patches for the last 1 commit would be created. -N means patches for the last N commits would be created
15:21 mukesh_dce, have you done git add followed by git commit, before doing git format-patch?
15:21 mukesh_dce yes
15:21 i got it now
15:22 thanks
15:22 i can see the patch file now
15:22 m_anish mukesh_dce, awesome
15:23 mukesh_dce, http://people.sugarlabs.org/anish/.gitconfig could be useful for you the [sendmail] section
15:23 .gitconfig is a file in your home directory
15:24 mukesh_dce, btw, which text editor are you using?
15:24 mukesh_dce gedit and geany
15:25 do i need to change .gitconfig for sending emails
15:25 by default it contains my name and email id
15:25 m_anish mukesh_dce, ok, I'd suggest using vim (or emacs), but be careful of the way your editor might format the tabs, whitespaces etc.
15:25 mukesh_dce, yeah, set it acc to your email configuration
15:26 mukesh_dce ok
15:26 m_anish mukesh_dce, http://www.swaroopch.com/notes/Vim :)
15:35 mukesh_dce m_anish: should i mail sayamindu on his gmail id. i couldn't find his sugarlabs email id
15:35 m_anish mukesh_dce, yeah, and the sugar-devel mailing list
15:36 mukesh_dce, make sure you have included the bug id in the commit message
15:36 and make it informative
15:36 mukesh_dce oh i didnt
15:36 how do i change that?
15:36 m_anish you can type a title in the first line, leave a blank line and type in a short description
15:36 mukesh_dce, go to your repo directory
15:37 and type in git commit --amend
15:37 mukesh_dce ok
15:37 m_anish this will allow you to amend your last commit
15:37 mukesh_dce got it
15:37 m_anish to it could be something like
15:37 #sl<bugid>: preserve zoom while rotating
15:37 <blank line>
15:38 <short description>
15:38 mukesh_dce, oops the first character of a line shouldn't be '#'
15:38 mukesh_dce right
15:39 m_anish sl#<bugid>: preserve zoom while rotating ... :)
15:44 mukesh_dce m_anish: sorry for too many questions but where do i find address of mailing list to the bug?
15:45 m_anish mukesh_dce, don't feel sorry, i ask a lot of questions as well :-) address -> Sugar Devel <sugar-devel@lists.sugarlabs.org>
15:47 mukesh_dce, you won't be able to send message to the m-l unless you're subscribed i think
15:47 mukesh_dce ok
15:47 m_anish lists.sugarlabs.org/listinfo/sugar-devel
15:48 mukesh_dce i guess i am already subscribed
15:48 m_anish mukesh_dce, ok :)
15:50 mukesh_dce when i try to send the email it says authentication required but never asks for authentication
15:51 m_anish mukesh_dce, hmm, maybe you can check your email smtp config, i have gmail to my .gitcnfig file is acc to that
15:52 mukesh_dce i should ask for authentication in the terminal itself shouldn't it?
15:53 m_anish it asks me for a password, when I send the patch
15:53 in the terminal
16:11 mukesh_dce m_anish: patch sent
16:14 m_anish mukesh_dce, the patch applies :) , i;ll test it on an xo
16:14 mukesh_dce, going for lunch, see you later
16:15 mukesh_dce m_anish: bye
16:34 mukesh_dce has quit IRC
16:37 Akhil_Nikhil <Akhil_Nikhil!3bb280d2@gateway/web/freenode/ip.> has joined #sugar-newbies
16:38 Akhil_Nikhil has left #sugar-newbies
16:43 Akhil_Nikhil_ <Akhil_Nikhil_!3bb280d2@gateway/web/freenode/ip.> has joined #sugar-newbies
16:46 mukesh_dce <mukesh_dce!~chatzilla@> has joined #sugar-newbies
17:28 m_anish is now known as m_anish_afk
17:31 Akhil_Nikhil_ has quit IRC
17:37 m_anish_afk is now known as m_anish
17:46 mukesh_dce m_anish: just got your review email
17:50 m_anish mukesh_dce, that just means that i've reviewed your patch (and tested it).
17:50 mukesh_dce, you should attach the patch to the bug report and add the keyword "r?" without quotes
17:51 when the maintainer of that component feels that your patch resolves the bug, he will change the keyword to "r+"; or a "r?" if he wants you to change the patch
17:51 mukesh_dce m_anish: http://bugs.sugarlabs.org/ticket/1504 on this page?
17:51 m_anish mukesh_dce, yes, attach the .patch file
17:55 mukesh_dce m_anish: i can't see any attachment option on that page
17:56 m_anish mukesh_dce, you need to create an account first :P
17:56 mukesh_dce i am already logged in
18:00 m_anish: do i need to create a new ticket?
18:03 m_anish:
18:16 m_anish is now known as m_anish_afk
18:19 m_anish__ <m_anish__!be689871@gateway/web/freenode/ip.> has joined #sugar-newbies
18:19 m_anish__ mukesh_dce: were you able to attach, sorry i got disconn
18:20 mukesh_dce m_anish__: no , do i need to create a new ticket
18:24 m_anish__ has quit IRC
20:02 Akhil_Nikhil_ <Akhil_Nikhil_!3bb280d2@gateway/web/freenode/ip.> has joined #sugar-newbies
20:08 Akhil_Nikhil_ Hey, I've made some changes in the control panel code and want to see the changes reflected when I run the sugar emulator the next time
20:09 How to?
20:26 alsroot Akhil_Nikhil_: if you are running the same code that was changed, then just restart sugar
20:27 Akhil_Nikhil_ I want to run the changed version, dont i need to build anything?
20:28 Just restarting sugar emulator doesnt seem to work
20:30 alsroot Akhil_Nikhil_: looks like you changed not the same version that you are running, it is python code so there is no need in building
20:30 Akhil_Nikhil_ I'm trying to solve a bug in the control panel
20:32 gangil has quit IRC
20:32 Akhil_Nikhil_ I've installed emulator from package manager and got the source code by cloning from git
20:33 gangil <gangil!~gangil@unaffiliated/gangil> has joined #sugar-newbies
20:36 gangil has left #sugar-newbies
20:38 alsroot Akhil_Nikhil_: version that was installed from package manager should be somewhere in /usr, so you started code that wasn't changed
20:39 Akhil_Nikhil_: if you are coding control panel, you need something like jhbuild or so
20:46 Akhil_Nikhil_ alsroot: If I am able to locate the code in /usr and make changes there, will that work or I need jhbuild?
20:48 alsroot Akhil_Nikhil_: you can change the code in /usr, for control panel components it should be /usr/share/sugar/extensions/cpsection
20:48 Akhil_Nikhil_ yea I found that. But it is not the same code as I get from git
20:48 mukesh_dce has quit IRC
20:49 Akhil_Nikhil_ alsroot: I want to make changes to ~/sugar-jhbuild/source/sugar/s​rc/jarabe/controlpanel/gui.py
20:50 alsroot Akhil_Nikhil_: sorry, dunno how jbuild is organized, I don't use it
20:52 Akhil_Nikhil_ alsroot: If I were making a change to an activity, making the change in /usr and restarting emulator would just work fine?
20:53 alsroot Akhil_Nikhil_: for activities it is much simpler, just git clone them to ~/Activities/ and to check your new changes you need to restart only activity (not sugar itself)
20:58 Akhil_Nikhil_ alsroot: Thanks a lot!
20:59 alsroot yw
20:59 alsroot is now known as alsroot_away
21:09 Akhil_Nikhil_ has left #sugar-newbies

 « Previous day | Index | Today | Next day »     Channels | Search | Join

Powered by ilbot/Modified.