<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm confused by your question, and have doubts as to success of your<br>plan.<br></blockquote><div>You are right to doubt me, given that also3 is still not functional</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> You've made a replacement for the currently working production service</blockquote><a href="http://activities.sugarlabs.org/" rel="noreferrer" target="_blank">activities.sugarlabs.org</a>? How much of the function is replaced? All,<br>or only some?<div>Only some. <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">How would you like an activity maintainer to communicate the Sugar<br>version to aslo-v3? <a href="http://activity.info/" rel="noreferrer" target="_blank">activity.info</a> file?<br></blockquote><div>For new versions of activities, if it can be done. Any heuristics to guess correct sugar version for old versions and activities.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">How does an activity maintainer;<br>(a) include an activity, or;<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">(b) exclude an activity? </blockquote><div><br></div><div> By creating a release. No mechanism to exclude (expect from not releasing it)</div><div> </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">How is a bundle supplied as part of release?</blockquote><div>By attaching it in the release. <a href="https://help.github.com/articles/distributing-large-binaries/">https://help.github.com/articles/distributing-large-binaries/</a></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Is it hard, or is it that UI and UX are something that many people can</blockquote>have an opinion on? ;-)<div>Latter is the main reason and not just restricted to frontend. </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Which activities don't have SVG icons? <br></blockquote><div>My bad. All activities have svg icons. We are using Imgur for hosting images which sadly doesn't have support for svg, so we are converting the as base64 encoded icons inside db. They look ugly though. </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">"Activities".</blockquote><div>Noted, just "Activities"</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Sugar Labs has servers. I'm not concerned about _where_ the site is<br>hosted, except that it should be under the control of Sugar Labs. The<br>performance will rely on all the resources of the site being either<br>embedded or on the same server.<br></blockquote><div>It's still hosted on sugar labs servers. I was talking about self hosting the javascript. </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a href="https://wiki.sugarlabs.org/go/Summer_of_Code/2017" rel="noreferrer" target="_blank">https://wiki.sugarlabs.org/go/Summer_of_Code/2017</a> "Maintenance of<br><a href="http://activities.sugarlabs.org/" rel="noreferrer" target="_blank">activities.sugarlabs.org</a> (ASLO)" was what I thought you had begun<br>working on. ;-)<br></blockquote><div>Yes, I started with that in mind :sweat_smile: </div><div><br></div><div> </div><div>There are lots of changes that need to be addressed.</div><div> I say, start with a issue, discuss solutions and start implementing, with a biweekly deadline ? </div><div>If anyone like to address some issues or suggest solutions, please do so. Vipul is working on the frontend fixes.</div><div><br></div><div><br></div><div>Thanks,</div><div>Jatin Dhankhar</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 4, 2018 at 10:37 AM James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Sep 04, 2018 at 09:01:42AM +0530, Jatin Dhankhar wrote:<br>
> [...]<br>
> That's a long of issues.<br>
> Thank you James for taking out time and compiling the list. <br>
> I don't have a definitive strategy in mind.<br>
> How about tackling them one issue at a time, each issue segregated into<br>
> categories, with priorities ranging from important to enhancements. <br>
> I am not sure about many issues. <br>
> <br>
> 1.<br>
> <br>
> - a transition plan is needed, to explain how to handle the Fedora 18<br>
> systems running Sugar 0.112 and earlier,<br>
> <br>
> Didn't get this one. Do we need to support older client with a<br>
> minimal version of the website ? <br>
<br>
Hope so, otherwise it would not be used.<br>
<br>
I'm confused by your question, and have doubts as to success of your<br>
plan.<br>
<br>
You've made a replacement for the currently working production service<br>
<a href="http://activities.sugarlabs.org" rel="noreferrer" target="_blank">activities.sugarlabs.org</a>? How much of the function is replaced? All,<br>
or only some?<br>
<br>
I've had a quick look at the access logs for <a href="http://activities.sugarlabs.org" rel="noreferrer" target="_blank">activities.sugarlabs.org</a>,<br>
for the past year.<br>
<br>
This is a high traffic site, with 4,763,843 requests over the year.<br>
<br>
I've excluded the web crawlers such as Google.<br>
<br>
Most of the remaining requests are from Sugar, either the Software<br>
Update feature in My Settings, the automatic updater, or the Browse<br>
activity.<br>
<br>
There were 147,489 requests from Software Update or the automatic<br>
updater. Version strings are included in user agent or as URI<br>
arguments. By version the request counts are;<br>
<br>
0.100 (25,927),<br>
0.102 (3,655),<br>
0.104 (42,197),<br>
0.106 (4,120),<br>
0.108 (18,258),<br>
0.110 (41,465), and<br>
0.112 (11,918).<br>
<br>
There were 2,246,274 requests from Browse. By version they are;<br>
<br>
0.98 (532,122),<br>
0.100 (577,209),<br>
0.102 (0),<br>
0.104 (0),<br>
0.106 (1,118),<br>
0.108 (75,955),<br>
0.110 (827,264), and<br>
0.112 (232,611).<br>
<br>
Based on these measurements, it is critical to support older clients,<br>
by either;<br>
<br>
(a) making sure aslo-v3 can do these requests properly, or;<br>
<br>
(b) keeping <a href="http://activities.sugarlabs.org" rel="noreferrer" target="_blank">activities.sugarlabs.org</a> running.<br>
<br>
> 2. <br>
> <br>
> how to list the compatible Sugar versions for an activity release?<br>
> <a href="http://activities.sugarlabs.org" rel="noreferrer" target="_blank">activities.sugarlabs.org</a> asks for this when uploading an activity,<br>
> and it works well with the Browse presentation of Sugar version<br>
> through the user agent string,<br>
> <br>
> Right we are using a simple heuristics to determine min sugar version for an<br>
> activity<br>
> <a href="https://github.com/sugarlabs/aslo-v3/blob/master/aslo/api/release.py#L231" rel="noreferrer" target="_blank">https://github.com/sugarlabs/aslo-v3/blob/master/aslo/api/release.py#L231</a><br>
> We currently don't log and use agent strings <br>
<br>
Thanks.<br>
<br>
At the moment, during upload to <a href="http://activities.sugarlabs.org" rel="noreferrer" target="_blank">activities.sugarlabs.org</a>, an activity maintainer<br>
chooses the range of Sugar versions.<br>
<br>
How would you like an activity maintainer to communicate the Sugar<br>
version to aslo-v3? <a href="http://activity.info" rel="noreferrer" target="_blank">activity.info</a> file?<br>
<br>
We can't change how existing laptops or desktop computers send the<br>
agent strings, so if you need to be compatible with them you must use<br>
the agent strings in the same way.<br>
<br>
> 3. <br>
> <br>
> how to handle activities like Tam Tam, Fortune Hunter, Wikipedia and<br>
> soon Turtle Art, where the git repository makes more than one<br>
> activity bundle?<br>
> <br>
> Not sure about how different bundle works, for now we are using following <br>
> <a href="https://github.com/sugarlabs/aslo-v3/blob/master/activity-build-docker/" rel="noreferrer" target="_blank">https://github.com/sugarlabs/aslo-v3/blob/master/activity-build-docker/</a><br>
> Dockerfile#L8 to generate .xo for source activity. If bundle is supplied as<br>
> part of release we give it preference (since the author attached that and<br>
> wanted to release it)<br>
<br>
Please read the repositories to find out how multiple bundle<br>
activities work in detail. In brief, more than one bundle is made<br>
from the repository, and it isn't always by use of setup.py dist_xo.<br>
<br>
How is a bundle supplied as part of release?<br>
<br>
> 4.<br>
> <br>
> how to handle activities like Browse, Measure, Speak, and Record,<br>
> <br>
> where non-master branches are used to make bundles compatible with<br>
> different systems,<br>
> <br>
> I think we took care of the branch. But different branch (i.e multiple<br>
> branches) for different systems are not supported, since it means different<br>
> bundles for a single activity. This needs to worked upon.<br>
<br>
Thanks, please do. The reason for using different branches is so that<br>
different bundles can be made for each different system.<br>
<br>
I've tried to make sure the README.md of the affected repositories<br>
list the branches. For instance for Browse;<br>
<br>
<a href="https://github.com/sugarlabs/browse-activity/blob/master/README.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/browse-activity/blob/master/README.md</a><br>
<br>
> 5.<br>
> <br>
> many activities are missing; e.g. Record,<br>
> <br>
> Yes, not all activities are included<br>
<br>
How does an activity maintainer;<br>
<br>
(a) include an activity, or;<br>
<br>
(b) exclude an activity?<br>
<br>
> 6.<br>
> <br>
> an activity version number is not shown; workaround is to hover over<br>
> the download link, but this doesn't work in Browse because the link<br>
> URL is not shown,<br>
> <br>
> Yes, we can add version on the UI as well. Hardest part is to settle on a<br>
> definitive and consistent UI.<br>
<br>
Is it hard, or is it that UI and UX are something that many people can<br>
have an opinion on? ;-)<br>
<br>
The reason for activity version is so that a user may quickly<br>
determine if a new version is available.<br>
<br>
> 7. <br>
> <br>
> blurred icons; these are embedded PNG instead of SVG, and so when<br>
> they scale up they blur,<br>
> <br>
> Yes, not many activities have svg icons.<br>
<br>
Which activities don't have SVG icons? They are each supposed to have<br>
one; <a href="http://activity.info" rel="noreferrer" target="_blank">activity.info</a> config file metadata "icon" should point to an SVG<br>
file in the same directory. For example in Browse;<br>
<br>
<a href="https://github.com/sugarlabs/browse-activity/blob/master/activity/activity.info#L5" rel="noreferrer" target="_blank">https://github.com/sugarlabs/browse-activity/blob/master/activity/activity.info#L5</a><br>
<a href="https://github.com/sugarlabs/browse-activity/blob/master/activity/activity-web.svg" rel="noreferrer" target="_blank">https://github.com/sugarlabs/browse-activity/blob/master/activity/activity-web.svg</a><br>
<br>
> 8. <br>
> <br>
> page title is "Software Center | SugarLabs"; (a) don't think<br>
> "Software Center" is the right name; was there consensus? (b) this<br>
> must be internationalised for more languages than "es" and "hi", and<br>
> (c) "SugarLabs" should be "Sugar Labs",<br>
> <br>
> What should be the right name ? <br>
<br>
"Activities".<br>
<br>
> 9. <br>
> <br>
> in the detail view, the icons for the headings are too close to the<br>
> text, e.g. "<spiky circle>Activity" and "<pancake stack>Details",<br>
> <br>
> Yes, that is an easy fix. Adding margin to font-awesome icons.<br>
<br>
Thanks.<br>
<br>
> 10. <br>
> <br>
> at the bottom of the page, the links to "Sugar Labs", "Development",<br>
> and "Resources" do not work,<br>
> <br>
> Yes, not every link was decided. Easy fix.<br>
<br>
Thanks.<br>
<br>
> 11. <br>
> <br>
> the general layout of the page is unlike the other services at Sugar<br>
> Labs, as if there is no central theme,<br>
> <br>
> Yes, that is one of the biggest issue, a consistent theme.<br>
<br>
I don't think it is a big issue. We have several consistent themes to<br>
choose from! ;-)<br>
<br>
> 12. <br>
> <br>
> Browse on Fedora 18 reports several instances of "Cross-origin<br>
> script load denied by Cross-Origin Resource Sharing policy.", and<br>
> the page does not finish loading,<br>
> <br>
> Didn't test it on browse. Major browsers didn't complain about this.<br>
<br>
As most of the users of <a href="http://activities.sugarlabs.org" rel="noreferrer" target="_blank">activities.sugarlabs.org</a> are using Browse, and<br>
most are using an old version, you should test with Browse.<br>
<br>
Major browsers are much less important for a site such as this.<br>
<br>
> 13. <br>
> <br>
> many off-site resources are used; such as<br>
> <a href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.3.2/js/mdb.min.js" rel="noreferrer" target="_blank">https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.3.2/js/mdb.min.js</a><br>
> these must be local so as to avoid multiple DNS queries, to allow<br>
> port proxied use, and to pipeline requests.<br>
> <br>
> Self hosting is on the list. I thought having a CDN resource will improve the<br>
> performance and reduce latency. <br>
> How about use both with cdn as fallback.<br>
<br>
Sugar Labs has servers. I'm not concerned about _where_ the site is<br>
hosted, except that it should be under the control of Sugar Labs. The<br>
performance will rely on all the resources of the site being either<br>
embedded or on the same server.<br>
<br>
> For interest, an automated publishing tool for<br>
> <a href="http://activities.sugarlabs.org" rel="noreferrer" target="_blank">activities.sugarlabs.org</a> is available at<br>
> <a href="https://github.com/sugarlabs/sugar-tools/blob/master/activity-publish" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar-tools/blob/master/activity-publish</a><br>
> <br>
> This tool decreases the time between "git tag vN" and activity<br>
> available for download to a few seconds, and leverages our existing<br>
> infrastructure.<br>
> <br>
> Didn't knew about publish. <br>
> I wanted to integrate aslo-v3 closely with Github, so I followed that route. <br>
> <br>
> I might be wrong about lots of things. Do let me know.<br>
<br>
You've made good steps toward a goal, let's not lose that work, but<br>
build on it and approach success.<br>
<br>
<a href="https://wiki.sugarlabs.org/go/Summer_of_Code/2017" rel="noreferrer" target="_blank">https://wiki.sugarlabs.org/go/Summer_of_Code/2017</a> "Maintenance of<br>
<a href="http://activities.sugarlabs.org" rel="noreferrer" target="_blank">activities.sugarlabs.org</a> (ASLO)" was what I thought you had begun<br>
working on. ;-)<br>
<br>
> <br>
> Thanks,<br>
> Jatin Dhankhar<br>
> [...]<br>
<br>
-- <br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
</blockquote></div>