Re: [Sugar-devel] malformed OurMusic bundle

2010-01-03 Thread imm

On 2 Jan 2010, at 22:10, Wade Brainerd wrote:

 What editor do you use to edit source code?  I do lots of development
 on Windows too, but haven't had this problem.

As Wade says, I find that a lot of modern Windows text editors  
(Notepad not being one of them!) seem to be able to handle unix, dos  
or Mac-style line endings OK, and that many programming editors have  
an explicit option for setting your preferred line-ending style when  
you save a file, so that may be an easy option.

That said, I'd hazard that the canonical answer to Art's question  
is probably dos2unix which many linux distros have, and which I  
think also exists in win32 compatible forms



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


Re: [Sugar-devel] Browse questions for Karma

2010-01-03 Thread Tomeu Vizoso
On Fri, Jan 1, 2010 at 14:13, Bryan Berry br...@olenepal.org wrote:
 I am trying to run the Karma lessons using Browse instead of regular
 Firefox. Using Browse will enable me to create sugar bundle for karma that
 doesn't include binaries
 I have tested it on os10 of 0.86
 http://dev.laptop.org/~smparrish/XO-1/builds/OS10/os10.img on the XO.
 This build uses  xulrunner-1.9.1.5. My version of Conozco a Uruguay
 doesn't run at all
 http://karma.sugarlabs.org/examples/Conozco-Uruguay
 I can run Conozco on my regular laptop w/ Firefox 3.5 which uses
 xulrunner-1.9.1. My understanding was that Browse basically is Firefox. What
 other components make up Browse and which ones distinguish it from regular
 firefox?

Both Browse and Firefox are based on xulrunner. Hulahop is a Gtk+
widget that allows embedding the xulrunner engine and provides some
glue for using PyXPCOM. Browse uses PyXPCOM as Firefox uses XUL and
XBL.

 My first question is, how can I debug web applications running in Browse?

Debug is a bit wide of a term. As a first shot at anticipating what
you want, you could activate the javascript console and use dump()
calls? Those should appear in the activity log file.

https://developer.mozilla.org/en/Debugging_a_XULRunner_Application

 If
 I can't debug on the XO or w/in Sugar, I need someway to replicate nearly
 the exact Firefox environment on my regular laptop.

You mean the exact Browse? You can install F11 on your laptop, or
sugar-jhbuild, Strawberry SoaS should also be very close.

 Also, is there another image besides os10.img that I should try?

I think I heard from Steve about a new image soon.

Regards,

Tomeu

-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [FEATURE] [DESIGN] Journal Reload a new attempt

2010-01-03 Thread Tomeu Vizoso
On Sun, Dec 6, 2009 at 03:20, Aleksey Lim alsr...@member.fsf.org wrote:
 (oops, wrong subject)

 Hi all,


 This post is not about particular feature but about proposed
 to 0.88 features that can be composited to one set.

IMHO, instead of proposing (apparently out of the blue) new features
that change everything including the development and deployment
models, would be better to start from a stated need and then propose
solutions for those.

In the particular case of the Journal, we know from the 0.86 cycle
that the current list widget is not the best we could use. Users are
also demanding a way to select multiple items and perform operations
on them. Sorting has also been requested. Do we really need to decide
on the plugins thing before we solve these simpler issues?

Regards,

