<div dir="ltr"><div>Hello,<br>Sorry for being away for some time from this topic as I was working on an activity for sugarizer . Now I have the time to dedicate to this task. <br><br>I am still not able to get a crystal clear image of the task. As originally I proposed an activity for sugarizer and James suggested that I would be great if the activity could work on both sugar and sugarizer which is actually really good.<br><br>I have two understanding of this task.<br>First one : Sugar-web repository of sugar labs is outdated and need to to update to the level of sugar-web of sugarizer . OR Is it to update the sugar-web of sugarizer to make it compatible with both sugar and sugarizer<br>Firstly,<br>I can find two sugar-web repositories one of sugar labs (<a href="https://github.com/sugarlabs/sugar-web">https://github.com/sugarlabs/sugar-web</a>) and one of sugarizer(<a href="https://github.com/llaske/sugar-web">https://github.com/llaske/sugar-web</a>) . What I understand is to bring the sugar web repository of sugar labs to the save level as that of sugarizer . Am I correct?<br><br>Secondly, here <a href="https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md">https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md</a> to run the basic activity of sugarizer on sugar (ubuntu) it is using sugar-web of sugarizer ,which I think should not be the case . We should be running it by updating the sugar-web of sugarlabs repository if I am not mistaken.<br><br>Lastly, what would be the basis to update the sugar-web of sugar labs I mean what would be the basis of test?</div><br><br>Thank You<br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 7, 2020 at 9:30 PM <<a href="mailto:sugar-devel-request@lists.sugarlabs.org">sugar-devel-request@lists.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">Send Sugar-devel mailing list submissions to<br>
        <a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:sugar-devel-request@lists.sugarlabs.org" target="_blank">sugar-devel-request@lists.sugarlabs.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:sugar-devel-owner@lists.sugarlabs.org" target="_blank">sugar-devel-owner@lists.sugarlabs.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Sugar-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: New Activity Proposal (Lionel Laské)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 7 Apr 2020 17:46:44 +0200<br>
From: Lionel Laské <<a href="mailto:lionel.laske@gmail.com" target="_blank">lionel.laske@gmail.com</a>><br>
To: Sugar-dev Devel <<a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a>><br>
Subject: Re: [Sugar-devel] New Activity Proposal<br>
Message-ID:<br>
        <CAA0v29AUnOX04HME306toqvZ-u4nEd4_PfEaYgBLcCrj=<a href="mailto:fsuJg@mail.gmail.com" target="_blank">fsuJg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Just few elements to give you some context.<br>
<br>
Sugarizer was designed initially to host Sugar activities written with<br>
Sugar-Web. A brief history of Sugarizer is here:<br>
<a href="https://github.com/llaske/sugarizer/blob/dev/docs/credits.md" rel="noreferrer" target="_blank">https://github.com/llaske/sugarizer/blob/dev/docs/credits.md</a><br>
So the Sugar-Web implementation in Sugarizer was compatible with Sugar.<br>
It's why today, the activity template to write a new Sugarizer activity (<br>
<a href="https://github.com/llaske/sugarizer/tree/dev/activities/ActivityTemplate" rel="noreferrer" target="_blank">https://github.com/llaske/sugarizer/tree/dev/activities/ActivityTemplate</a>)<br>
use in Sugarizer Development Tutorial, still include Python stuff.<br>
Just zip the content of your Sugarizer activities into a .xo file (explain<br>
here:<br>
<a href="https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md#ready-to-release" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md#ready-to-release</a>)<br>
and you should be able to install it on Sugar and run it. At least,<br>
theoretically.<br>
<br>
Unfortunately the compatibility between Sugarizer and Sugar-Web was lost<br>
during the development of Sugarizer. The Sugar-Web implementation in<br>
Sugarizer was never merged in Sugar-Web, Sugarizer added new features<br>
(presence, Journal chooser, ...) not directly compatible with Sugar and no<br>
one worked to maintain the compatibility.<br>
<br>
BTW it will be interesting to retrieve this compatibility, even if some<br>
features are not directly mappable, at least to allow a Sugarizer activity<br>
to be launched on Sugar and run basic features of the activity.<br>
<br>
It's not necessary a very complex task but it require rigor and patience.<br>
The thread here: <a href="https://github.com/sugarlabs/sugar-web/pull/133" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar-web/pull/133</a> explain<br>
the process if you're volunteer to work on this task. Of course, both<br>
people from the Sugar side and from the Sugarizer side on this list will be<br>
able to help you.<br>
<br>
Regards.<br>
<br>
          Lionel.<br>
<br>
<br>
<br>
Le mar. 7 avr. 2020 à 15:56, <<a href="mailto:sugar-devel-request@lists.sugarlabs.org" target="_blank">sugar-devel-request@lists.sugarlabs.org</a>> a<br>
écrit :<br>
<br>
> Date: Tue, 7 Apr 2020 13:14:28 +0530<br>
> From: Abhishek Tanwar <<a href="mailto:abhishektanwar084@gmail.com" target="_blank">abhishektanwar084@gmail.com</a>><br>
> To: James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
> Cc: Sugar-dev Devel <<a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a>><br>
> Subject: Re: [Sugar-devel] New Activity Proposal<br>
> Message-ID:<br>
>         <<br>
> <a href="mailto:CALhjuuh2VOWxmwB4Nmn9R8fUwOfAASSkSUZfm22Zge6kXhax2A@mail.gmail.com" target="_blank">CALhjuuh2VOWxmwB4Nmn9R8fUwOfAASSkSUZfm22Zge6kXhax2A@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> Thanks for the clarification James.<br>
> What I am not able to understand is that if I make an activity by following<br>
> this <a href="https://github.com/llaske/sugarizer/blob/master/docs/tutorial.md" rel="noreferrer" target="_blank">https://github.com/llaske/sugarizer/blob/master/docs/tutorial.md</a> ,<br>
> how<br>
> will the activity work in both sugarizer as well as in sugar .<br>
> I have developed activities for sugarizer earlier and have decent<br>
> experience in it but I am not sure if I am correctly understanding what you<br>
> are looking for.<br>
> I have gone through the discussions in<br>
> <a href="https://github.com/sugarlabs/sugar-web/issues/127" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar-web/issues/127</a> and<br>
> <a href="https://github.com/sugarlabs/sugar-web/pull/133" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar-web/pull/133</a> . Sugarizer activities use<br>
> the sugar-web library , I can't find the relevant documentation for<br>
> developing activities for both sugar and sugarizer, if you could help me<br>
> with some documentation that would be great.<br>
><br>
> Maybe I am not understanding what you intend to tell. Please let me know<br>
> what direction to head in.<br>
><br>
> Thank You<br>
><br>
> On Tue, Apr 7, 2020 at 3:42 AM James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> wrote:<br>
><br>
> > Yes.  Sugar is a Linux environment that can run any language.<br>
> > Sugarizer is a JavaScript environment inside browser.  An activity can<br>
> > be written to run in both Sugar and Sugarizer.  The Sugar Web library<br>
> > facilitates that.  You will have seen the post here earlier about work<br>
> > on Sugar Web.<br>
> ><br>
> > On Tue, Apr 07, 2020 at 03:19:00AM +0530, Abhishek Tanwar wrote:<br>
> > > Hello ,<br>
> > > I did not quite understand everything .<br>
> > > By saying "include sugar as a platform for sugarizer activity" I did<br>
> not<br>
> > > understand what you are trying to say .<br>
> > > Are you saying to make mancala for both sugar and sugarizer?<br>
> > ><br>
> > > Thank you<br>
> > ><br>
> > > On Tue, 7 Apr, 2020, 3:10 am James Cameron, <[1]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
> wrote:<br>
> > ><br>
> > >     We have a Sugar activity for Mancala, written in Python.<br>
> > ><br>
> > >     [2]<a href="https://github.com/sugarlabs/mancala-activity" rel="noreferrer" target="_blank">https://github.com/sugarlabs/mancala-activity</a><br>
> > ><br>
> > >     License is GPLv3+, but Peter Hewitt has delegated an authority to<br>
> me<br>
> > >     to relicense his activities as we require.  Sugarizer activities<br>
> use<br>
> > a<br>
> > >     different license in order to maximise distribution.<br>
> > ><br>
> > >     Please do include Sugar as a platform for your JavaScript activity.<br>
> > ><br>
> > >     On Tue, Apr 07, 2020 at 02:11:21AM +0530, Abhishek Tanwar wrote:<br>
> > >     > Hello,<br>
> > >     ><br>
> > >     > I have been searching for games that could help the children to<br>
> > develop<br>
> > >     their<br>
> > >     > brains and work in teams as well to incorporate the values of a<br>
> > good team<br>
> > >     > player.<br>
> > >     ><br>
> > >     > Mancala(or Mangala) is one such game that I came<br>
> > across. [1]https://<br>
> > >     > [3]<a href="http://en.wikipedia.org/wiki/Mancala" rel="noreferrer" target="_blank">en.wikipedia.org/wiki/Mancala</a><br>
> > >     > [2][4]<a href="https://mancala.playdrift.com/" rel="noreferrer" target="_blank">https://mancala.playdrift.com/</a><br>
> > >     > Mancala on sugarizer can be played between computer vs player ,<br>
> > player vs<br>
> > >     > player (offline ),player vs player (online using presence).<br>
> > >     > I think this could be a good addition to sugarizer for children<br>
> of<br>
> > age 6<br>
> > >     and<br>
> > >     > above.<br>
> > >     > I want to make this game for sugarizer and would like the<br>
> > community to<br>
> > >     share<br>
> > >     > feedback on this if it would be good addition.<br>
> > >     ><br>
> > >     > Thank You<br>
> > >     ><br>
> > >     > References:<br>
> > >     ><br>
> > >     > [1] [5]<a href="https://en.wikipedia.org/wiki/Mancala" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Mancala</a><br>
> > >     > [2] [6]<a href="https://mancala.playdrift.com/" rel="noreferrer" target="_blank">https://mancala.playdrift.com/</a><br>
> > ><br>
> > >     > _______________________________________________<br>
> > >     > Sugar-devel mailing list<br>
> > >     > [7]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > >     > [8]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > ><br>
> > >     --<br>
> > >     James Cameron<br>
> > >     [9]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> > ><br>
> > > References:<br>
> > ><br>
> > > [1] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > > [2] <a href="https://github.com/sugarlabs/mancala-activity" rel="noreferrer" target="_blank">https://github.com/sugarlabs/mancala-activity</a><br>
> > > [3] <a href="http://en.wikipedia.org/wiki/Mancala" rel="noreferrer" target="_blank">http://en.wikipedia.org/wiki/Mancala</a><br>
> > > [4] <a href="https://mancala.playdrift.com/" rel="noreferrer" target="_blank">https://mancala.playdrift.com/</a><br>
> > > [5] <a href="https://en.wikipedia.org/wiki/Mancala" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Mancala</a><br>
> > > [6] <a href="https://mancala.playdrift.com/" rel="noreferrer" target="_blank">https://mancala.playdrift.com/</a><br>
> > > [7] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> > > [8] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> > > [9] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> ><br>
> > --<br>
> > James Cameron<br>
> > <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> ><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200407/36d472d2/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200407/36d472d2/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<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>
<br>
<br>
------------------------------<br>
<br>
End of Sugar-devel Digest, Vol 138, Issue 8<br>
*******************************************<br>
</blockquote></div></div>