[Sugar-devel] New Activity Proposal

Abhishek Tanwar abhishektanwar084 at gmail.com
Tue Apr 21 12:37:56 EDT 2020


Hello,
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.

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.

I have two understanding of this task.
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
Firstly,
I can find two sugar-web repositories one of sugar labs (
https://github.com/sugarlabs/sugar-web) and one of sugarizer(
https://github.com/llaske/sugar-web) . What I understand is to bring the
sugar web repository of sugar labs to the save level as that of sugarizer .
Am I correct?

Secondly, here
https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md 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.

Lastly, what would be the basis to update the sugar-web of sugar labs I
mean what would be the basis of test?


Thank You
On Tue, Apr 7, 2020 at 9:30 PM <sugar-devel-request at lists.sugarlabs.org>
wrote:

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


More information about the Sugar-devel mailing list