Re: [Sugar-devel] Get Books ready to release

2024-03-09 Thread James Cameron
G'day Archit,

See https://github.com/sugarlabs/GSoC?tab=readme-ov-file#how-to-talk-to-us-

On Sat, Mar 09, 2024 at 10:09:13PM -0700, Archit Agrawal wrote:
> Hi,
> This is Archit Agrawal. I am interested in contributing to the SugarLabs
> project. I came across this project through GSOC. What medium would be best to
> reach out to mentors. I was only able to find the mailing list and hence I 
> have
> subscribed to it.
> 
> [1]Mailtrack  Sender notified by  09/03/24, 22:06:51
>   [2]Mailtrack
> 
> *
> On Sat, Mar 9, 2024 at 9:04 PM James Cameron <[3]qu...@laptop.org> wrote:
> 
> On Sat, Mar 09, 2024 at 07:51:08PM -0600, James Simmons wrote:
> > * check for a release version git tag, e.g. v34,
> >    
> >     There are no Git tags for this Activity
> 
> I've just checked, there are tags, perhaps your repository didn't have
> them pulled.
> 
> [4]https://github.com/sugarlabs/get-books-activity/tags
> ___
> Sugar-devel mailing list
> [5]Sugar-devel@lists.sugarlabs.org
> [6]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> References:
> 
> [1] 
> https://mailtrack.io/?utm_source=gmail_medium=signature_campaign=signaturevirality11;
> [2] 
> https://mailtrack.io/?utm_source=gmail_medium=signature_campaign=signaturevirality11;
> [3] mailto:qu...@laptop.org
> [4] https://github.com/sugarlabs/get-books-activity/tags
> [5] mailto:Sugar-devel@lists.sugarlabs.org
> [6] http://lists.sugarlabs.org/listinfo/sugar-devel
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Get Books ready to release

2024-03-09 Thread Archit Agrawal
Hi,
This is Archit Agrawal. I am interested in contributing to the SugarLabs
project. I came across this project through GSOC. What medium would be best
to reach out to mentors. I was only able to find the mailing list and hence
I have subscribed to it.



[image: Mailtrack]

Sender
notified by
Mailtrack

09/03/24,
22:06:51

On Sat, Mar 9, 2024 at 9:04 PM James Cameron  wrote:

> On Sat, Mar 09, 2024 at 07:51:08PM -0600, James Simmons wrote:
> > * check for a release version git tag, e.g. v34,
> >
> > There are no Git tags for this Activity
>
> I've just checked, there are tags, perhaps your repository didn't have
> them pulled.
>
> https://github.com/sugarlabs/get-books-activity/tags
> ___
> 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


Re: [Sugar-devel] Get Books ready to release

2024-03-09 Thread James Cameron
On Sat, Mar 09, 2024 at 07:51:08PM -0600, James Simmons wrote:
> * check for a release version git tag, e.g. v34,
>    
>     There are no Git tags for this Activity

I've just checked, there are tags, perhaps your repository didn't have
them pulled.

https://github.com/sugarlabs/get-books-activity/tags
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Get Books ready to release

2024-03-09 Thread James Cameron
Thanks James.  I've done the remaining steps.  My reply in context below.

Hopefully I've done everything, let me know if I've missed something.

On Sat, Mar 09, 2024 at 07:51:08PM -0600, James Simmons wrote:
> Here is my checklist for Get Books Activity:
> 
> Checklist - maintainer
> 
> * check version of latest tarball release in 
> [1]download.sugarlabs.org/sources/
> sucrose/fructose/ or [2]download.sugarlabs.org/sources/honey/,
>    
>     Latest version is 19.
> 
> * check for a release version git tag, e.g. v34,
>    
>     There are no Git tags for this Activity

After the translations update (see below) I did "git tag v20" then
"git push --tags".