Tomeu

 Some of them
 could be implemented in 0.88 partially, some are invasive, some not.
 We lost possibility to push several such features in 0.86 and we have
 a chance to do it once more in 0.88 release cycle. But in my mind,
 start to fix followed issue could be useful even in 0.88.

 * Reinforcing the storage metaphor in sugar
  (w/o loosing dairy component). Since in sugar we have only
  datastore(existed Journal from users POV) as a data storage(excluding
  external sources), we have *very* poor instruments to treat sugar
  object from users POV - user has to face to the whole list of objects
  from begging(there is not way to keep query - should look like
  replacement of regular directories), user even can't manually sort
  Journal objects.

  Could be fixed by:
  * [5] having sugar directories - bookmarks
  * [6] several views that could provide most useful browsing features

 * Having extended storage metaphor, we should save dairy component,
  so we can start implementing of long discussing Actions feature

  Could be fixed by:
  * [2] its only a stub, so any ideas are welcome

 * Make existed work flows more consistent
  (activities vs. objects-that-could-be-treated-as-activities,
  activities vs. activity bundles)

  Could be fixed by:
  * having [5], there is simple behaviour, all sugar objects are
    accessible from one place but from different views e.g. Hove view
    is just a special view that contain only activities(but could
    contain other objects too to speed up access) or new Actions view
    is a dairy view

 * Encourage activity developers make custom objects views,
  (having only one object view we either have complicated view or
  feature less one)

  Could be fixed by:
  * [1]


 These features are:

 [1] http://wiki.sugarlabs.org/go/Features/Journal_Plugins
    the name could be confusing but [1] should provide all features that
    are mentioned here

    How its invasive:
    * except [7], non of UI should be changed in default sugar distribution
    * code will be refactored to support plugins API

 [2] http://wiki.sugarlabs.org/go/Features/Actions
    this page just a stub, so who are original initiators (or have ideas)
    for this feature, please tweak wiki page to cover all workflows

    How its invasive:
    * the full implementation of this feature could be too invasive for UI
      and codebase, but we can just initiate this feature in 0.88 and
      collect users feedback to improve it in 0.90

 [3] http://wiki.sugarlabs.org/go/Features/Activity_as_a_regular_Journal_Object

    How its invasive:
    * adds another confusion when user deletes activity instead of
      activity objects but having [5], by default, all object sets could
      not contain activity object except special activity views that can
      make activity removing more explicit for users
    * shouldn't be invasive in case of codding

 [4] http://wiki.sugarlabs.org/go/Features/Sugar_Bundles

    How its invasive:
    * codding shouldn't be invasive


 Summarising above text, I think we can start implementation of these
 features in 0.88 release cycle(but we shouldn't implement the final
 workflows and make only initial steps e.g. in case of Actions). So, what
 community thinks about how such features could be invasive to users
 workflows and codebase and how it could(invasive changes) be reduced.


 [5] http://wiki.sugarlabs.org/go/Features/Journal_Plugins#Data_model
 [6] http://wiki.sugarlabs.org/go/Features/Journal_Plugins#View_model
 [7] http://wiki.sugarlabs.org/go/Features/Journal_Plugins#UI_Design

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




-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] File Share Activity

2010-01-03 Thread Tomeu Vizoso
Hola,

creo que os puede interesar esta actividad, que facilita mucho la
distribucion de contenido y actividades en el aula.

http://activities.sugarlabs.org/en-US/sugar/addon/4266

Saludos,

Tomeu

On Wed, Dec 30, 2009 at 22:24, Justin Lewis jtl1...@rit.edu wrote:
 I have been building a File Share activity and I have just uploaded a
 copy of it to the activities page.

 I am looking for testing, feedback, bugs, and any other comments you may have.

 It can be found here: http://activities.sugarlabs.org/en-US/sugar/addon/4266

 Justin Lewis
 http://people.rit.edu/~jtl1728
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Browse questions for Karma

2010-01-03 Thread Bryan Berry
On Sun, Jan 3, 2010 at 5:06 PM, Tomeu Vizoso to...@sugarlabs.org wrote:

 On Fri, Jan 1, 2010 at 14:13, Bryan Berry br...@olenepal.org wrote:
  I am trying to run the Karma lessons using Browse instead of regular
  Firefox. Using Browse will enable me to create sugar bundle for karma
 that
  doesn't include binaries
  I have tested it on os10 of 0.86
  http://dev.laptop.org/~smparrish/XO-1/builds/OS10/os10.img on the XO.
  This build uses  xulrunner-1.9.1.5. My version of Conozco a Uruguay
  doesn't run at all
  http://karma.sugarlabs.org/examples/Conozco-Uruguay
  I can run Conozco on my regular laptop w/ Firefox 3.5 which uses
  xulrunner-1.9.1. My understanding was that Browse basically is Firefox.
 What
  other components make up Browse and which ones distinguish it from
 regular
  firefox?

 Both Browse and Firefox are based on xulrunner. Hulahop is a Gtk+
 widget that allows embedding the xulrunner engine and provides some
 glue for using PyXPCOM. Browse uses PyXPCOM as Firefox uses XUL and
 XBL.



  My first question is, how can I debug web applications running in Browse?



 Debug is a bit wide of a term. As a first shot at anticipating what
 you want, you could activate the javascript console and use dump()
 calls? Those should appear in the activity log file.

 https://developer.mozilla.org/en/Debugging_a_XULRunner_Application


