[GCompris-devel] GCompris Architecture Reconfig Discussion

Devendra Vyas devendra.y12 at lnmiit.ac.in
Tue Mar 22 12:10:38 UTC 2016


Hi

This mail comprises of what I've understood after the discussions on
mailing lists and IRC regarding modifying the core of Gcompris.

Purpose: To provide users an option to download activities as per their
wish/need. Keeping the full download option intact.

Phases of development:
P-1 -> Separate ActivityInfo.qml and icons from some activities and make
new ActivityInfo.rcc. See whether we are successfully able to load them.
The activities selected here will not have have any inter-dependencies on
some other activity.

P-2 -> Now for the activities that are inter-dependent, I think we'll have
to code a new download manger in a way that it downloads all dependencies
required for running that activity and nothing extra. As mentioned earlier
by Johnny, erase_2clic needs erase. So download manager's code will manage
accordingly.

P-3 -> Now providing option of selective activity download to end-user in a
way that it is easy to understand. I suggest that we have two buttons at
the very beginning of the app, that prompts user with two options/buttons:
a) Full Download b) Selective download

P-4 -> Versioning of APIs. I'm a little unsure here. We have two issues to
handle here: a) Avoid download of duplicate activity on the user end b)
check and update correct version of activity to core. I think one of the
ways could be, while we are creating a separate activityInfo.rcc for every
activity, the download manger could check the corresponding
ActivityInfo.qml file in activityInfo.rcc for version and then perform the
necessary action.

P-5 -> If all of the above is done, I think we could also think of
implementing an option that allows user to delete a particular activity.
Suppose someone has completed all the levels of the activity and doesn't
use the activity anymore then this option would help there.
Implementation of P-5 -> We can add a ActivityHandler.cpp in the core that
will keep track of this.
In my humble opinion, this would take around 12 weeks including the testing.

If mentors think this is small enough for GSoC, I'm ready to discuss and
implement an additional option suggested by Emmanuel for allowing the user
to download part of activity as per the age of the kid (If not for all then
for some of the activities).

I would request the review of the mentors on this that whether this could
be a probable proposal for GSoC'16.

Thanks
​Devendra​
It is not your qualifications but your exposure in life that makes you who
you are.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20160322/d7180949/attachment.html>


More information about the GCompris-devel mailing list