[Sugar-devel] List of activities on ASLO

Tony Anderson tony_anderson at usa.net
Sat Mar 12 01:13:06 EST 2016


Hi, Chris

I put together a process to do that some months ago. I can give you a
working part of it which will give you two critical items:
the title of the activity and the addon where it is found.

First run the collector.py. This will access activities.sugarlabs.org
and download six web pages giving 100 activities each (except the last),
for a total
of 567 activities. This will appear as aslo1, ..., aslo6. Next run
scraper.py. This uses beautifulsoup to scrape the six web pages giving
six collections,
collection1, ..., collection6. Each line gives the addon and title of an
activity. The scraper.py program does not access the network. You may
need to install
beautifulsoup to run the scraper.py program.

The original collected more information from each activity with a goal
of building a csv file that could be used to record information like the
size of theactivity, the most recent version, whether po is supported, whether
gtk+3 is supported, whether it is a sugar-web or python activity, and
whether it usesgstreamer 0.1 or 1.0 and so on.

I'll try to get that put back together. The link to the new github location may not be available. Walter insists that
it belongs in activity.info and it apparently is being added to some newer updates. My original effort included unzipping each activity to collect the icon and so it could
collect the github link as well.

Tony

On 03/12/2016 10:22 AM, Chris Leonard wrote:
> Can someone with systematic access to ASLO do a data dump for me?  Any
> format will do (txt, csv, xls, ods, etc.)
>
> I am interested in reviewing all known activities (at least those in
> ASLO) for 1i8n/L10n and investigating further to see if we can
> implement i18n/L10n where it does not exist.  I would also like to
> check on presence of repo links. I know this was only recently
> requested, but I might as well check on it as I'll need it for
> i18n/L10n follow up.
>
> I've been updating:
>
> https://wiki.sugarlabs.org/go/Translation_Team/Pootle_Projects/Repositories
>
> data fields of interest
>
> Activity name
> Activity number
> Activity version (latest)
> Author(s) name
> Author(s) number
> Repo link (if available)
>
> Thanks in advance for any assistance.
>
> cjl
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel







-------------- next part --------------
A non-text attachment was scrubbed...
Name: collector.py
Type: text/x-python
Size: 1484 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160312/5bd08a84/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scraper.py
Type: text/x-python
Size: 1175 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160312/5bd08a84/attachment-0001.py>


More information about the Sugar-devel mailing list