this is quite helpful, tks


  If
  I can't debug on the XO or w/in Sugar, I need someway to replicate nearly
  the exact Firefox environment on my regular laptop.

 You mean the exact Browse? You can install F11 on your laptop, or
 sugar-jhbuild, Strawberry SoaS should also be very close.


I will probably go w/ SoaS then. My bandwidth is too lousy to run
sugar-jhbuild


  Also, is there another image besides os10.img that I should try?

 I think I heard from Steve about a new image soon.

 Regards,


I look forward to using it. tks for your help tomeu
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [RELEASE] sugar-0.84.10

2010-01-03 Thread Daniel Drake
== Source ==

http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.84.10.tar.bz2

== News ==

* can't create ad-hoc network when name is 7+ characters #1604
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Please tag tarball releases in git repository, e.g. Sugar 0.87.2

2010-01-03 Thread Tomeu Vizoso
On Wed, Dec 30, 2009 at 14:04, Jonas Smedegaard d...@jones.dk wrote:
 Hi,

 Please do remember to tag tarball releases in Git repositories.  Those tags
 are helpful for (some) distributors - like me :-)

Oops, was a problem with the release script, git push failed because I
had some non-uptodate branches and the script didn't pushed the tags.
I'm attaching a patch for Simon to review.

 Concretely Sugar 0.87.2 released december 21st lack a tag about that.

Pushed, thanks!

Regards,

Tomeu


 Kind regards,

 - Jonas

 --
 * Jonas Smedegaard - idealist  Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)

 iQIcBAEBCgAGBQJLO0/aAAoJECx8MUbBoAEheicP/37UK0+SUQVbOHL9p1Lc7nVl
 p+K6T3Q3jbhKVymTlGuKIirHpPp4y0FTy/X3kJbtPPAtFHYfcg0v+M5JMGJL9NqS
 gWQCITI1o+4Qd7d22j8FOSwX8hrsGwa6bwFtc1bHG17LRi47ZgNXjb5A/9LuQV00
 1EIsYUT4uZzEIldtBoRw1iZ4B3/kOdgv2BOHVlc7VxKd0HHSPOSyBOS41cIxIJEQ
 njA+e3HZERc1kKXz5VPNzCGfo4cFfa2D1MDGy1BXp3eU0Yv8vJd7mdq3KVIdne/X
 CpxSONQMMUIgGXIC7UkH1CPy+fXmEaAVkG5gDB7E6Rd35D638rIgFOul7inftQFl
 9ZNUP8BwBfJmsHewGPrMt9yqbdeq8TuIbRBD1Whpx+4h4cXhHNeqVwK9xgyVYQTG
 U+pxE9h6sZOhOvNmx/XOXp/rK6xDz3yPNOcqhnFqMZjbNJUUtsC9XIr7aUgGU06P
 h/7nycSQFvCPk5FBrI/dhAIgn8nF2ozbLXgpB82AfXGQCfblOxskhuSgQf0YfBy3
 6k9CeBIxIt0n7wcv86EKH1WXBZ7cC8IQRIqUIkmYzNZyFjPrYr23wBs1hg34w7nx
 ZRSuLMLw92FtUc+x7dRT++C81BlJfRYQLqFik6z1V0GW1xSE7EqMM+YUMmu+Y7TA
 HeaW9o9JqV9qcQIyzGwI
 =hRAp
 -END PGP SIGNATURE-

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





-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning


0001-Push-only-to-master.patch
Description: Binary data
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Speak-12