> *  correlate with activity_version metadata in activity/[3]activity.info,
> 
>     Updated to version 20
> 
> *  look for commits after any of these, in either;
>         master branch of repository at sugarlabs,
>         any other branches,
>         any other forks,
>         orphaned repositories with the same bundle_id value, using GitHub or
> Google Search,
>         deprecated repositories at [4]git.sugarlabs.org,
> 
>     Nothing like this found.
> 
> * review and merge all pull requests,
> 
>     I looked at the other pull requests. There were two that attempted to make
> the application\
>     work under Python 3. They ran into the same problems with feedparser.py 
> and
> Python 3 not having
>     sgmllib that I did. I fixed those problems by using a later version (but
> not current) version
>     of feedparser that included its own version of sgmllib.

I've closed these pull requests, thanks.

> * apply all desired commits, making pull requests if review is needed,
> 
>     Done
> 
> * apply any [5]translate.sugarlabs.org changes, e.g. using a download script,
>     if there is a po/*.pot file, regenerate using python setup.py genpot,
> review the changes, and commit,
>     notify our translation-community manager @leonardcj if the POT file 
> changes
> contain new or changed
>     strings,
>    
>     No translated strings were affected by this update.

Some new Swedish translated strings arrived between 19 and 20, so I've
pushed them to master.

https://github.com/sugarlabs/sugar-tools has an activity-translations
script that I used.

> * update the README.md file if necessary,
> 
>     Just did that. This required a second pull request as the first was 
> already
> done.

Thanks, merged.

> * write release notes for the NEWS file, change the activity_version metadata
> in activity/[6]activity.info, commit, and git tag the version,
> 
>     Done
> 
> * update the activity documentation in the help-activity repository,
> 
>     Not needed. The Activity works the same as it always did.
> 
> * for activities that include a tarball release, or where Fedora or Debian
> packages may be made, create a tarball using python setup.py dist_source, and
> upload tarball to [7]download.sugarlabs.org using shell account,
> 
>     I have no such account.

I did copy the tarball release to
sunjammer:/upload/sources/honey/GetBooks/ and you can see it at
https://download.sugarlabs.org/sources/honey/GetBooks/?C=M;O=D

> * create bundle using python setup.py dist_xo, and test that it can be
> installed by Browse,
> 
>     I have not tested this.

I did the bundle create, but I didn't test it can be installed.

I also uploaded to
https://people.sugarlabs.org/~quozl/?C=M;O=D

> * rebase any other maintained branches or pull requests, such as those for 
> past
> or future versions of Python, or past releases of Fedora, Ubuntu or libraries.
> 
>     The other pull requests appear to be abandoned. They could be closed.

They are closed.  There are some issues open, in case you'd like to
respond to those.

> * for Python 3 Activities, copy the bundle to ~activities-v4/bundles, remove
> any other old versions of the bundle from ~activities-v4/bundles, and trigger 
> a
> rebuild of the static site using rebuild-aslo command, verify if your bundle 
> is
> visible on [8]https://v4.activities.sugarlabs.org . For more information, it 
> is
> recommended to take a look at the Activities4 wiki page
> 
>    I don't think this is something I have the ability to do.

I did copy the bundle to sunjammer:/srv/activities-v4/bundles/ then
ran rebuild-aslo, using my account on sunjammer.  Let me know if you'd
like an account.

After that, the https://v4.activities.sugarlabs.org site does list
GetBooks 20.

https://v4.activities.sugarlabs.org/app/org.laptop.sugar.GetBooksActivity.html

> I will make similar lists for the Read Activity (minor bug fix), GetIABooks,
> and Sugar Commander when I have time.
> 
> Thanks.
> 
> James Simmons
> 
> On Sat, Mar 9, 2024 at 2:04 PM James Cameron <[9]qu...@laptop.org> wrote:
> 
> Thanks.  I've merged.
> 
> Steps for releasing are at
> 
> [10]https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md
> #checklist---maintainer
> 
> Skip any you feel are not helpful.
> 
> Tell us of any you can't or won't 

[Sugar-devel] [ASLOv4] [RELEASE] Get Books - 20

2024-03-09 Thread activities-v4
Get Books-20 has been released

Version: 20
Bundle ID: org.laptop.sugar.GetBooksActivity
Release time: 2024-03-10 14:34:54

You can download the latest release of this activity here:
  - Info: 
https://v4.activities.sugarlabs.org/app/org.laptop.sugar.GetBooksActivity.html
  - Download: https://v4.activities.sugarlabs.org/bundles/GetBooks-20.xo



NEW IN THIS VERSION
---

Feedbooks is going out of business soon and its OPDS feed is no more. I tried
several other OPDS feeds from this list: http://opdshome.uo1.net/ including
the one from Project Gutenberg and found them all to be unsatisfactory for
one reason or another. OPDS catalogs are not standardized as much as they could
be.



If you have questions about this review, please answer to this e-mail
or join #sugar:matrix.org or #sugar on irc.libera.chat

--
Sugar Activity Library
https://v4.activities.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Get Books ready to release

2024-03-09 Thread James Simmons
Here is my checklist for Get Books Activity:

Checklist - maintainer

* check version of latest tarball release in
download.sugarlabs.org/sources/sucrose/fructose/ or
download.sugarlabs.org/sources/honey/,

Latest version is 19.

* check for a release version git tag, e.g. v34,

There are no Git tags for this Activity

*  correlate with activity_version metadata in activity/activity.info,

Updated to version 20

*  look for commits after any of these, in either;
master branch of repository at sugarlabs,
any other branches,
any other forks,
orphaned repositories with the same bundle_id value, using GitHub
or Google Search,
deprecated repositories at git.sugarlabs.org,

Nothing like this found.

* review and merge all pull requests,

I looked at the other pull requests. There were two that attempted to
make the application\
work under Python 3. They ran into the same problems with feedparser.py
and Python 3 not having
sgmllib that I did. I fixed those problems by using a later version
(but not current) version
of feedparser that included its own version of sgmllib.

* apply all desired commits, making pull requests if review is needed,

Done

* apply any translate.sugarlabs.org changes, e.g. using a download script,
if there is a po/*.pot file, regenerate using python setup.py genpot,
review the changes, and commit,
notify our translation-community manager @leonardcj if the POT file
changes contain new or changed
strings,

No translated strings were affected by this update.

* update the README.md file if necessary,

Just did that. *This required a second pull request as the first was
already done.*

* write release notes for the NEWS file, change the activity_version
metadata in activity/activity.info, commit, and git tag the version,

Done

* update the activity documentation in the help-activity repository,

Not needed. The Activity works the same as it always did.

* for activities that include a tarball release, or where Fedora or Debian
packages may be made, create a tarball using python setup.py dist_source,
and upload tarball to download.sugarlabs.org using shell account,

   * I have no such account.*

* create bundle using python setup.py dist_xo, and test that it can be
installed by Browse,

   * I have not tested this.*

* rebase any other maintained branches or pull requests, such as those for
past or future versions of Python, or past releases of Fedora, Ubuntu or
libraries.

*The other pull requests appear to be abandoned. They could be closed.*

* for Python 3 Activities, copy the bundle to ~activities-v4/bundles,
remove any other old versions of the bundle from ~activities-v4/bundles,
and trigger a rebuild of the static site using rebuild-aslo command, verify
if your bundle is visible on https://v4.activities.sugarlabs.org . For more
information, it is recommended to take a look at the Activities4 wiki page

   *I don't think this is something I have the ability to do.*

I will make similar lists for the Read Activity (minor bug fix),
GetIABooks, and Sugar Commander when I have time.

Thanks.

James Simmons


On Sat, Mar 9, 2024 at 2:04 PM James Cameron  wrote:

> Thanks.  I've merged.
>
> Steps for releasing are at
>
> https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#checklist---maintainer
>
> Skip any you feel are not helpful.
>
> Tell us of any you can't or won't proceed with.
>
> On Sat, Mar 09, 2024 at 10:20:19AM -0600, James Simmons wrote:
> > I have a pull request for the Get Books Activity ready to review.
> >
> > Feedbooks is going out of business, so only Internet Archive is
> supported. I
> > investigated several other OPDS feeds but they all had issues. The
> Activity
> > runs under Python 3 now.
> >
> > I think this is ready to release.
> >
> > James Simmons
> >
>
> > ___
> > 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


Re: [Sugar-devel] Get Books ready to release

2024-03-09 Thread James Cameron
Thanks.  I've merged.

Steps for releasing are at
https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#checklist---maintainer

Skip any you feel are not helpful.

Tell us of any you can't or won't proceed with.

On Sat, Mar 09, 2024 at 10:20:19AM -0600, James Simmons wrote:
> I have a pull request for the Get Books Activity ready to review.
> 
> Feedbooks is going out of business, so only Internet Archive is supported. I
> investigated several other OPDS feeds but they all had issues. The Activity
> runs under Python 3 now.
> 
> I think this is ready to release.
> 
> James Simmons
> 

> ___
> 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] Get Books ready to release

2024-03-09 Thread James Simmons
I have a pull request for the Get Books Activity ready to review.

Feedbooks is going out of business, so only Internet Archive is supported.
I investigated several other OPDS feeds but they all had issues. The
Activity runs under Python 3 now.

I think this is ready to release.

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


[Sugar-devel] Get Books pull request ready to go

2024-03-09 Thread James Simmons
I got the Get Books activity working pretty well. It only supports the
Internet Archive at the moment, because Feedbooks is going out of business
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Project Discussion: Adding Real-Time Collaboration to Music Blocks

2024-03-09 Thread Walter Bender
Thanks for reaching out.

On Sat, Mar 9, 2024 at 2:59 AM ankita kumari 
wrote:

>
>
> Dear Walter Bender , Devin Ulibarri,
>
>
>
> I hope this email finds you well. My name is Ankita, and I am excited
> about the opportunity to work on the project "Add real-time collaboration
> to Music Blocks" for Google Summer of Code (GSoC) with Sugar Labs. Before
> we proceed further, I believe it would be beneficial for us to have an
> initial discussion to align on project goals and expectations.
>
>
>
> Could you suggest or advice me at your earliest convenience to discuss the
> following topics?
>
>
>
> 1. Project Overview: I would like to gain a deeper understanding of the
> goals and objectives of the project, as well as any specific requirements
> or constraints.
>

The goal of the project is to enable Music Blocks users to work
cooperatively on a Music Blocks program in real time. (By analogy, think
about working on a Google document in real time with a colleague. As you
make changes to the document, your colleague sees them, and vice versa.)
The Sugar Write program (which incidentally predates Google Docs) has the
same functionality.

>
>
> 2. Technical Details: It would be helpful to discuss the technologies
> involved, such as frontend and backend languages, and any existing
> frameworks or libraries we plan to leverage.
>

Music Blocks is written in JavaScript. Presumably there will be a
server-side component, which could be written in, for example, Python. But
that is largely up to you. Something you'd specify in your proposal.

>
>
> 3. Timeline and Milestones: I aim to establish a clear timeline with
> achievable milestones for the project, allowing us to track progress
> effectively throughout the GSoC period.
>

The timeline is also largely up to you as long as it fits into the overall
GSoC timeline and requirements.

>
>
> 4. Collaboration and Communication: Effective communication is key to the
> success of our collaboration. I would like to discuss our preferred
> communication channels and frequency of updates to ensure we stay aligned
> throughout the project.
>

We largely communicate in Matrix. There are details in the Sugar Docs repo
in github.com/sugarlabs.

I use the Element client for Matrix. For this project, we'd hang out in
https://app.element.io/?pk_vid=8071c9718feef07a1612906641e052f1#/room/#musicblocksdev:matrix.org

>
>
> 5. Mentorship and Support: I value your expertise and guidance as a
> mentor, and I am eager to learn from your insights and experience. I look
> forward to discussing how we can best support each other throughout the
> project.
>

I'd recommend as a first step that you get familiar with Music Blocks --
write some Music Blocks programs and start to familiarize yourself with the
code. There are lots of detailed README files in the MB repo.

You should also look into the Sugar collaboration model. Although we are
doing something somewhat differently, the gist is the same. It may give you
some basic ideas about interaction, if not implementation.

Please don't hesitate to reach out to either of us or the Sugar community
at large.


>
>
> Please suggest me how to start the project.
>
>
>
> Thank you for considering my request, and I look forward to our discussion.
>
>
>
> Best regards,
>
>
>
> Ankita
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>

regards

-walter
-- 
Walter Bender
Sugar Labs
https://www.sugarlabs.org

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