<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Apparently, I misspoke. The problem I was referring to was access to
ASLO not github. Currently, as you point out, developers only have
ability to update their own activities. The GitHub system seems more
flexible.<br>
<br>
Alphabetizing works the same only if the naming is uniform.
Currently most of the activities added by the GCI contributors are
some-activity not activity-some.<br>
<br>
I agree on separating the core repos from the activity repos.
Ignacio suggested <a class="moz-txt-link-freetext" href="http://github.com/sugar-activities">http://github.com/sugar-activities</a> as the
organization for the activities. This would facilitate release of
Sugar limiting it to the eight 'unerasable' activities: Browse,
Record, Log, Terminal, Chat, Jukebox, Write, and ImageViewer. Other
activities could be added to Sugar as desired by deployers (such as
James Cameron). Another benefit to this approach is that activity
developers do not need rights to the Sugarlabs repositories. <br>
<br>
Having separate repositories for gtk2 and gtk3 is would be justified
if they require separate maintenance. The other activities more
ported to gtk3 with incremented version numbers. This seems
reasonable since the intent was to deliver the same functionality
and to be the current version of that activity.<br>
<br>
Tony<br>
<br>
<div class="moz-cite-prefix">On 04/21/2017 08:10 PM, Walter Bender
wrote:<br>
</div>
<blockquote
cite="mid:CADf7C8v4pNC0VujYF=uu5LMzEVooe1=e_6YCGWmu+zsQeSWJZA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div dir="auto"><br>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On Apr 20, 2017 10:45 PM, "Tony
Anderson" <<a moz-do-not-send="true"
href="mailto:tony_anderson@usa.net" target="_blank">tony_anderson@usa.net</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">I wish it were so easy.<br>
<br>
Currently turtleblocks has been ported to the github
repository as activity-turtleart-gtk2 and
activity-turtleart-gtk3 (no activity-turtleart-web so
far).<br>
Personally, I would prefer to see this as turtleblocks
(turtleblocks-activity). Putting activity after the name
helps with alphabetizing. It seems that we have had the
confusion between turtleblocks and turtleart forever. My
current understanding is that there is one activity named
turtleblocks and no second simplified version named
turtleart.<br>
</blockquote>
<div><br>
</div>
<div>I will change the name of the TA repository... it has
been on my to-do list for a while. (I created it at a time
when we didn't yet settle on activity-activity name vs
activity name-activity. Both would sort alphabetically the
same, FWIW. And the former schema, which I was advocating
for, makes it easier to separate out the core Sugar repos.
But I defer to my fellow maintainers.)</div>
<div><br>
</div>
<div>The bigger issue with Ignacio's suggestion is that we
will lose all of the git history if we simply make repos
from the .xo bundles. This will be a nightmare going
forward. We really need to find the source repos if at all
possible. </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
I gather there is a permissions issue in creating new
repositories that requires this procedure.<br>
</blockquote>
<div><br>
</div>
<div>There are about 20 developers who have permission to
directly create repos in the sugarlabs project on github.
Not sure why this is a problem.</div>
<div><br>
</div>
<div>-walter </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
Tony<br>
<br>
On 04/21/2017 09:51 AM, Ignacio Rodríguez wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Hi everyone.<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
It is a one-time effort per activity to "transfer" it
to sugarlabs.<br>
</blockquote>
I suggest creating a script to download all XO files
from ASLO and<br>
create the github repos under <a moz-do-not-send="true"
href="http://github.com/sugarlabs" rel="noreferrer"
target="_blank">github.com/sugarlabs</a>, ie:<br>
turtleblocks-activity<br>
<br>
or maybe turtleblocks-aslo this way we can move all
activities to<br>
GitHub, we can later contact mantainers or so.<br>
<br>
(I´m not following the whole thread, just saying this).<br>
<br>
Also, not sure if there is a limit of repositories by
organization<br>
<br>
<br>
Ignacio<br>
<br>
On 4/20/17, Tony Anderson <<a moz-do-not-send="true"
href="mailto:tony_anderson@usa.net" target="_blank">tony_anderson@usa.net</a>>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Agreed. I copy the repository from
some-activity-master to<br>
some.activity in /home/olpc/Activities on an XO. It
then runs in Sugar<br>
as an activity.<br>
<br>
I assume setup.py is the standard way to make a bundle
and includes<br>
various checks. At present it checks that the
repository is git enabled<br>
apparently to replace the need for a manifest. This
could be a good<br>
place to put other checks, e.g. a complete
activity,info.<br>
<br>
Tony<br>
<br>
On 04/21/2017 08:10 AM, Walter Bender wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
On Thu, Apr 20, 2017 at 8:07 PM, Tony Anderson <<a
moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a></a><br>
<mailto:<a moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank">tony_anderson@usa.net</a>><wbr>>
wrote:<br>
<br>
Hi Walter,<br>
<br>
The git repo is not an xo bundle. The bundle
needs to be built by<br>
setup.py. Attempts to run the repo return an
error: activity<br>
directory name must end in activity.<br>
<br>
<br>
You can name the git repo anything you want when you
clone... I do it<br>
all the time to save the trouble of making the
bundle each time when<br>
debugging. What am I missing?<br>
<br>
<br>
Apparently developers have permission to add an
xo bundle, but do<br>
not have permission to update ASLO so that it<br>
shows that bundle.<br>
<br>
Tony<br>
<br>
On 04/21/2017 07:42 AM, Walter Bender wrote:<br>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
On Thu, Apr 20, 2017 at 7:35 PM, Tony
Anderson<br>
<<a moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank">tony_anderson@usa.net</a>
<mailto:<a moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank">tony_anderson@usa.net</a>><wbr>>
wrote:<br>
<br>
Hi, Walter<br>
<br>
It is wonderful to see a discussion on
technical matters<br>
concerning Sugar.<br>
<br>
Assuming we plan to handle development
and maintenance of<br>
activities through GitHub, then the
'publishing' of an<br>
activity should be a simple copy of the
xo bundle to<br>
<a moz-do-not-send="true"
href="http://download.sugarlabs.org/activities"
rel="noreferrer" target="_blank">download.sugarlabs.org/activi<wbr>ties</a><br>
<<a moz-do-not-send="true"
href="http://download.sugarlabs.org/activities"
rel="noreferrer" target="_blank">http://download.sugarlabs.or<wbr>g/activities</a>>
and an update so<br>
that version is the one shown by ASLO.
The developer hub and<br>
its authentication would no longer be
needed.<br>
<br>
For the activities not now in GitHub, as
I understand it, the<br>
activity should first be copied to a
personal repository on<br>
github and then<br>
the systems mailing list be notified to
make the transfer.<br>
Your steps 2-4 should be done before the
transfer.<br>
<br>
The word tedious applies also to the
process of testing the<br>
activities.<br>
<br>
1. Download the activity zip file from
GitHub (made necessary<br>
as a download from ASLO was often not the
right version).<br>
2. Use setup.py to generate the xo bundle
(python setup.py<br>
dist_xo).<br>
3. Some activities did not have a
setup.py or it failed. In<br>
this case cp -r some-activity-master<br>
/home/tony/Activities/<a
moz-do-not-send="true" href="http://some.ac"
target="_blank">some.ac</a><wbr>tivity<br>
<br>
<br>
Why not just download the git repo directly
into ~/Activities?<br>
That should work.<br>
<br>
<br>
4. Run the activity<br>
5. If failed to start, debug with the log<br>
6. If possible fix, and run again<br>
7. Go to GitHub and post issues reporting
the problems<br>
<br>
I suspect this could be automated by a
python script assuming<br>
that an activity which starts
successfully is working. Such a<br>
script could 'lint' check the activity
and <a moz-do-not-send="true"
href="http://activity.info" rel="noreferrer"
target="_blank">activity.info</a><br>
<<a moz-do-not-send="true"
href="http://activity.info" rel="noreferrer"
target="_blank">http://activity.info</a>> to
see that it meets our standards.<br>
One problem will be to arrange tests on
four models of XO<br>
plus any other supported platforms
(Ubuntu, RPi, ...).<br>
<br>
Tony<br>
<br>
<br>
<br>
On 04/20/2017 08:22 PM, Walter Bender
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
On Thu, Apr 20, 2017 at 3:45 AM, Tony
Anderson<br>
<<a moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank">tony_anderson@usa.net</a>
<mailto:<a moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank">tony_anderson@usa.net</a>><wbr>>
wrote:<br>
<br>
Hi, Walter<br>
<br>
I am new to this. I am registered
as a member. However,<br>
it may take an 'owner'. I assume
that the process you<br>
describe is how we expect our users
to submit new<br>
activities. However, this may
become a distraction for<br>
someone to keep having to move
activities to Sugarlabs.<br>
<br>
<br>
It is a one-time effort per activity to
"transfer" it to<br>
sugarlabs.<br>
<br>
What is tedious the process I am going
through right now to<br>
just update the version numbers of an
activity:<br>
<br>
1. clone the activity<br>
2. update the version number<br>
3. update NEWS with all of the commit
info since the last<br>
version update<br>
4. often it is necessary to update the
repo path as it was<br>
not changed when the activity was
transfered<br>
5. make a PR<br>
6, wait for someone to merge the PR<br>
7. once the PR is merged, pull the
updated repo<br>
8. use setup.py to create new .xo and
.tar bundles<br>
<br>
Here is where things break down:<br>
<br>
9. use admin privileges on ASLO to add
myself to the activity<br>
<br>
10. upload a new version of the
activity<br>
11. scp the tar file to downloads<br>
<br>
And here:<br>
<br>
12. add a tag with the new version
number to the repo on<br>
GH/sugarlabs<br>
<br>
Would be great to have some scripts
that do most of 1-8.<br>
Not sure about how to handle 9
properly.<br>
Would be great to automate 10-11.<br>
Not sure the proper protocol for 12.<br>
<br>
Finally, what is the protocol for
renaming repos in<br>
GH/sugarlabs ? I renamed portfolio to
portfolio-activity for<br>
consistency. Lots of other activities
should be renamed. But<br>
I don't know how to do except
unilaterally,<br>
<br>
regards.<br>
<br>
-walter<br>
<br>
<br>
<br>
Tony<br>
<br>
On 04/20/2017 09:26 AM, Walter
Bender wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
On Wed, Apr 19, 2017 at 9:09 PM,
Tony Anderson<br>
<<a moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank">tony_anderson@usa.net</a>
<mailto:<a moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank">tony_anderson@usa.net</a>><wbr>><br>
wrote:<br>
<br>
I get the following messages
when trying to create<br>
a new repository in
sugarlabs:<br>
<br>
You don’t appear to have
permission to create<br>
repositories for this
organization. Sorry about that.<br>
<br>
<br>
That is by design. Only members
can create repositories<br>
on the project.<br>
<br>
Quoting from<br>
<br>
<a moz-do-not-send="true"
href="https://github.com/sugarlabs/sugar-docs/blob/master/contributing.md"
rel="noreferrer" target="_blank">https://github.com/sugarlabs/s<wbr>ugar-docs/blob/master/contribu<wbr>ting.md</a><br>
<<a moz-do-not-send="true"
href="http://ting.md" rel="noreferrer"
target="_blank">http://ting.md</a>><br>
<br>
"For new activities, make a new
repository in your<br>
GitHub account, put the source
code in it, then ask the<br>
systems@ list to move it to the
sugarlabs organisation."<br>
<br>
You can also of course ask to
join the sugarlabs<br>
project on GitHub.<br>
<br>
-walter<br>
<br>
<br>
Tony<br>
<br>
On 04/20/2017 03:56 AM,
Samuel Cantero wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
On Wed, Apr 19, 2017 at
1:40 AM, Tony Anderson<br>
<<a
moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a></a><br>
<mailto:<a
moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a></a><wbr>>>
wrote:<br>
<br>
Hi Walter<br>
<br>
We haven't heard from
Sam C.<br>
<br>
<br>
Hi everyone! I'm sorry I
haven't replied before. I<br>
have been very busy these
days. I don't know much<br>
about ASLO architecture. I
just have helped to<br>
keep it working. Aleksey is
the correct guy here.<br>
<br>
<br>
I am thinking that
rather than keep the<br>
metadata regarding
Sugar activities, it might<br>
be better to include it
in <a moz-do-not-send="true"
href="http://activity.info"
rel="noreferrer" target="_blank">activity.info</a><br>
<<a
moz-do-not-send="true"
href="http://activity.info"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://activity.info">http://activity.info</a></a>>
(e.g. developers,<br>
summary, description,
what works, release<br>
notes). This would
enable ASLO to generate its<br>
screens from the
bundle.<br>
<br>
Jatin now has a working
minimal prototype of<br>
the Django version. It
would be helpful if it<br>
were on the Sugar
servers supporting ASLO.<br>
<br>
<br>
We can configure a dev
environment in our server<br>
and enable CI. It would be
good to keep main repo<br>
in GitHub, inside sugarlabs
organization. This<br>
will give us more chance to
encourage other people<br>
to help. Where is the
prototype right now? I would<br>
like to take a look.<br>
<br>
<br>
I would like to add
some activities from ASLO<br>
to the github
repository. Currently I am a<br>
'member'. Is that
sufficient to enable adding<br>
a new activity?<br>
<br>
<br>
Try and tell me.<br>
<br>
<br>
I have posted issues to
each of the activities<br>
I tested on the
github/sugarlabs. Several of<br>
the activities can be
fixed by simple code<br>
changes. More
importantly, some order is<br>
needed in the
assignment of version numbers<br>
and releasing the
updated activities to ASLO.<br>
While I am a developer
on ASLO, I don't have<br>
the ability to release
new versions of<br>
activities in general.<br>
<br>
<br>
I would appreciate your
help in setting up the<br>
authorizations needed.<br>
<br>
<br>
Thanks,<br>
<br>
Tony<br>
<br>
<br>
<br>
On 04/13/2017 01:40 AM,
Walter Bender wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Let's try to get Sam
C., who currently<br>
maintains ASLO into
the loop. I think he'll<br>
have lots of good
advice for us.<br>
<br>
regards.<br>
<br>
-walter<br>
<br>
On Wed, Apr 12, 2017
at 1:14 PM, Jatin<br>
Dhankhar <<a
moz-do-not-send="true"
href="mailto:dhankhar.jatin@gmail.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:dhankhar.jatin@gmail.com">dhankhar.jatin@gmail.com</a></a><br>
<mailto:<a
moz-do-not-send="true"
href="mailto:dhankhar.jatin@gmail.com"
target="_blank">dhankhar.jatin@gmail.<wbr>com</a>>>
wrote:<br>
<br>
Hi,<br>
<br>
I think we
need to agree on the use<br>
of IRC. If
you want to communicate<br>
with members
of the community, you<br>
must go where
they are (#sugar). If<br>
you want a
one-to-one meeting on IRC<br>
with me, I
would suggest<br>
#sugar-newbies. It is normally<br>
dormant but
works well and saves a<br>
log for later
review. It worked well<br>
for meetings
with Utkarsh Tiwari<br>
during last
year's GSOC.<br>
<br>
Sure, whatever
works :). What is your IRC<br>
nickname ?<br>
<br>
There are two
things that you will<br>
need to have
local to the django<br>
project.
First is the directory<br>
<a
moz-do-not-send="true"
href="http://download.sugarlabs.org"
rel="noreferrer" target="_blank">download.sugarlabs.org</a><br>
<<a
moz-do-not-send="true"
href="http://download.sugarlabs.org/"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://download.sugarlabs.or">http://download.sugarlabs.or</a><wbr>g/</a>>
which<br>
has<br>
the Sugar
activity bundles<br>
<br>
Do I need to
mirror the whole<br>
setup/directory ?<br>
<br>
When talking
about scraping you probably<br>
meant<br>
<a
moz-do-not-send="true"
href="http://activities.sugarlabs.org"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://activities.sugarlabs.o">http://activities.sugarlabs.o</a><wbr>rg</a>
instead<br>
of <a
moz-do-not-send="true"
href="http://download.sugarlabs.org/"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://download.sugarlabs.org/">http://download.sugarlabs.org/</a></a><wbr>,
right ?<br>
Also for
scraping, Scrapy<br>
<<a
moz-do-not-send="true"
href="https://scrapy.org/"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="https://scrapy.org/">https://scrapy.org/</a></a>>
seems to more<br>
popular than
beautifulsoup ?<br>
<br>
Also a big thanks
for including Walter in<br>
the discussion :D<br>
<br>
- Jatin Dhankhar<br>
<br>
On Wed, Apr 12,
2017 at 6:30 AM, Tony<br>
Anderson <<a
moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a></a><br>
<mailto:<a
moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a></a><wbr>>>
wrote:<br>
<br>
Hi, Jatin<br>
<br>
I think we
need to agree on the use<br>
of IRC. If
you want to communicate<br>
with members
of the community, you<br>
must go where
they are (#sugar). If<br>
you want a
one-to-one meeting on IRC<br>
with me, I
would suggest<br>
#sugar-newbies. It is normally<br>
dormant but
works well and saves a<br>
log for later
review. It worked well<br>
for meetings
with Utkarsh Tiwari<br>
during last
year's GSOC.<br>
<br>
There are two
things that you will<br>
need to have
local to the django<br>
project.
First is the directory<br>
<a
moz-do-not-send="true"
href="http://download.sugarlabs.org"
rel="noreferrer" target="_blank">download.sugarlabs.org</a><br>
<<a
moz-do-not-send="true"
href="http://download.sugarlabs.org"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://download.sugarlabs.or">http://download.sugarlabs.or</a><wbr>g</a>>
which<br>
has the Sugar
activity bundles. The<br>
second is the
'metadata' in the mysql<br>
db. For
scraping, I would recommend<br>
BeautifulSoup
(bs4). The trick will<br>
be to decide
what data we want to<br>
capture and
add to the json.<br>
<br>
The json
fields in activities.json<br>
are ones I
chose for the minimal<br>
system. You
may want to include other<br>
information
such as the number of<br>
downloads,
which collections (should<br>
be entered as
tags in a tag-field)<br>
and so on.
One item I have referred<br>
to as flags
(I marked some as X but<br>
don't
remember what that meant, oh<br>
well). The
intent is to record the<br>
platforms
where the activity works.<br>
We also
should provide links to the<br>
homepage,
repository page, and update<br>
page
(whatever that is). I think if<br>
you have a
working scrape tool, the<br>
data it
collects can be expanded as<br>
needed
(assuming the tool runs in a<br>
reasonable
time).<br>
<br>
Naturally, it
would be easier if you<br>
have access
to the db directly.<br>
<br>
Tony<br>
<br>
<br>
On 04/12/2017
01:40 AM, Jatin<br>
Dhankhar
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
One
thing you could look at. On<br>
activities.sugarlabs,org, can<br>
you
determine from Remora where<br>
the
metadata is stored? I assume<br>
a db.
Currently I am thinking to<br>
use
BeautifulSoup to scrape the<br>
site to
get that data, but it<br>
would
be much easier to access<br>
the
data directly.<br>
<br>
As per wiki<br>
<br>
<a moz-do-not-send="true"
href="https://wiki.mozilla.org/Update:Remora_Server_Requirements#SVN.2C_DB_and_app_config"
rel="noreferrer" target="_blank">https://wiki.mozilla.org/Updat<wbr>e:Remora_Server_Requirements#S<wbr>VN.2C_DB_and_app_config</a><br>
data<br>
is stored
in mysql database. I don't<br>
have access
to the production server<br>
where ASLO
is currently running,<br>
following
file<br>
<br>
<a moz-do-not-send="true"
href="https://github.com/sugarlabs/aslo/blob/master/aslo/db-update.sh#L9"
rel="noreferrer" target="_blank">https://github.com/sugarlabs/a<wbr>slo/blob/master/aslo/db-update<wbr>.sh#L9</a><br>
confirms<br>
that data
is stored in a mysql db.<br>
However it
would be interesting and<br>
fun to
scrape the data from live<br>
site. I
would do that.<br>
<br>
Thanks will
poke around the code,<br>
looks to me
it's a django app and I<br>
have to
mount it on my django<br>
project,
thanks :)<br>
<br>
If you
are talking about IRC as<br>
a place
to meet Sugar community<br>
members, use the freenode<br>
#sugar.
This is probably most<br>
active
from 8-17 EST (UTC-5). I<br>
am
currently in the Philippines<br>
which
is UTC+ 7.<br>
<br>
<br>
Yes, tried
that.<br>
<a
moz-do-not-send="true"
href="https://gitter.im"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="https://gitter.im">https://gitter.im</a></a>
fits in naturally<br>
with Github
(really sorry for<br>
suggesting
a new mode of<br>
communication everyday) 😅<br>
<br>
- Jatin
Dhankhar<br>
<br>
<br>
On Tue, Apr
11, 2017 at 6:14 AM,<br>
Tony
Anderson <<a moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank">tony_anderson@usa.net</a><br>
<mailto:<a
moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a></a><wbr>>>
wrote:<br>
<br>
If you
are talking about IRC as<br>
a place
to meet Sugar community<br>
members, use the freenode<br>
#sugar.
This is probably most<br>
active
from 8-17 EST (UTC-5). I<br>
am
currently in the Philippines<br>
which
is UTC+ 7.<br>
<br>
Localization of Python<br>
activities is done by Pootle,<br>
when
implemented by the<br>
developer. The developer does<br>
something like the following:<br>
<br>
from gettext import<br>
gettext
as _<br>
<br>
self.copy.set_tooltip(_('Copy<wbr>'))<br>
<br>
In this
way, all text displayed<br>
is
taken from a po file based on<br>
the
locale (e.g. en.po or<br>
hi.po).
This is a simplification<br>
as the
actual file is<br>
compressed: en.mo, hi.mo. These<br>
files
are in the activity<br>
bundle.
The detail is that when<br>
a new
version is released, there<br>
is a
master file: Paint.pot from<br>
which
the local language files<br>
are
built. This needs to be<br>
submitted to<br>
<a
moz-do-not-send="true"
href="http://translate.sugarlabs.org"
rel="noreferrer" target="_blank">translate.sugarlabs.org</a><br>
<<a
moz-do-not-send="true"
href="http://translate.sugarlabs.org"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://translate.sugarlabs.o">http://translate.sugarlabs.o</a><wbr>rg</a>><br>
which
maintains a copy. However,<br>
then
the localized version needs<br>
to be
added back to the bundle.<br>
However, the localizations can<br>
take
months for 100 languages so<br>
how
synchronize the po directory<br>
with
the activity release is<br>
difficult.<br>
<br>
The
sugar3 vs sugar issue is<br>
decided. The community wants to<br>
move to
sugar3 (gtk3). The<br>
problem
is that less that 20% of<br>
the
activities have been converted.<br>
The
ones that have been<br>
converted are low hanging fruit.<br>
The
unconverted ones may require<br>
intensive work (gimp which<br>
developed gtk originally has not<br>
made
the conversion).<br>
<br>
One
thing you could look at. On<br>
activities.sugarlabs,org, can<br>
you
determine from Remora where<br>
the
metadata is stored? I assume<br>
a db.
Currently I am thinking to<br>
use
BeautifulSoup to scrape the<br>
site to
get that data, but it<br>
would
be much easier to access<br>
the
data directly.<br>
<br>
Yesterday afternoon, the ISP<br>
restored service. Last time it<br>
died
after two days, but I am<br>
keeping
my fingers crossed. I am<br>
attaching the django stuff.<br>
<br>
Tony<br>
<br>
<br>
On
04/11/2017 01:36 AM, Jatin<br>
Dhankhar wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Hi
Tony,<br>
<br>
Normally, we use<br>
<a
moz-do-not-send="true"
href="http://chat.sugarlabs.orgor"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://chat.sugarlabs.orgor">http://chat.sugarlabs.orgor</a></a><br>
on freenode: sugar-meeting<br>
or sugar-newbies. These are<br>
logged sites so that there<br>
is a record. The second is<br>
more appropriate since<br>
sugar-meeting is used for<br>
SLOB meetings and the like.<br>
The real problem with IRC<br>
is time zones. Email has<br>
the advantage that either<br>
party can send or receive<br>
at any time. Last year with<br>
a
GSOC mentee we used<br>
sugar-newbies by arranging<br>
a
specific meeting time in<br>
advance.<br>
<br>
Yes,
that is correct, main<br>
issue
in communication barrier<br>
is
due to timezone issues.<br>
Since
most of the people are<br>
familiar and are available on<br>
IRC,
it's seems to be the<br>
primary channel of<br>
communication along with<br>
mailing lists and email. But<br>
since
you said we can use<br>
anything else, giving Slack a<br>
try
won't hurt (if issue is<br>
about
not using closed source<br>
software then IRC is fine, or<br>
we
can try Mattermost<br>
<<a
moz-do-not-send="true"
href="https://about.mattermost.com/"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="https://about.mattermost.com">https://about.mattermost.com</a><wbr>/</a>>).<br>
<br>
Another part of the<br>
process is how to update<br>
'<a
moz-do-not-send="true"
href="http://translate.sugarlabs.org"
rel="noreferrer" target="_blank">translate.sugarlabs.org</a><br>
<br>
<<a moz-do-not-send="true"
href="http://translate.sugarlabs.org/"
rel="noreferrer" target="_blank">http://translate.sugarlabs.or<wbr>g/</a>>'<br>
with the corresponding POT<br>
file to enable<br>
localization. We can get<br>
help from Chris Leonard on<br>
this.<br>
<br>
<br>
I am
not aware on how<br>
localization works. Do we need<br>
to
download relevant files and<br>
bundle them with the acitvity<br>
before making it available on<br>
ASLO
?<br>
<br>
I
have my Django version<br>
available - but the<br>
internet problems here are<br>
still unresolved. The<br>
technician is supposed to<br>
make another visit today to<br>
see what is wrong with our<br>
connection. Let me know if<br>
and when you think this<br>
will be useful to you.<br>
<br>
Let
me know when your<br>
connection is stable and I<br>
would
start.<br>
What are the things you need<br>
me to
do in the meantime ?<br>
<br>
One open issue is sugar3 vs<br>
sugar. Currently two<br>
versions of Sugar are<br>
released. The sugar version<br>
supports gtk while sugar3<br>
supports gtk3.<br>
Unfortunately, gtk3 was<br>
developed to be totally<br>
incompatible with gtk. For<br>
example, incorporation of<br>
one gtk3 feature requires<br>
that all direct and<br>
indirect references to gtk<br>
be removed or the activity<br>
will throw an exception.<br>
Several of the gtk3<br>
conversions failed to meet<br>
this test and so fail. The<br>
issue is whether curated<br>
activities be limited to<br>
ones converted to gtk3. The<br>
positive is that Sugar<br>
could revert to releasing<br>
and maintaining only a<br>
single version. The<br>
downside is that 100 or<br>
more activities will no<br>
longer be available.<br>
Specifically, in our<br>
implementation of ASLO, we<br>
need to show which versions<br>
of an activity work on<br>
which versions of Sugar<br>
(e.g. i86, arm, amd64,<br>
sugar or sugar3, and so<br>
on). We also need to show<br>
which ones support<br>
localization. There are<br>
many English activities and<br>
many Spanish activities<br>
that make no provision for<br>
localization. Luckily there<br>
are many that have no<br>
language component.<br>
However, for many of these,<br>
some kind of help is needed<br>
to convey the way the<br>
activity works.<br>
<br>
<br>
Some
people believe GTK3 is<br>
slightly better<br>
<br>
<<a moz-do-not-send="true"
href="https://www.reddit.com/r/linux/comments/3e3q8n/is_there_a_technical_reason_why_gtk3_is_better/"
rel="noreferrer" target="_blank">https://www.reddit.com/r/linu<wbr>x/comments/3e3q8n/is_there_a_t<wbr>echnical_reason_why_gtk3_is_be<wbr>tter/</a>><br>
and<br>
I
think GTK3 will stay but that<br>
should be asked in community<br>
and
voted upon and taking in<br>
considerations cost of<br>
development and porting, only a<br>
discussion will help in this one.<br>
<br>
You are wading into a deep<br>
and vast body of water!<br>
<br>
As
long as I have something to<br>
hold
onto, I will not drown 😅<br>
<br>
Thanks,<br>
Jatin
Dhankhar<br>
<br>
On
Mon, Apr 10, 2017 at 9:11<br>
AM,
Tony Anderson<br>
<<a
moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a></a><br>
<mailto:<a moz-do-not-send="true"
href="mailto:tony_anderson@usa.net"
target="_blank">tony_anderson@usa.net</a><wbr>>><br>
wrote:<br>
<br>
Hi, Jatin<br>
<br>
Normally, we use<br>
<a
moz-do-not-send="true"
href="http://chat.sugarlabs.org"
rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://chat.sugarlabs.org">http://chat.sugarlabs.org</a></a><br>
or on freenode:<br>
sugar-meeting or<br>
sugar-newbies. These are<br>
logged sites so that there<br>
is a record. The second is<br>
more appropriate since<br>
sugar-meeting is used for<br>
SLOB meetings and the like.<br>
The real problem with IRC<br>
is time zones. Email has<br>
the advantage that either<br>
party can send or receive<br>
at any time. Last year with<br>
a
GSOC mentee we used<br>
sugar-newbies by arranging<br>
a
specific meeting time in<br>
advance.<br>
<br>
I
haven't heard from<br>
Walter, but my preference<br>
would be to use the<br>
Sugarlabs server since the<br>
content is largely already<br>
there and it would be<br>
easier to make it the<br>
official site if that were<br>
decided. So in the short<br>
run, I think you should do<br>
whatever is best for your<br>
own development process.<br>
<br>
I
am not sure how CI fits<br>
into this. If the activity<br>
development is done on<br>
GitHub, then the deployment<br>
model is to run setup.py to<br>
create an xo bundle and<br>
then copy that bundle to<br>
the appropriate location in<br>
the <a moz-do-not-send="true"
href="http://download.sugarlabs.org"
rel="noreferrer" target="_blank">download.sugarlabs.org</a><br>
<br>
<<a moz-do-not-send="true"
href="http://download.sugarlabs.org"
rel="noreferrer" target="_blank">http://download.sugarlabs.org</a><wbr>><br>
tree. Assuming the update<br>
results from a PR, the<br>
deployer would need to<br>
update the activity<br>
information on ASLO<br>
appropriately. However,<br>
that process depends on<br>
where that data (metadata)<br>
is stored. Another part of<br>
the process is how to<br>
update<br>
'<a
moz-do-not-send="true"
href="http://translate.sugarlabs.org"
rel="noreferrer" target="_blank">translate.sugarlabs.org</a><br>
<br>
<<a moz-do-not-send="true"
href="http://translate.sugarlabs.org"
rel="noreferrer" target="_blank">http://translate.sugarlabs.or<wbr>g</a>>'<br>
with the corresponding POT<br>
file to enable<br>
localization. We can get<br>
help from Chris Leonard on<br>
this.<br>
<br>
I
have my Django version<br>
available - but the<br>
internet problems here are<br>
still unresolved. The<br>
technician is supposed to<br>
make another visit today to<br>
see what is wrong with our<br>
connection. Let me know if<br>
and when you think this<br>
will be useful to you.<br>
<br>
I
have now tested most of<br>
the activities (~400). I<br>
was optimistic in the<br>
number that work out of the<br>
box. However, a part of<br>
this is running them in the<br>
Ubuntu version of Sugar<br>
(amd64). There are many<br>
activities which launch<br>
object code (mostly c)<br>
which is dependent on the<br>
architecture. I am now<br>
trying to repeat the tests<br>
on an XO-1.75. One issue on<br>
Ubuntu is that many<br>
activities assume a<br>
1200x900 screen and so on a<br>
1024X768 screen overflow.<br>
This makes some of the<br>
games unusable since part<br>
of the controls are off the<br>
screen. Because of the<br>
internet problems, the<br>
untested activities tend to<br>
be new ones since I was<br>
using my local repository<br>
which is a snapshot taken<br>
several months ago. The<br>
other group are the<br>
GCompris activities (about<br>
70).<br>
<br>
My intent is to build a<br>
'curated' repository of<br>
activities known to work<br>
and be usable on the XO and<br>
on Ubuntu (or such other<br>
platform that Sugar may<br>
choose to support). Most of<br>
the currently not work<br>
activities have software<br>
dependencies no longer<br>
included in the current<br>
Sugar release. So the<br>
curated library will grow<br>
as activities are repaired<br>
over time.<br>
<br>
One open issue is sugar3 vs<br>
sugar. Currently two<br>
versions of Sugar are<br>
released. The sugar version<br>
supports gtk while sugar3<br>
supports gtk3.<br>
Unfortunately, gtk3 was<br>
developed to be totally<br>
incompatible with gtk. For<br>
example, incorporation of<br>
one gtk3 feature requires<br>
that all direct and<br>
indirect references to gtk<br>
be removed or the activity<br>
will throw an exception.<br>
Several of the gtk3<br>
conversions failed to meet<br>
this test and so fail. The<br>
issue is whether curated<br>
activities be limited to<br>
ones converted to gtk3. The<br>
positive is that Sugar<br>
could revert to releasing<br>
and maintaining only a<br>
single version. The<br>
downside is that 100 or<br>
more activities will no<br>
longer be available.<br>
Specifically, in our<br>
implementation of ASLO, we<br>
need to show which versions<br>
of an activity work on<br>
which versions of Sugar<br>
(e.g. i86, arm, amd64,<br>
sugar or sugar3, and so<br>
on). We also need to show<br>
which ones support<br>
localization. There are<br>
many English activities and<br>
many Spanish activities<br>
that make no provision for<br>
localization. Luckily there<br>
are many that have no<br>
language component.<br>
However, for many of these,<br>
some kind of help is needed<br>
to convey the way the<br>
activity works.<br>
<br>
You are wading into a deep<br>
and vast body of water!<br>
<br>
Tony<br>
<br>
<br>
On 04/10/2017 12:00 AM,<br>
Jatin Dhankhar wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Hi,<br>
Sorry for the delay. I<br>
went through the polls<br>
tutorials and I think I am<br>
getting hang of Django. I<br>
have one query that is out<br>
of context, what is your<br>
IRC setup ? IRC doesn't<br>
allow message to be<br>
delivered or stored once<br>
either party is offline,<br>
people login through a<br>
external server for IRC's<br>
to maintain their<br>
availability in a channel.<br>
May I suggest something<br>
like Slack or Flock for<br>
communication. IRC is good<br>
for quick and fast<br>
connection but Slack and<br>
alternatives allow easy<br>
communication. (Just a<br>
suggestion, though)<br>
<br>
Should I deploy the same<br>
polls app on DigitalOcean<br>
along with CI pipeline and<br>
branching model in the<br>
meantime with code hosted<br>
on Github ?<br>
<br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
...</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>