2010-01-03 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4038

Sugar Platform:
0.82 - 0.86

Download Now:
http://activities.sugarlabs.org/downloads/file/26538/speak-12.xo

Release notes:
* Add toolkit service to use new toolbars design in all supported sugars
* Add gst-plugins-espeak service to use gst in 0.82
* Speak offline mode warning
* Do not cache bot brains to save memory
* Load standard AIML set for restricted systems
* Implant xeyes


Sugar Labs Activities
http://activities.sugarlabs.org

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


[Sugar-devel] [ASLO] Release Cartoon Builder-9

2010-01-03 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4037

Sugar Platform:
0.82 - 0.86

Download Now:
http://activities.sugarlabs.org/downloads/file/26537/cartoonbuilder-9.xo

Release notes:
* Remove redundant gst operations to suppress errors on XO-1
* Update saccharin startup script


Sugar Labs Activities
http://activities.sugarlabs.org

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


[Sugar-devel] [ANNOUNCE] Sugar Services

2010-01-03 Thread Aleksey Lim
Happy New Year to all,

http://wiki.sugarlabs.org/go/Activity_Team/Services

It is the first version Sugar Services infrastructure which is ready
to test or use in simple cases(see Known Issues[1]).

In short terms it's about adding decentralized method to support
various activity dependencies. See what Services is[2] and is not[3].


There are also guides for:

* activity developers
  
http://wiki.sugarlabs.org/go/Documentation_Team/Services/Activity_Developers_Guide

* service developers
  
http://wiki.sugarlabs.org/go/Documentation_Team/Services/Service_Developers_Guide


Examples:

* CartoonBuilder-9
  http://activities.sugarlabs.org/en-US/sugar/addon/4037
  uses Toolkit[4] service which provides new toolbar design for 0.82+

* Speak-12
  http://activities.sugarlabs.org/en-US/sugar/addon/4038
  uses gst-plugins-espeak[5] service which lets activity use gst plugin
  instead of executing espeak command on XO-1

In all examples the only change(except bundling 0sugar-launch, since
saccharin is not part of Sugar Platform) is adding new string to
activity.info:

   requires = toolkit; gst-plugins-espeak


[1] 
http://wiki.sugarlabs.org/go/Documentation_Team/Services/Activity_Developers_Guide#Known_issue
[2] http://wiki.sugarlabs.org/go/Activity_Team/Services#Workflows
[3] 
http://wiki.sugarlabs.org/go/Activity_Team/Services#What_is_Sugar_Services_not.3F
[4] http://wiki.sugarlabs.org/go/Activity_Team/Services/Toolkit
[5] http://git.sugarlabs.org/projects/gst-plugins-espeak

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


Re: [Sugar-devel] Non sugar activities on ASLO

2010-01-03 Thread Aleksey Lim
On Mon, Nov 23, 2009 at 02:46:52PM -0600, Jim Simmons wrote:
 Aleksey,
 
 It would be helpful to have a way to distribute things like the
 gstreamer espeak plugin you wrote.  Fedora doesn't currently include
 it.  It would be even better if you could distribute versions that
 work on the XO running .82, as well as versions for current Fedora.
 Don't know if that was what you had in mind.
 
 James Simmons

You can follow
http://wiki.sugarlabs.org/go/Documentation_Team/Services/Activity_Developers_Guide
to add gst-plugins-espeak serivce to your activity, it will install
gst-plugin on first activity launch
http://git.sugarlabs.org/projects/speak does the same

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


Re: [Sugar-devel] Fedora Sugar Meeting Minutes 31/12/2009

2010-01-03 Thread Sebastian Dziallas
Hi Wade,

thanks a lot for sharing your concerns that openly! I've dropped a few 
comments inline...

Wade Brainerd wrote:
 Hi Sebastian,

 I'm concerned that you guys are planning to require activity authors
 to package their activities in Fedora, in order to see them shipped in
 SoaS.  Is this the case?

We're not going to require anybody doing anything - and certainly not in 
the current state. Creating RPMs from activities is at the moment still 
too complicated - which is why we're working at making it easier.

