Hello , I went through this 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 this <https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md> tutorial using sugar-web of sugarlabs. Thank You On Wed, Apr 22, 2020 at 7:24 AM James Cameron <qu...@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; > > > 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; > https://github.com/llaske/sugarizer/pull/784 > > Please also watch the repositories you mentioned, and review pull > requests. > > 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] > https://github.com/ > > sugarlabs/sugar-web) and one of sugarizer([2]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] > 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] > sugar-devel-requ...@lists.sugarlabs.org> > > wrote: > > > > Send Sugar-devel mailing list submissions to > > [5]sugar-devel@lists.sugarlabs.org > > > > To subscribe or unsubscribe via the World Wide Web, visit > > [6]http://lists.sugarlabs.org/listinfo/sugar-devel > > or, via email, send a message with subject or body 'help' to > > [7]sugar-devel-requ...@lists.sugarlabs.org > > > > You can reach the person managing the list at > > [8]sugar-devel-ow...@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]lionel.la...@gmail.com> > > To: Sugar-dev Devel <[10]sugar-devel@lists.sugarlabs.org> > > Subject: Re: [Sugar-devel] New Activity Proposal > > Message-ID: > > <CAA0v29AUnOX04HME306toqvZ-u4nEd4_PfEaYgBLcCrj=[11] > > fs...@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]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]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] > 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]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] > sugar-devel-requ...@lists.sugarlabs.org> > > a > > écrit : > > > > > Date: Tue, 7 Apr 2020 13:14:28 +0530 > > > From: Abhishek Tanwar <[17]abhishektanwar...@gmail.com> > > > To: James Cameron <[18]qu...@laptop.org> > > > Cc: Sugar-dev Devel <[19]sugar-devel@lists.sugarlabs.org> > > > Subject: Re: [Sugar-devel] New Activity Proposal > > > Message-ID: > > > < > > > [20] > calhjuuh2vowxmwb4nmn9r8fuwofaassksuzfm22zge6kxha...@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] > 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]https://github.com/sugarlabs/sugar-web/issues/127 and > > > [23]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]qu...@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] > qu...@laptop.org> > > > wrote: > > > > > > > > > > We have a Sugar activity for Mancala, written in Python. > > > > > > > > > > [2][26]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]en.wikipedia.org/wiki/Mancala > > > > > > [2][4][28]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]https://en.wikipedia.org/wiki/Mancala > > > > > > [2] [6][30]https://mancala.playdrift.com/ > > > > > > > > > > > _______________________________________________ > > > > > > Sugar-devel mailing list > > > > > > [7][31]Sugar-devel@lists.sugarlabs.org > > > > > > [8][32]http://lists.sugarlabs.org/listinfo/sugar-devel > > > > > > > > > > -- > > > > > James Cameron > > > > > [9][33]http://quozl.netrek.org/ > > > > > > > > > > References: > > > > > > > > > > [1] mailto:[34]qu...@laptop.org > > > > > [2] [35]https://github.com/sugarlabs/mancala-activity > > > > > [3] [36]http://en.wikipedia.org/wiki/Mancala > > > > > [4] [37]https://mancala.playdrift.com/ > > > > > [5] [38]https://en.wikipedia.org/wiki/Mancala > > > > > [6] [39]https://mancala.playdrift.com/ > > > > > [7] mailto:[40]Sugar-devel@lists.sugarlabs.org > > > > > [8] [41]http://lists.sugarlabs.org/listinfo/sugar-devel > > > > > [9] [42]http://quozl.netrek.org/ > > > > > > > > -- > > > > James Cameron > > > > [43]http://quozl.netrek.org/ > > > > > > > -------------- next part -------------- > > > An HTML attachment was scrubbed... > > > > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: <[44] > http://lists.sugarlabs.org/archive/sugar-devel/attachments/ > > 20200407/36d472d2/attachment-0001.htm> > > > > ------------------------------ > > > > Subject: Digest Footer > > > > _______________________________________________ > > Sugar-devel mailing list > > [45]Sugar-devel@lists.sugarlabs.org > > [46]http://lists.sugarlabs.org/listinfo/sugar-devel > > > > ------------------------------ > > > > End of Sugar-devel Digest, Vol 138, Issue 8 > > ******************************************* > > > > References: > > > > [1] https://github.com/sugarlabs/sugar-web > > [2] https://github.com/llaske/sugar-web > > [3] > https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md > > [4] mailto:sugar-devel-requ...@lists.sugarlabs.org > > [5] mailto:sugar-devel@lists.sugarlabs.org > > [6] http://lists.sugarlabs.org/listinfo/sugar-devel > > [7] mailto:sugar-devel-requ...@lists.sugarlabs.org > > [8] mailto:sugar-devel-ow...@lists.sugarlabs.org > > [9] mailto:lionel.la...@gmail.com > > [10] mailto:sugar-devel@lists.sugarlabs.org > > [11] mailto:fs...@mail.gmail.com > > [12] https://github.com/llaske/sugarizer/blob/dev/docs/credits.md > > [13] > https://github.com/llaske/sugarizer/tree/dev/activities/ActivityTemplate > > [14] > https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md#ready-to-release > > [15] https://github.com/sugarlabs/sugar-web/pull/133 > > [16] mailto:sugar-devel-requ...@lists.sugarlabs.org > > [17] mailto:abhishektanwar...@gmail.com > > [18] mailto:qu...@laptop.org > > [19] mailto:sugar-devel@lists.sugarlabs.org > > [20] mailto: > calhjuuh2vowxmwb4nmn9r8fuwofaassksuzfm22zge6kxha...@mail.gmail.com > > [21] https://github.com/llaske/sugarizer/blob/master/docs/tutorial.md > > [22] https://github.com/sugarlabs/sugar-web/issues/127 > > [23] https://github.com/sugarlabs/sugar-web/pull/133 > > [24] mailto:qu...@laptop.org > > [25] mailto:qu...@laptop.org > > [26] https://github.com/sugarlabs/mancala-activity > > [27] http://en.wikipedia.org/wiki/Mancala > > [28] https://mancala.playdrift.com/ > > [29] https://en.wikipedia.org/wiki/Mancala > > [30] https://mancala.playdrift.com/ > > [31] mailto:Sugar-devel@lists.sugarlabs.org > > [32] http://lists.sugarlabs.org/listinfo/sugar-devel > > [33] http://quozl.netrek.org/ > > [34] mailto:qu...@laptop.org > > [35] https://github.com/sugarlabs/mancala-activity > > [36] http://en.wikipedia.org/wiki/Mancala > > [37] https://mancala.playdrift.com/ > > [38] https://en.wikipedia.org/wiki/Mancala > > [39] https://mancala.playdrift.com/ > > [40] mailto:Sugar-devel@lists.sugarlabs.org > > [41] http://lists.sugarlabs.org/listinfo/sugar-devel > > [42] http://quozl.netrek.org/ > > [43] http://quozl.netrek.org/ > > [44] > http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200407/36d472d2/attachment-0001.htm > > [45] mailto:Sugar-devel@lists.sugarlabs.org > > [46] http://lists.sugarlabs.org/listinfo/sugar-devel > > -- > James Cameron > http://quozl.netrek.org/ >
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel