[Sugar-devel] New Activity Proposal
James Cameron
quozl at laptop.org
Wed Apr 22 18:16:52 EDT 2020
Sorry, I don't understand what you are missing. Why can't you find a
way to run this activity using sugar-web of sugarlabs?
On Thu, Apr 23, 2020 at 03:43:15AM +0530, Abhishek Tanwar wrote:
> Hello ,
>
> I went through this [1]https://github.com/sugarlabs/sugar-docs/blob/master/src/
> web-activity.md and successfully run the basic activity on sugar desktop . But
> since the ActivityTemplate folder was copied from sugarizer repository , the
> activity ran using the sugar-web of sugarizer although the stop button in the
> frame didn't work (I saw this issue github) .
>
> I am not able to find the way to run this activity using the sugar-web of
> sugarlabs so that I can find the error and compare two repositories(sugar-web
> of sugarlabs with that of sugar-web of sugarizer).
> If you could help me to run the activity in [2]this tutorial using sugar-web of
> sugarlabs.
>
> Thank You
>
> On Wed, Apr 22, 2020 at 7:24 AM James Cameron <[3]quozl at laptop.org> wrote:
>
> You asked if the sugar-web repository of Sugar Labs should be the same
> as that of Lionel, or the files inside Sugarizer.
>
> Yes, that would be ideal. But it is not enough just to change the
> files. The activities must use the files and must also work properly
> on Sugarizer and Sugar.
>
> You asked what the basis of testing an activity would be. We have a
> checklist in our guide to contributing;
>
> [4]https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#
> testing
>
> The environment for testing would be Sugarizer and Sugar. If you have
> not yet used and analysed these environments, please do so.
>
> An example of an activity being developed now which has been tested in
> both Sugarizer and Sugar, despite not being finished;
> [5]https://github.com/llaske/sugarizer/pull/784
>
> Please also watch the repositories you mentioned, and review pull
> requests.
> [6]https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#
> guide-for-reviewers
>
> On Tue, Apr 21, 2020 at 10:07:56PM +0530, Abhishek Tanwar wrote:
> > 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 ([1][7]https://
> github.com/
> > sugarlabs/sugar-web) and one of sugarizer([2][8]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 [3][9]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 <[4][10]
> sugar-devel-request at lists.sugarlabs.org>
> > wrote:
> >
> > Send Sugar-devel mailing list submissions to
> > [5][11]sugar-devel at lists.sugarlabs.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > [6][12]http://lists.sugarlabs.org/listinfo/sugar-devel
> > or, via email, send a message with subject or body 'help' to
> > [7][13]sugar-devel-request at lists.sugarlabs.org
> >
> > You can reach the person managing the list at
> > [8][14]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é <[9][15]lionel.laske at gmail.com>
> > To: Sugar-dev Devel <[10][16]sugar-devel at lists.sugarlabs.org>
> > Subject: Re: [Sugar-devel] New Activity Proposal
> > Message-ID:
> > <CAA0v29AUnOX04HME306toqvZ-u4nEd4_PfEaYgBLcCrj=[11]
> > [17]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:
> > [12][18]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 (
> > [13][19]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:
> > [14][20]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: [15][21]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, <[16][22]
> sugar-devel-request at lists.sugarlabs.org>
> > a
> > écrit :
> >
> > > Date: Tue, 7 Apr 2020 13:14:28 +0530
> > > From: Abhishek Tanwar <[17][23]abhishektanwar084 at gmail.com>
> > > To: James Cameron <[18][24]quozl at laptop.org>
> > > Cc: Sugar-dev Devel <[19][25]sugar-devel at lists.sugarlabs.org>
> > > Subject: Re: [Sugar-devel] New Activity Proposal
> > > Message-ID:
> > > <
> > > [20][26]
> 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 [21][27]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
> > > [22][28]https://github.com/sugarlabs/sugar-web/issues/127 and
> > > [23][29]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 <[24][30]
> 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][25][31]
> quozl at laptop.org>
> > > wrote:
> > > > >
> > > > > We have a Sugar activity for Mancala, written in Python.
> > > > >
> > > > > [2][26][32]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][27][33]en.wikipedia.org/wiki/Mancala
> > > > > > [2][4][28][34]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][29][35]https://en.wikipedia.org/wiki/Mancala
> > > > > > [2] [6][30][36]https://mancala.playdrift.com/
> > > > >
> > > > > > _______________________________________________
> > > > > > Sugar-devel mailing list
> > > > > > [7][31][37]Sugar-devel at lists.sugarlabs.org
> > > > > > [8][32][38]http://lists.sugarlabs.org/listinfo/
> sugar-devel
> > > > >
> > > > > --
> > > > > James Cameron
> > > > > [9][33][39]http://quozl.netrek.org/
> > > > >
> > > > > References:
> > > > >
> > > > > [1] mailto:[34][40]quozl at laptop.org
> > > > > [2] [35][41]https://github.com/sugarlabs/mancala-activity
> > > > > [3] [36][42]http://en.wikipedia.org/wiki/Mancala
> > > > > [4] [37][43]https://mancala.playdrift.com/
> > > > > [5] [38][44]https://en.wikipedia.org/wiki/Mancala
> > > > > [6] [39][45]https://mancala.playdrift.com/
> > > > > [7] mailto:[40][46]Sugar-devel at lists.sugarlabs.org
> > > > > [8] [41][47]http://lists.sugarlabs.org/listinfo/sugar-devel
> > > > > [9] [42][48]http://quozl.netrek.org/
> > > >
> > > > --
> > > > James Cameron
> > > > [43][49]http://quozl.netrek.org/
> > > >
> > > -------------- next part --------------
> > > An HTML attachment was scrubbed...
> > >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <[44][50]http://lists.sugarlabs.org/archive/sugar-devel/
> attachments/
> > 20200407/36d472d2/attachment-0001.htm>
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > Sugar-devel mailing list
> > [45][51]Sugar-devel at lists.sugarlabs.org
> > [46][52]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > ------------------------------
> >
> > End of Sugar-devel Digest, Vol 138, Issue 8
> > *******************************************
> >
> > References:
> >
> > [1] [53]https://github.com/sugarlabs/sugar-web
> > [2] [54]https://github.com/llaske/sugar-web
> > [3] [55]https://github.com/sugarlabs/sugar-docs/blob/master/src/
> web-activity.md
> > [4] mailto:[56]sugar-devel-request at lists.sugarlabs.org
> > [5] mailto:[57]sugar-devel at lists.sugarlabs.org
> > [6] [58]http://lists.sugarlabs.org/listinfo/sugar-devel
> > [7] mailto:[59]sugar-devel-request at lists.sugarlabs.org
> > [8] mailto:[60]sugar-devel-owner at lists.sugarlabs.org
> > [9] mailto:[61]lionel.laske at gmail.com
> > [10] mailto:[62]sugar-devel at lists.sugarlabs.org
> > [11] mailto:[63]fsuJg at mail.gmail.com
> > [12] [64]https://github.com/llaske/sugarizer/blob/dev/docs/credits.md
> > [13] [65]https://github.com/llaske/sugarizer/tree/dev/activities/
> ActivityTemplate
> > [14] [66]https://github.com/sugarlabs/sugar-docs/blob/master/src/
> web-activity.md#ready-to-release
> > [15] [67]https://github.com/sugarlabs/sugar-web/pull/133
> > [16] mailto:[68]sugar-devel-request at lists.sugarlabs.org
> > [17] mailto:[69]abhishektanwar084 at gmail.com
> > [18] mailto:[70]quozl at laptop.org
> > [19] mailto:[71]sugar-devel at lists.sugarlabs.org
> > [20] mailto:[72]
> CALhjuuh2VOWxmwB4Nmn9R8fUwOfAASSkSUZfm22Zge6kXhax2A at mail.gmail.com
> > [21] [73]https://github.com/llaske/sugarizer/blob/master/docs/tutorial.md
> > [22] [74]https://github.com/sugarlabs/sugar-web/issues/127
> > [23] [75]https://github.com/sugarlabs/sugar-web/pull/133
> > [24] mailto:[76]quozl at laptop.org
> > [25] mailto:[77]quozl at laptop.org
> > [26] [78]https://github.com/sugarlabs/mancala-activity
> > [27] [79]http://en.wikipedia.org/wiki/Mancala
> > [28] [80]https://mancala.playdrift.com/
> > [29] [81]https://en.wikipedia.org/wiki/Mancala
> > [30] [82]https://mancala.playdrift.com/
> > [31] mailto:[83]Sugar-devel at lists.sugarlabs.org
> > [32] [84]http://lists.sugarlabs.org/listinfo/sugar-devel
> > [33] [85]http://quozl.netrek.org/
> > [34] mailto:[86]quozl at laptop.org
> > [35] [87]https://github.com/sugarlabs/mancala-activity
> > [36] [88]http://en.wikipedia.org/wiki/Mancala
> > [37] [89]https://mancala.playdrift.com/
> > [38] [90]https://en.wikipedia.org/wiki/Mancala
> > [39] [91]https://mancala.playdrift.com/
> > [40] mailto:[92]Sugar-devel at lists.sugarlabs.org
> > [41] [93]http://lists.sugarlabs.org/listinfo/sugar-devel
> > [42] [94]http://quozl.netrek.org/
> > [43] [95]http://quozl.netrek.org/
> > [44] [96]http://lists.sugarlabs.org/archive/sugar-devel/attachments/
> 20200407/36d472d2/attachment-0001.htm
> > [45] mailto:[97]Sugar-devel at lists.sugarlabs.org
> > [46] [98]http://lists.sugarlabs.org/listinfo/sugar-devel
>
> --
> James Cameron
> [99]http://quozl.netrek.org/
>
> References:
>
> [1] https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md
> [2] https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md
> [3] mailto:quozl at laptop.org
> [4] https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#testing
> [5] https://github.com/llaske/sugarizer/pull/784
> [6] https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#guide-for-reviewers
> [7] https://github.com/
> [8] https://github.com/llaske/
> [9] https://github.com/sugarlabs/sugar-docs/blob/master/src/
> [10] mailto:sugar-devel-request at lists.sugarlabs.org
> [11] mailto:sugar-devel at lists.sugarlabs.org
> [12] http://lists.sugarlabs.org/listinfo/sugar-devel
> [13] mailto:sugar-devel-request at lists.sugarlabs.org
> [14] mailto:sugar-devel-owner at lists.sugarlabs.org
> [15] mailto:lionel.laske at gmail.com
> [16] mailto:sugar-devel at lists.sugarlabs.org
> [17] mailto:fsuJg at mail.gmail.com
> [18] https://github.com/llaske/sugarizer/blob/dev/docs/credits.md
> [19] https://github.com/llaske/sugarizer/tree/dev/activities/
> [20] https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md
> [21] https://github.com/sugarlabs/sugar-web/pull/133
> [22] mailto:sugar-devel-request at lists.sugarlabs.org
> [23] mailto:abhishektanwar084 at gmail.com
> [24] mailto:quozl at laptop.org
> [25] mailto:sugar-devel at lists.sugarlabs.org
> [26] mailto:CALhjuuh2VOWxmwB4Nmn9R8fUwOfAASSkSUZfm22Zge6kXhax2A at mail.gmail.com
> [27] https://github.com/llaske/sugarizer/blob/master/docs/tutorial.md
> [28] https://github.com/sugarlabs/sugar-web/issues/127
> [29] https://github.com/sugarlabs/sugar-web/pull/133
> [30] mailto:quozl at laptop.org
> [31] mailto:quozl at laptop.org
> [32] https://github.com/sugarlabs/mancala-activity
> [33] http://en.wikipedia.org/wiki/Mancala
> [34] https://mancala.playdrift.com/
> [35] https://en.wikipedia.org/wiki/Mancala
> [36] https://mancala.playdrift.com/
> [37] mailto:Sugar-devel at lists.sugarlabs.org
> [38] http://lists.sugarlabs.org/listinfo/sugar-devel
> [39] http://quozl.netrek.org/
> [40] mailto:quozl at laptop.org
> [41] https://github.com/sugarlabs/mancala-activity
> [42] http://en.wikipedia.org/wiki/Mancala
> [43] https://mancala.playdrift.com/
> [44] https://en.wikipedia.org/wiki/Mancala
> [45] https://mancala.playdrift.com/
> [46] mailto:Sugar-devel at lists.sugarlabs.org
> [47] http://lists.sugarlabs.org/listinfo/sugar-devel
> [48] http://quozl.netrek.org/
> [49] http://quozl.netrek.org/
> [50] http://lists.sugarlabs.org/archive/sugar-devel/attachments/
> [51] mailto:Sugar-devel at lists.sugarlabs.org
> [52] http://lists.sugarlabs.org/listinfo/sugar-devel
> [53] https://github.com/sugarlabs/sugar-web
> [54] https://github.com/llaske/sugar-web
> [55] https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md
> [56] mailto:sugar-devel-request at lists.sugarlabs.org
> [57] mailto:sugar-devel at lists.sugarlabs.org
> [58] http://lists.sugarlabs.org/listinfo/sugar-devel
> [59] mailto:sugar-devel-request at lists.sugarlabs.org
> [60] mailto:sugar-devel-owner at lists.sugarlabs.org
> [61] mailto:lionel.laske at gmail.com
> [62] mailto:sugar-devel at lists.sugarlabs.org
> [63] mailto:fsuJg at mail.gmail.com
> [64] https://github.com/llaske/sugarizer/blob/dev/docs/credits.md
> [65] https://github.com/llaske/sugarizer/tree/dev/activities/ActivityTemplate
> [66] https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md#ready-to-release
> [67] https://github.com/sugarlabs/sugar-web/pull/133
> [68] mailto:sugar-devel-request at lists.sugarlabs.org
> [69] mailto:abhishektanwar084 at gmail.com
> [70] mailto:quozl at laptop.org
> [71] mailto:sugar-devel at lists.sugarlabs.org
> [72] mailto:CALhjuuh2VOWxmwB4Nmn9R8fUwOfAASSkSUZfm22Zge6kXhax2A at mail.gmail.com
> [73] https://github.com/llaske/sugarizer/blob/master/docs/tutorial.md
> [74] https://github.com/sugarlabs/sugar-web/issues/127
> [75] https://github.com/sugarlabs/sugar-web/pull/133
> [76] mailto:quozl at laptop.org
> [77] mailto:quozl at laptop.org
> [78] https://github.com/sugarlabs/mancala-activity
> [79] http://en.wikipedia.org/wiki/Mancala
> [80] https://mancala.playdrift.com/
> [81] https://en.wikipedia.org/wiki/Mancala
> [82] https://mancala.playdrift.com/
> [83] mailto:Sugar-devel at lists.sugarlabs.org
> [84] http://lists.sugarlabs.org/listinfo/sugar-devel
> [85] http://quozl.netrek.org/
> [86] mailto:quozl at laptop.org
> [87] https://github.com/sugarlabs/mancala-activity
> [88] http://en.wikipedia.org/wiki/Mancala
> [89] https://mancala.playdrift.com/
> [90] https://en.wikipedia.org/wiki/Mancala
> [91] https://mancala.playdrift.com/
> [92] mailto:Sugar-devel at lists.sugarlabs.org
> [93] http://lists.sugarlabs.org/listinfo/sugar-devel
> [94] http://quozl.netrek.org/
> [95] http://quozl.netrek.org/
> [96] http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200407/36d472d2/attachment-0001.htm
> [97] mailto:Sugar-devel at lists.sugarlabs.org
> [98] http://lists.sugarlabs.org/listinfo/sugar-devel
> [99] http://quozl.netrek.org/
--
James Cameron
http://quozl.netrek.org/
More information about the Sugar-devel
mailing list