As you say below yourself, even tarballs don't get created by some 
authors. So it wouldn't even be possible to ask people to install 
Fedora, read lots of documents, create random .spec files and run 
spurious commands (exaggeration intended).

So. That's also why we're doing this as a Fedora / Sugar effort and 
we're sending this to fedora-olpc and sugar-devel: People from Fedora 
could get easily into contributing to Sugar by helping out with 
packaging and probably doing more things on their favorite activity. And 
Sugar folks might be interested in doing some distro work, too.

 Currently SoaS pulls a predefined list of activities from ASLO.

This is true.

 I think requiring Fedora packaging would be too much extra work
 activity authors.  If you look at the packaged versions on
 download.sugarlabs.org, many are out of date from their ASLO
 equivalents.

That's true, too. But it means that even just running one additional 
command doesn't get done by some authors.

 Also, will you still allow packages from rpmfusion?  These are
 currently required to make VirtualBox Guest Additions work.

I don't think this should be a blocker for us. From what I know, the 
VirtualBox Guest Additions are not in Fedora because they ship a kernel 
module and Fedora doesn't permit the inclusion of kernel modules.

Anyway, what I'm basically saying is just that moving work we're doing 
anyway (as SoaS, a distributor) upstream is a good thing.

 Best,
 Wade

Cheers,
--Sebastian

 On Thu, Dec 31, 2009 at 11:30 AM, Sebastian Dziallassebast...@when.com  
 wrote:
 This is it. First meeting after some time, quite some folks joined.

 Thanks to all those who dropped by! Here are the minutes and logs:

 http://meeting.olpcorps.net/fedora-olpc/fedora-olpc.minutes.20091231_1013.html

 http://meeting.olpcorps.net/fedora-olpc/fedora-olpc.log.20091231_1013.html

 Next date is the Sugar Packaging Session on Jan 6, 1500 UTC [1] - if
 you're interested in learning how to package, join us!

 --Sebastian

 [1] https://fedoraproject.org/wiki/Classroom#Upcoming_Classes
 ___
 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 mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Visual Match-15

2010-01-03 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4246

Sugar Platform:
0.82 - 0.86

Download Now:
http://activities.sugarlabs.org/downloads/file/26539/visual_match-15.xo

Release notes:
* added low/high levels for game play
* new activity icon


Sugar Labs Activities
http://activities.sugarlabs.org

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


Re: [Sugar-devel] [ANNOUNCE] Sugar Services

2010-01-03 Thread Tomeu Vizoso
On Sun, Jan 3, 2010 at 19:12, Aleksey Lim alsr...@member.fsf.org wrote:
 Happy New Year to all,

 http://wiki.sugarlabs.org/go/Activity_Team/Services

I don't think I fully understand your plan with services yet, but when
you feel this is ready to receive feedback from deployments, ask me,
though I haven't had always success with that...

Regards,

Tomeu

 It is the first version Sugar Services infrastructure which is ready
 to test or use in simple cases(see Known Issues[1]).

 In short terms it's about adding decentralized method to support
 various activity dependencies. See what Services is[2] and is not[3].


 There are also guides for:

 * activity developers
  http://wiki.sugarlabs.org/go/Documentation_Team/Services/Activity_Developers_Guide

 * service developers
  http://wiki.sugarlabs.org/go/Documentation_Team/Services/Service_Developers_Guide


 Examples:

 * CartoonBuilder-9
  http://activities.sugarlabs.org/en-US/sugar/addon/4037
  uses Toolkit[4] service which provides new toolbar design for 0.82+

 * Speak-12
  http://activities.sugarlabs.org/en-US/sugar/addon/4038
  uses gst-plugins-espeak[5] service which lets activity use gst plugin
  instead of executing espeak command on XO-1

 In all examples the only change(except bundling 0sugar-launch, since
 saccharin is not part of Sugar Platform) is adding new string to
 activity.info:

   requires = toolkit; gst-plugins-espeak


 [1] 
 http://wiki.sugarlabs.org/go/Documentation_Team/Services/Activity_Developers_Guide#Known_issue
 [2] http://wiki.sugarlabs.org/go/Activity_Team/Services#Workflows
 [3] 
 http://wiki.sugarlabs.org/go/Activity_Team/Services#What_is_Sugar_Services_not.3F
 [4] http://wiki.sugarlabs.org/go/Activity_Team/Services/Toolkit
 [5] http://git.sugarlabs.org/projects/gst-plugins-espeak

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




