[Sugar-devel] Wanted: reviewers

2020-01-23 Thread James Cameron
Despite GCI being finished, there's a lot of GitHub notifications on
Sugar and activities.  I'm finding it hard to sustain this as a
reviewer, and need others to take on the review task.

https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#guide-for-reviewers

https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#testing

Developers who are making pull requests without reviewing other pull
requests ... it's time for you to learn to review as well.

-- 
James Cameron
http://quozl.netrek.org/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Port to python3

2020-01-23 Thread Abhay Malik
Hey,
I changed the files as you recommended can you please have a look at it.

Here’s the link  
:https://github.com/sugarlabs/reflect/pull/13/files#diff-03091df2633029b2c2893b03883f5296
 



Thanks,
Abhay___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Porting to python3

2020-01-23 Thread Abhay Malik
Hey,
I changed the files as you recommended can you please have a look at 
it. Thanks for the suggestions Mr. Srevin, really appreciate that.


Here’s the link : https://github.com/sugarlabs/reflect/pull/13/files 



Thanks,
Abhay___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] getting the Sugar Toolkit working with python 3

2020-01-23 Thread James Cameron
What ppa?  I don't know of any ppa.  Perhaps you mean the Ubuntu
package archive?

The Python 3 package name will be python3-sugar3 once Ubuntu accepts it.
Unlikely to happen unless someone wants it.

The Python 2 package name is python-sugar3, and you can see the
version history in Ubuntu here;

https://packages.ubuntu.com/search?keywords=python-sugar3

0.112 was packaged in Ubuntu 18.04 and 19.04.

Ubuntu take these packages from Debian.  Debian is yet to move
python3-sugar3 from experimental to testing release;

https://packages.debian.org/search?keywords=python3-sugar3

I've proposed a "Debian advocacy for Sugar" project idea for Google
Summer of Code this year;

https://github.com/sugarlabs/GSoC/blob/5ac9c642ff8c307e9348c2d357d0241c51d2cab4/Ideas-2020.md#debian-advocacy-for-sugar

