reply inline. On 1/27/21 3:09 AM, James Cameron wrote:
On Thu, Jan 21, 2021 at 11:28:00AM +0300, Srevin Saju wrote:And now, (Thanks bernie_!), we can use https://v4.activities.sugarlabs.org/services/update-aslo.php for supporting sugar's microformat update system as mentioned below:* support Sugar's microformat software upgrade feature in My Settings, (Sugar 0.116 is configured in|data/org.sugarlabs.gschema.xml|to use the AsloUpdater in|src/jarabe/model/update/aslo.py|which reaches out to a PHP script|update-aslo.php|, and will instead be configured to use|src/jarabe/model/update/microformat.py|),I've reviewed the output of update-aslo.php briefly. For Implode it gives a minVersion of 0.116 and a maxVersion of 0.117. How does an activity author specify these values?
Right now, its hardcoded into https://github.com/sugarlabs/aslo-v4/blob/a1ac5dac02030f38dca863eea3c70b978ebd8ad1/aslo4/rdf/rdf.py#L55. Let me know what would be the best implementation.
<?xml version="1.0"?> <RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <RDF:Description about="urn:mozilla:extension:com.jotaro.ImplodeActivity"> <em:updates> <RDF:Seq> <RDF:li resource="urn:mozilla:extension:com.jotaro.ImplodeActivity:20.1.1~quozl"/> </RDF:Seq> </em:updates> </RDF:Description> <RDF:Description about="urn:mozilla:extension:com.jotaro.ImplodeActivity:20.1.1~quozl"> <em:version>20.1.1~quozl</em:version> <em:targetApplication> <RDF:Description> <em:id>{9e5ecf85-6bb9-4403-bae8-d6865f19677b}</em:id> <em:minVersion>0.116</em:minVersion> <em:maxVersion>0.117</em:maxVersion> <em:updateLink>https://v4.activities.sugarlabs.org/bundles/Implode-20.1.1~quozl.xo</em:updateLink> <em:updateSize>198</em:updateSize> <em:updateInfoURL>https://v4.activities.sugarlabs.org/app/com.jotaro.ImplodeActivity.html</em:updateInfoURL> <em:updateHash>sha256:18be1821a7f2e6bfb9de59b11d3ae18b92271b354bb8b38f8a06e9d99a37a6fe</em:updateHash> </RDF:Description> </em:targetApplication> </RDF:Description> </RDF:RDF>On 1/21/21 10:03 AM, Srevin Saju wrote:Right. I will configure ASLO-v4 to email sugar-devel@ with release notifications. Thanks to all developers, mentors who helped me out with this. Had a great experience working with it!!! On 1/21/21 10:00 AM, James Cameron wrote:Thanks, great work. Merged 204. I've also updated Browse. https://github.com/sugarlabs/browse-activity/commit/de3c4800ec705e5543c6be2c4d4695255d6e5aac I would prefer new version notifications to go to sugar-devel@lists.sugarlabs.org, as that's one place we've seen them previously. a...@lists.sugarlabs.org was for handling by library editors, but we don't have any active, and we don't have the same process with v4. On Thu, Jan 21, 2021 at 09:16:47AM +0300, Srevin Saju wrote:G'day! ASLO-v4 is finally up at https://v4.activities.sugarlabs.org! ... with only a few more minor tidying up, ASLO-v4 will be ready for production. Activity maintainers can now push their bundles to ASLO-v4 by following the instructions on https://wiki.sugarlabs.org/go/Service/activities4 as well as, that mentioned in https://github.com/sugarlabs/sugar-docs/pull/204. Please feel free to reach out, so that I can improve the existing documentation, or anything you think is too complex. Next steps: * Connect services/update-aslo.php and deploy a flask server (I am trying to get a hold of some more good apache knowledge) * Sending "new version detected" emails to a...@lists.sugarlabs.org, or should we create a new mailing list? -- Srevin Saju https://srevinsaju.mepub RSA 4096/66D390D7 2020-05-19 Srevin Saju (srevinsaju) <srevins...@sugarlabs.org>sub RSA 4096/14479587 2020-05-19_______________________________________________ Systems mailing list syst...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/systems_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel-- Srevin Saju https://srevinsaju.mepub RSA 4096/66D390D7 2020-05-19 Srevin Saju (srevinsaju) <srevins...@sugarlabs.org>sub RSA 4096/14479587 2020-05-19_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
-- Srevin Saju https://srevinsaju.me On 1/27/21 3:09 AM, James Cameron wrote:
On Thu, Jan 21, 2021 at 11:28:00AM +0300, Srevin Saju wrote:And now, (Thanks bernie_!), we can use https://v4.activities.sugarlabs.org/services/update-aslo.php for supporting sugar's microformat update system as mentioned below:* support Sugar's microformat software upgrade feature in My Settings, (Sugar 0.116 is configured in|data/org.sugarlabs.gschema.xml|to use the AsloUpdater in|src/jarabe/model/update/aslo.py|which reaches out to a PHP script|update-aslo.php|, and will instead be configured to use|src/jarabe/model/update/microformat.py|),I've reviewed the output of update-aslo.php briefly. For Implode it gives a minVersion of 0.116 and a maxVersion of 0.117. How does an activity author specify these values? <?xml version="1.0"?> <RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <RDF:Description about="urn:mozilla:extension:com.jotaro.ImplodeActivity"> <em:updates> <RDF:Seq> <RDF:li resource="urn:mozilla:extension:com.jotaro.ImplodeActivity:20.1.1~quozl"/> </RDF:Seq> </em:updates> </RDF:Description> <RDF:Description about="urn:mozilla:extension:com.jotaro.ImplodeActivity:20.1.1~quozl"> <em:version>20.1.1~quozl</em:version> <em:targetApplication> <RDF:Description> <em:id>{9e5ecf85-6bb9-4403-bae8-d6865f19677b}</em:id> <em:minVersion>0.116</em:minVersion> <em:maxVersion>0.117</em:maxVersion> <em:updateLink>https://v4.activities.sugarlabs.org/bundles/Implode-20.1.1~quozl.xo</em:updateLink> <em:updateSize>198</em:updateSize> <em:updateInfoURL>https://v4.activities.sugarlabs.org/app/com.jotaro.ImplodeActivity.html</em:updateInfoURL> <em:updateHash>sha256:18be1821a7f2e6bfb9de59b11d3ae18b92271b354bb8b38f8a06e9d99a37a6fe</em:updateHash> </RDF:Description> </em:targetApplication> </RDF:Description> </RDF:RDF>On 1/21/21 10:03 AM, Srevin Saju wrote:Right. I will configure ASLO-v4 to email sugar-devel@ with release notifications. Thanks to all developers, mentors who helped me out with this. Had a great experience working with it!!! On 1/21/21 10:00 AM, James Cameron wrote:Thanks, great work. Merged 204. I've also updated Browse. https://github.com/sugarlabs/browse-activity/commit/de3c4800ec705e5543c6be2c4d4695255d6e5aac I would prefer new version notifications to go to sugar-devel@lists.sugarlabs.org, as that's one place we've seen them previously. a...@lists.sugarlabs.org was for handling by library editors, but we don't have any active, and we don't have the same process with v4. On Thu, Jan 21, 2021 at 09:16:47AM +0300, Srevin Saju wrote:G'day! ASLO-v4 is finally up at https://v4.activities.sugarlabs.org! ... with only a few more minor tidying up, ASLO-v4 will be ready for production. Activity maintainers can now push their bundles to ASLO-v4 by following the instructions on https://wiki.sugarlabs.org/go/Service/activities4 as well as, that mentioned in https://github.com/sugarlabs/sugar-docs/pull/204. Please feel free to reach out, so that I can improve the existing documentation, or anything you think is too complex. Next steps: * Connect services/update-aslo.php and deploy a flask server (I am trying to get a hold of some more good apache knowledge) * Sending "new version detected" emails to a...@lists.sugarlabs.org, or should we create a new mailing list? -- Srevin Saju https://srevinsaju.mepub RSA 4096/66D390D7 2020-05-19 Srevin Saju (srevinsaju) <srevins...@sugarlabs.org>sub RSA 4096/14479587 2020-05-19_______________________________________________ Systems mailing list syst...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/systems_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel-- Srevin Saju https://srevinsaju.mepub RSA 4096/66D390D7 2020-05-19 Srevin Saju (srevinsaju) <srevins...@sugarlabs.org>sub RSA 4096/14479587 2020-05-19_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
-- Srevin Saju https://srevinsaju.me
OpenPGP_0x1007816766D390D7.asc
Description: application/pgp-keys
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel