<div dir="ltr">Glad I could help, also when replying to the emails use the reply-all option instead so the email can also be sent to the list.<br clear="all"><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><pre style="color:rgb(46,52,54);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px"><span style="font-family:monospace,monospace">-- <br></span></pre><div style="color:rgb(46,52,54);font-size:14.6667px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;width:71ch"><span style="font-family:monospace,monospace"><span></span><span></span>Ibiam Chihurumnaya</span></div><div style="color:rgb(46,52,54);font-size:14.6667px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;width:71ch"><span style="font-family:monospace,monospace"><a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a><br></span></div><br></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 24, 2022 at 12:08 PM Saumya Kushwaha <<a href="mailto:saumyakus@gmail.com">saumyakus@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks, Ibiam, It's helped a lot.<div>I will surely follow the contributing guide file for making changes.</div><div><br></div><div>Saumya Kushwaha</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 24, 2022 at 3:54 PM Chihurumnaya Ibiam <<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Yes you can clone the activity locally from that link then make any changes you want and copy the directory to your vm, <br></div><div>after testing any issue you're working on and things are working as expected then you can push to your fork of the activity and</div><div>open a PR from there.</div><div><br></div><div>You should check out our <a href="https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md" target="_blank">contributing guide</a> for making changes to an activity and Sugar. <br></div><div><br></div><div>Hope that helps!<br></div><div><div><div dir="ltr"><div dir="ltr"><pre style="color:rgb(46,52,54);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px"><span style="font-family:monospace,monospace">-- <br></span></pre><div style="color:rgb(46,52,54);font-size:14.6667px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;width:71ch"><span style="font-family:monospace,monospace"><span></span><span></span>Ibiam Chihurumnaya</span></div><div style="color:rgb(46,52,54);font-size:14.6667px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;width:71ch"><span style="font-family:monospace,monospace"><a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a><br></span></div><br></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 23, 2022 at 8:48 PM Saumya Kushwaha <<a href="mailto:saumyakus@gmail.com" target="_blank">saumyakus@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you Ibiam,<div><div>Now I am able to copy and change the file via ssh with SCP.</div><div><br></div><div>Could you confirm that, If I want to work on let's say "Calculate Activity" then I can clone it from <a href="https://github.com/sugarlabs/calculate-activity" target="_blank">here</a> then copy the VM "calculate Activity" in my local and now after comparing and easily checking them using any code editor, can work on any issue, and if things are working, then can raise the pr in the cloned repository of "Calculate Activity" i.e. <a href="https://github.com/sugarlabs/calculate-activity" target="_blank">here</a>. </div></div><div><br></div><div>Thank again, Other pieces of information are also very helpful.</div><div><br></div><div>Saumya Kushwaha</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 22, 2022 at 10:45 PM Chihurumnaya Ibiam <<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Saumya,</div><div><br></div><div>If I understand correctly, you currently make changes to sugar locally from a cloned repo and you're trying to get these changes to your Sugar VM,</div><div>if that's the case then you can either copy the files you changed to the VM via ssh with rsync or scp and move the file to the right directory so you</div><div>can test it.</div><div><br></div><div>For changes to Sugar activities, you can clone activities in ~/Activities in the VM and copy your changed files to the specific activity in that folder, you should be</div><div>able to see the cloned activity from the activity ring in Sugar and to test your changes you can start a new instance of the activity and you should be able to see your changes.<br></div><div><br></div><div>For changes to sugar and it's core APIs, the source code in the vm can be found at /usr/src/sugar(-artwork, -toolkit-gtk3, -datastore) and /usr/src/gwebsockets,</div><div>you can build any of the APIs after copying your changes, check <a href="https://github.com/sugarlabs/sugar-live-build/blob/master/src/config/hooks/normal/0900-sugar.hook.chroot" target="_blank">here</a> for how to build any of the APIs.</div><div>Changes to any of the APIs can only be done as root and require a restart to propagate.<br></div><div><br></div><div>Activity and Sugar logs can be found at ~/.sugar/default/logs.</div><div><br></div><div>If you use vim, you can make changes directly as you can access the VM via ssh, this removes the need to copy files to the VM.<br></div><div><br></div><div>Hope that helps!</div><div><br></div><div><div><div dir="ltr"><div dir="ltr"><pre style="color:rgb(46,52,54);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px"><span style="font-family:monospace,monospace">-- <br></span></pre><div style="color:rgb(46,52,54);font-size:14.6667px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;width:71ch"><span style="font-family:monospace,monospace"><span></span><span></span>Ibiam Chihurumnaya</span></div><div style="color:rgb(46,52,54);font-size:14.6667px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;width:71ch"><span style="font-family:monospace,monospace"><a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a><br></span></div><br></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 22, 2022 at 2:53 PM Saumya Kushwaha <<a href="mailto:saumyakus@gmail.com" target="_blank">saumyakus@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Respected Sir,<br><div><br></div><div>I am Saumya Kushwaha, a CSE 2nd year student of IITBHU, India. I am already contributing to SugarLabs from December 2021 in many repositories.<br></div><div>I have queries regarding contribution to the <a href="https://github.com/sugarlabs/sugar" target="_blank">Sugar</a> repository. I have already set up the Sugar in my Virtual Machine and can access it via SSH. </div><div>  But, I am not able to find how I actually connect the forked code of "Sugar" from my local environment to the Virtual Machine. I mean to say how after changing the code in my local environment can see the changes in Virtual machine. I had followed <a href="https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md" target="_blank">this</a> file but couldn't able to understand this thing properly.</div><div>Could anyone please guide me, share an article or blog from where I can read, or let me know the steps like after cloning how I connect my Virtual Machine code to the local machine. SO that I can work on pending issues and contribute to Sugar.</div><div><br></div><div>It would be a great help!</div><div><br></div><div>Thanks and Regards,</div><div>Saumya Kushwaha</div><div>Github: <a href="https://github.com/S-kus" target="_blank">https://github.com/S-kus</a></div></div>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>