On Fri, Jan 24, 2020 at 06:12:39AM +0530, soham bhattacharya wrote:
> 
> Yes, the installed version was 0.112. I guess the Ubuntu ppa was outdated. I 
> will build and install. Thanks for the help.
> - Original Message -
> From: "James Cameron" 
> To: "soham bhattacharya" <116cs0...@nitrkl.ac.in>
> Cc: "sugar-devel" 
> Sent: Friday, January 24, 2020 3:10:07 AM
> Subject: Re: [Sugar-devel] getting the Sugar Toolkit working with python 3
> 
> What version of the Sugar Toolkit did you install?
> 
> When you choose "apt install", you are relying on the Debian or Ubuntu
> projects to have packaged Sugar Toolkit.
> 
> Support for Python 3 was added in version 0.116.
> 
> Make sure you have version 0.116 at least.
> 
> On Fri, Jan 24, 2020 at 02:40:54AM +0530, soham bhattacharya wrote:
> > Hi,
> > I am Soham. I am new to the community and would like to contribute to Sugar 
> > Labs. 
> > 
> > The turtleart-activity(https://github.com/sugarlabs/turtleart-activity) 
> > repository mentions a dependency being the Sugar Toolkit. So I went to 
> > https://github.com/sugarlabs/sugar-toolkit-gtk3 and installed it using apt 
> > install, like it is mentioned in the readme. But whenever I open python3 
> > and try import sugar3, it gives me a ModuleNotFoundError. 
> > 
> > So can anybody help me with getting the sugar toolkit running with python3. 
> > I am sorry if this is a silly question.
> > 
> > Thank You
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > 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

-- 
James Cameron
http://quozl.netrek.org/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Malicious code in dateutil

2020-01-23 Thread James Cameron
I agree with Martin.  This security event is of no consequence to us,
because we use the libraries included in Python.

It reminds us too that we should avoid adding dependencies on
untrusted source code, and especially be wary of adding any use of
pypi.

On Thu, Jan 23, 2020 at 07:54:07PM -0300, Martin Abente wrote:
> "The first is "python3-dateutil," which imitated the popular "dateutil"
> library. The second is "jeIlyfish" (the first L is an I), which mimicked the
> "jellyfish" library."
> 
> If you read that carefully, it says these 2 libraries imitated the real
> libraries. It does not say that the original libraries were compromised.
> 
> On Thu, Jan 23, 2020 at 7:50 PM Chihurumnaya Ibiam <[1]
> ibiamchihurumn...@gmail.com> wrote:
> 
> Dateutil has been found to contain malicious code, a github search shows
> 10+ uses of dateutil in Sugar Labs repos.
> 
> You can read more about it here
> [2]https://www.zdnet.com/article/
> two-malicious-python-libraries-removed-from-pypi/
> ___
> Sugar-devel mailing list
> [3]Sugar-devel@lists.sugarlabs.org
> [4]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> References:
> 
> [1] mailto:ibiamchihurumn...@gmail.com
> [2] 
> https://www.zdnet.com/article/two-malicious-python-libraries-removed-from-pypi/
> [3] mailto:Sugar-devel@lists.sugarlabs.org
> [4] http://lists.sugarlabs.org/listinfo/sugar-devel

> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> 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


Re: [Sugar-devel] getting the Sugar Toolkit working with python 3

2020-01-23 Thread soham bhattacharya

Yes, the installed version was 0.112. I guess the Ubuntu ppa was outdated. I 
will build and install. Thanks for the help.
- Original Message -
From: "James Cameron" 
To: "soham bhattacharya" <116cs0...@nitrkl.ac.in>
Cc: "sugar-devel" 
Sent: Friday, January 24, 2020 3:10:07 AM
Subject: Re: [Sugar-devel] getting the Sugar Toolkit working with python 3

What version of the Sugar Toolkit did you install?

When you choose "apt install", you are relying on the Debian or Ubuntu
projects to have packaged Sugar Toolkit.

Support for Python 3 was added in version 0.116.

Make sure you have version 0.116 at least.

On Fri, Jan 24, 2020 at 02:40:54AM +0530, soham bhattacharya wrote:
> Hi,
> I am Soham. I am new to the community and would like to contribute to Sugar 
> Labs. 
> 
> The turtleart-activity(https://github.com/sugarlabs/turtleart-activity) 
> repository mentions a dependency being the Sugar Toolkit. So I went to 
> https://github.com/sugarlabs/sugar-toolkit-gtk3 and installed it using apt 
> install, like it is mentioned in the readme. But whenever I open python3 and 
> try import sugar3, it gives me a ModuleNotFoundError. 
> 
> So can anybody help me with getting the sugar toolkit running with python3. I 
> am sorry if this is a silly question.
> 
> Thank You
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> 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


Re: [Sugar-devel] Malicious code in dateutil

2020-01-23 Thread bottersnike237
It’s worth noting this is specifically the typo-squatting “python3-dateutil” 
package, and not the very legitimate “dateutil” package. The former only lasted 
on PyPi for about 2 days, so it would be a surprise if it was somehow 
integrated into SL code within that timeframe.

 

From: Sugar-devel  On Behalf Of 
Chihurumnaya Ibiam
Sent: 23 January 2020 22:50
To: Sugar-dev Devel 
Subject: [Sugar-devel] Malicious code in dateutil

 

Dateutil has been found to contain malicious code, a github search shows 10+ 
uses of dateutil in Sugar Labs repos.

 

You can read more about it here

https://www.zdnet.com/article/two-malicious-python-libraries-removed-from-pypi/

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Malicious code in dateutil

2020-01-23 Thread Martin Abente
*"The first is "python3-dateutil," which imitated the popular "dateutil"
library. The second is "jeIlyfish" (the first L is an I), which mimicked
the "jellyfish" library."*
If you read that carefully, it says these 2 libraries imitated the real
libraries. It does not say that the original libraries were compromised.

On Thu, Jan 23, 2020 at 7:50 PM Chihurumnaya Ibiam <
ibiamchihurumn...@gmail.com> wrote:

> Dateutil has been found to contain malicious code, a github search shows
> 10+ uses of dateutil in Sugar Labs repos.
>
> You can read more about it here
>
> https://www.zdnet.com/article/two-malicious-python-libraries-removed-from-pypi/
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Malicious code in dateutil

2020-01-23 Thread Chihurumnaya Ibiam
Dateutil has been found to contain malicious code, a github search shows
10+ uses of dateutil in Sugar Labs repos.

You can read more about it here
https://www.zdnet.com/article/two-malicious-python-libraries-removed-from-pypi/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] getting the Sugar Toolkit working with python 3

2020-01-23 Thread James Cameron
What version of the Sugar Toolkit did you install?

When you choose "apt install", you are relying on the Debian or Ubuntu
projects to have packaged Sugar Toolkit.

Support for Python 3 was added in version 0.116.

Make sure you have version 0.116 at least.

On Fri, Jan 24, 2020 at 02:40:54AM +0530, soham bhattacharya wrote:
> Hi,
> I am Soham. I am new to the community and would like to contribute to Sugar 
> Labs. 
> 
> The turtleart-activity(https://github.com/sugarlabs/turtleart-activity) 
> repository mentions a dependency being the Sugar Toolkit. So I went to 
> https://github.com/sugarlabs/sugar-toolkit-gtk3 and installed it using apt 
> install, like it is mentioned in the readme. But whenever I open python3 and 
> try import sugar3, it gives me a ModuleNotFoundError. 
> 
> So can anybody help me with getting the sugar toolkit running with python3. I 
> am sorry if this is a silly question.
> 
> Thank You
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> 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


[Sugar-devel] getting the Sugar Toolkit working with python 3

2020-01-23 Thread soham bhattacharya
Hi,
I am Soham. I am new to the community and would like to contribute to Sugar 
Labs. 

The turtleart-activity(https://github.com/sugarlabs/turtleart-activity) 
repository mentions a dependency being the Sugar Toolkit. So I went to 
https://github.com/sugarlabs/sugar-toolkit-gtk3 and installed it using apt 
install, like it is mentioned in the readme. But whenever I open python3 and 
try import sugar3, it gives me a ModuleNotFoundError. 

So can anybody help me with getting the sugar toolkit running with python3. I 
am sorry if this is a silly question.

Thank You
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sugarizer Fototoon activity

2020-01-23 Thread Lionel Laské
Hi Anshul,

Not sure to understand what you call parameters of the environment
variables.
The variables you mentioned are define in toon.js file.
I suggest you to debug the activity to see how it's used.

Regards.

   Lionel.


Le jeu. 23 janv. 2020 à 18:00,  a
écrit :

> Date: Thu, 23 Jan 2020 18:01:01 +0530
> From: ANSHUL DUTT SHARMA 
> To: sugar-devel@lists.sugarlabs.org
> Subject: [Sugar-devel] Sugarizer Fototoon activity
> Message-ID:
>  hm0vazt1ye7edfde5qo_fk1xe...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi, Actually I am solving an issue related to the sugarizer activity
> Fototoon. I am having trouble getting  the parameters of the environment
> variables and the functions used in the code like this._textViewer,
> this._globeselected,etc. Can anyone please help me regarding where should I
> find these methods. Also I wanted to ask whether there will be a project in
> sugarizer this year in GSoc.
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200123/e580fc72/attachment.htm
> >
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sugar-devel Digest, Vol 135, Issue 32

2020-01-23 Thread Sarthak gupta
Hi anshul,
this._textViewer is present on line 923 and 957 in toon.js
this._globeSelected is present on line 437 in toon.js
Which environment variable you want to access?

Hi, Actually I am solving an issue related to the sugarizer activity
> Fototoon. I am having trouble getting  the parameters of the environment
> variables and the functions used in the code like this._textViewer,
> this._globeselected,etc. Can anyone please help me regarding where should I
> find these methods. Also I wanted to ask whether there will be a project in
> sugarizer this year in GSoc.
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200123/e580fc72/attachment.htm
> >
>
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Conference Report - GSoC Mentor Summit 2019

2020-01-23 Thread Rahul Bothra


## About the summit
“The Mentor Summit is an annual unconference and every project
participating in Google Summer of Code 2019 is invited to attend. The
summit was held from October 17 - October 20 '19, in Munich Germany. 332
Mentors from 162 organizations and 42 countries registered for the Mentor
Summit."
Rahul Bothra and Tarun Kumar Singhal<
tarunsinghali...@gmail.com> represented Sugar Labs.

Summit Website: https://sites.google.com/view/gsoc-mentorsummit2019/

## Lightning Talks
"Lightning talks are brief-but-informative fun presentations about your
very best GSoC and/or GCI student outcomes. ... be relatable, interesting,
and focus on the exceptional. Even if all your students were amazing, just
tell us about 1 or 2 (at most) that will be understood by a general
technical audience"
Lightning Talks allowed us to understand what other organizations are
working on. We did not give a lightning talk for Sugar Labs - since the
projects focused more on maintainability than user experience change (at
least those re Sugar).

## Unconference Sessions
Unconference Sessions were organized by attendees to discuss a topic they
were interested in, for an hour. They spanned over two days with ~6
sessions running parallelly. Discussions that could be useful for Sugar
Labs -
 * Outreachy - How the program is evolving now. FWIK, we used to
participate in the past.
 * Open Data - Making different kinds of data open. The discussion did
include a need to have primary level teaching resources open-sourced from
different regions of the world.

## Informal discussions
The summit provided plenty of room for networking sessions. Rahul
interacted with many mentors including those representing webpack, Julia
Computing, Blender, Fedora and many more. Except Fedora, none of them had
heard of Sugar Labs before. Rahul explained "What is Sugar and how did it
evolve", "How Music Blocks evolved and what are its future goals".

## Takeaway
 * The summit is primarily designed to be a fun summit. Since the format of
the summit remains the same every year, we need to identify ways to
leverage this opportunity for promoting our existence.
 * Laptop stickers were an attraction in the summit - we should take them.

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] GCI porting task guidance

2020-01-23 Thread Abhay Malik
Hey,
Can you have a look at this and see wether im going in the current 
direction for porting this repo 
https://github.com/sugarlabs/reflect/pull/13/commits/c3d9c043eef45f5c58ee2304336dea7f3491c768
 
.___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Sugarizer Fototoon activity

2020-01-23 Thread ANSHUL DUTT SHARMA
Hi, Actually I am solving an issue related to the sugarizer activity
Fototoon. I am having trouble getting  the parameters of the environment
variables and the functions used in the code like this._textViewer,
this._globeselected,etc. Can anyone please help me regarding where should I
find these methods. Also I wanted to ask whether there will be a project in
sugarizer this year in GSoc.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel