[Sugar-devel] What are all activity bundle sources & how to interpret differect exec values in activity.info files
quozl at laptop.org
Thu Apr 23 02:02:46 EDT 2020
There is no reliable way to prove a bundle does not contain Python 2,
indicate a probability, it is not accurate.
I don't think we want any automated process for generating the static
app store from any of our existing bundle collections. We have no
Python 3 collection yet, because we have no app store yet.
Your app store generator ought to use as input a bundle collection
specified as a filesystem directory. One of the minimum requirements
 is to support activity bundles uploaded via SSH; which means they
could be used either as a filesystem directory when the generator runs
on the downloads web server, or as an HTTP URL which uses requests to
download the collection, or a set of URLs.
I recommend against any _execution_ of the activity bundles, because
of the security risks, so please don't use setup.py.
On Thu, Apr 23, 2020 at 07:39:38AM +0200, sugar at radii.dev wrote:
> Thanks James. I knew yesterday I saw latest bundle on http://
> activities.sugarlabs.org/activities to be added last month. But couldn't find
> it today and assumed it to be my misunderstanding. I see that parent directory
> may show last modified data older than sub-directory as the case in http://
> mirror.aarnet.edu.au/pub/sugarlabs/sources/ .
> Many activities in http://activities.sugarlabs.org/activities/?C=M;O=D do
> not have exec in their activity.info but by inspecting their shebang it can be
> determined that these are python2 activities. But some such as jukebox have
> neither of these. Though in jukebox repository, from branches since sugar-0.94
> it is specified as either sugar-activity or sugar-activity3.
> In summary, I am looking for pattern to determine if an activity bundle is
> python2, python3, js (also if meant for sugarizer only or sugar compatible) or
> something else + sources from where I can fetch bundles (mainly python3). This
> is needed for automating entire process of generating static app store.
> Difficulty I am facing:
> 1) some have non-standard exec
> 2) some (in link you have mentioned) have no exec
> 3) where to find all python3 activity bundles . I will try executing 'setup.py
> dist_xo' in all sources found in http://mirror.aarnet.edu.au/pub/sugarlabs/
> sources/ where setup.py is available in source tarball. Is this the way to go?
> Apr 23, 2020, 14:38 by quozl at laptop.org:
> Ah, I've found what you mean.
> When a directory is viewed, the date of last modification is the date
> of last insertion to or deletion from the directory.
> It is easy to misinterpret.
> On Thu, Apr 23, 2020 at 02:26:18PM +1000, James Cameron wrote:
> Thanks for asking.
> Yes, those resources are updated regularly. Each time an activity or
> component is released. The date you saw for December 2018 may be an
> interpretation that does not fit the facts.
> http://download.sugarlabs.org/activities/?C=M;O=D is the same as
> http://activities.sugarlabs.org/activities/?C=M;O=D and both show
> updates to 25th March.
> http://mirror.aarnet.edu.au/pub/sugarlabs/ is an rsync mirror of
> http://mirror.aarnet.edu.au/pub/sugarlabs/sources/honey/?C=M;O=D shows
> updates to 21st April.
> shows updates to 22nd April.
> No, there is no single source of all latest activity bundles or all
> sources. I don't think such a source is needed. I also release
> Python 2 latest activity bundles, and again, I don't have a single
> Yes, Tony's repository has not changed, does not include Python 3
> activities, and does include different exec values in bundles. It may
> also include bundles that are not part of Sugar Labs, for various
> On Thu, Apr 23, 2020 at 04:47:14AM +0200, sugar at radii.dev wrote:
> > Is download.sugarlabs.org & mirror.aarnet.edu.au/pub/sugarlabs/
> > regularly? I found latest update on these on 3rd of December 2018. I
> think 
> > activities.sugarlabs.org/activities is only for python2 activities.
> Where can I
> > find bundles of all activities (primarily python3). Currently I am
> using Tony
> > Anderson 's app store repo as source. Latest activity bundle added
> to it was
> > on 14th July 2018 and no bundle of them is python3 activity i.e.
> 'exec =
> > "sugar-activity3"' . Can anyone please help me identify a single
> source of all
> > latest activity bundles or all sources, how frequently they are
> updates and
> > which one contains latest for which 'exec'/language/platform.
> > Also there are 38 different execs in bundles in Tony's repo which
> > sugar-activity-web
> > sugar-activity
> > Breakout.sh
> > etoys-activity
> > runevil
> > riverhexactivity-activity
> > EtoysBasedActivityStart.sh
> > sugarGedit
> > geogebra
> > sugarGnumeric
> > kaleidoscope.sh
> > ./firefox
> > sugarMinecraft
> > minivmac-activity
> > quake-activity
> > launcher
> > StackAttack.sh
> > activity/activity
> > launch
> > ./google-chrome
> > activityname.sh
> > ./firefox-activity.py
> > sugarGTranslator
> > sugaridle
> > jpeces
> > sugar-launch
> > sugarOggConvert
> > sugarOOo4Kids
> > scribble_start
> > ./Ejecutar.sh
> > sugarTotem
> > tuxmath-activity
> > activity/tuxpaint
> > usb-creator-sugar
> > sugarVascolet
> > ./ldshim.py
> > sugarXa
> > bin/activity.sh
> > Please help me in understanding how I should interpret them and
> determine their
> compatibility with
> > sugar & sugarizer.
> > Regards,
> > Manish
> > References:
> >  https://download.sugarlabs.org/?C=M;O=D
> >  https://mirror.aarnet.edu.au/pub/sugarlabs/?C=M;O=D
> >  https://activities.sugarlabs.org/activities/?C=M;O=D
> >  https://github.com/tony37/Sugaractivities/tree/master/activities
> > _______________________________________________
> > Sugar-devel mailing list
> > Sugar-devel at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> James Cameron
> James Cameron
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
>  http://activities.sugarlabs.org/activities
>  http://mirror.aarnet.edu.au/pub/sugarlabs/sources/
>  http://activities.sugarlabs.org/activities/?C=M;O=D
>  http://mirror.aarnet.edu.au/pub/sugarlabs/sources/sucrose/fructose/Browse/?C=M;O=D
More information about the Sugar-devel