[IAEP] IAEP Digest, Vol 14, Issue 58

Gary C Martin gary at garycmartin.com
Thu May 28 17:21:27 EDT 2009


On 28 May 2009, at 18:04, James Simmons wrote:

> David,
>
> I thought I had answered that one with a previous email.  First, you  
> can see the latest git changes at this link:
>
> http://git.sugarlabs.org/projects/readetexts/repos/mainline/trees/master
>
> I don't know why the main page doesn't show that.  It never has;  
> it's something I've just lived with.
>
> Second, the activity is 100% python, so if you have the .xo file you  
> have all the source there is.

Yes, my feelings exactly...

> I understand there is an option in python setup.py that lets you  
> create a source package but I've never used it.  If I created such a  
> package where would I post it?

Unfortunately what David is referring to (and I don't mean to pick on  
David) is the desire of packagers to have everything provided as .bz2  
for individual bundling. Now I don't understand the desire, or need  
for this, and have yet to see a good argument for it, but it does seem  
(for now at least) that if an Activity author wants to make life  
easier for a packager to distribute their Activity, they should:

1) Use ./setup.py dist_source (this generates a .tar.bz2 file in ./dist)

2) Scp the .bz2 file to shell.sugarlabs.org/upload/sugar/sources/honey/ 
<activity-name>/... This makes it appear at http://download.sugarlabs.org/sources/honey/ 
  but you will need to request shell access first by creating a trac  
ticket at dev.sugarlabs.org (I'm happy to upload the .bz2 bundle for  
you if you email it to me, as it may take a while to get an account,  
and making every Activity author use a shell account on sunjammer is  
not very scalable).

3) Edit the Honey table at http://wiki.sugarlabs.org/go/Development_Team/Source_Code 
  and make sure it lists and points to the latest .bz2

4) Edit another wiki table at http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Roadmap 
  if you want to get Read Etext onto the SoaS distro.

5) Write a Subject: [RELEASE] <activity-name>-<version> email and send  
it to sugar-devel providing a link to the .xo bundle, a link to  
the .bz2, and some release notes about what's new, so that distro  
maintainers and packagers know it available for packaging.

Quite a few additional hoops there for authors to jump through, sorry,  
and you'll need to repeat this for each subsequent release.

Suggestions for improving this workflow anyone? And I'd love to  
understand what is so good about .bz2 and/or if they really are needed  
why a packager can't generate them with ./setup.py dist_source.

Regards,
--Gary

> James Simmons
>
>
> David Van Assche wrote:
>>
>> Please could you also give us the link to the source for the  
>> readetexts activity. We have it packaged in openSUSE, and I'd like  
>> to be able to offer the latest version...
>>
>> kind Regards,
>> David Van Assche
>>
>> P.S. The last git commit I see for read e texts was in March...
>>
>> On Thu, May 28, 2009 at 5:26 PM, James Simmons <jim.simmons at walgreens.com 
>> > wrote:
>> Tomeu,
>>
>> This link is not to the main Gutenberg site, but to a Czech Republic
>> site.  The books seem to be all in Czech.  Project Gutenberg does not
>> list this site as an affiliate.  I don't know what's going on here.
>>
>> James Simmons
>>
>>
>> Tomeu Vizoso wrote:
>> > Hmm, actually I looked for this book and couldn't find it from  
>> inside ETexts:
>> >
>> > http://www.gutenberg.cz/kniha.php?etext_nr=357
>> >
>> > Any idea why?
>> >
>> > Thanks,
>> >
>> > Tomeu
>> >
>>
>>
>> _______________________________________________
>> IAEP -- It's An Education Project (not a laptop project!)
>> IAEP at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/iaep
>>
>
> _______________________________________________
> IAEP -- It's An Education Project (not a laptop project!)
> IAEP at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/iaep



More information about the IAEP mailing list