-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] g.sl.o issues for Karma and perhaps other activities

2010-01-03 Thread Bernie Innocenti
On Sun, 2010-01-03 at 08:29 +0545, Bryan Berry wrote:

 
 I am wary of experimenting when the gslo infrastructure is still in
 flux. I would rather stick w/ gitweb or cgit and then move to whatever
 becomes of gslo. Should we start w/ cgit or gitweb?
 

An alternative to installing a local multi-repository interface just
occurred to me.

To solve the data transfer issue, git offers a pletora of
bandwidth-saving options. One possibility is to let the Nepali
developers clone from each other's repository:


 git clone --reference officemate.local:~bryanwb/src/karma \
git://git.sugarlabs.org/karma/mainline.git karma


Alternatively, you could rsync the files to your local machine:

  rsync -aP officemate.local:~bryanwb/src/karma/.git karma-ref.git
  git clone --reference karma-ref.git \
  git://git.sugarlabs.org/karma/mainline.git karma

It doesn't matter if the reference repository contains unwanted changes
or hasn't been updated for a while. Any good bits will be reused, and
the rest will be fetched remotely.

Other tips:

 * Never use the http protocol, as it is quite inefficient.

 * try passing the --thin option when you pull. The server-side
   will work harder to minimize file transfers.

 * Another way to speed-up initial cloning is to limit the number
   of revisions with --depth. It's usually not a big deal, unless
   your history contains lots of large files that were subsequently
   deleted.

 * If your history contains plenty of similar files, for example
   PNGs that have been merely moved around, you'd benefit by
   repacking your repository with larger --window and --depth
   parameters. You could repack locally and, when you're happy
   with the result, push it to Gitorious with git push --mirror.

 * If your history is badly messed up, you may edit it locally
   with a combination of the advanced git operations such as
   git rebase --interactive, git reset --hard and
   git commit --amend. When you publish the resulting edited
   history, people who had previously cloned from you will have
   to refetch. Needless to say, git's arsenal of history-rewriting
   commands is as dangerous as it is powerful.
 
 * the git:// protocol is probably slightly faster than using the
   ssh tunnel. You can easily switch between the two using
   git remote ... or by editing .git/config manually.

Free git advice is available from me on #sugar, GMT-5 office hours.
Next business day, on-site support contracts available on demand.
Git is a registered trademark of Stupid Version Control Systems, Inc.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs   - http://sugarlabs.org/

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


Re: [Sugar-devel] [ANNOUNCE] Sugar Services

2010-01-03 Thread Aleksey Lim
On Sun, Jan 03, 2010 at 09:50:08PM +0100, Tomeu Vizoso wrote:
 On Sun, Jan 3, 2010 at 19:12, Aleksey Lim alsr...@member.fsf.org wrote:
  Happy New Year to all,
 
  http://wiki.sugarlabs.org/go/Activity_Team/Services
 
 I don't think I fully understand your plan with services yet, but when
 you feel this is ready to receive feedback from deployments, ask me,
 though I haven't had always success with that...

Services are useful not deployments but for activity developers

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


[Sugar-devel] [ASLO] Release Free Cell-2

2010-01-03 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4054

Sugar Platform:
0.82 - 0.86

Download Now:
http://activities.sugarlabs.org/downloads/file/26540/freecell-2.xo

Release notes:
Release 2 adds the ability to save the game in Journal, and to store 
statistics, so on restart, statistics is remembered from last game. This was 
suggested and helped along by Bert.

There is a blog where I will describe more about how to use Etoys to write a 
Sugar based activity: http://etoys-squeak-and-sugar.blogspot.com/


Sugar Labs Activities
http://activities.sugarlabs.org

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