[Systems] change to activities.sugarlabs.org config

David Farning dfarning at sugarlabs.org
Mon Oct 12 10:41:28 EDT 2009

On Mon, Oct 12, 2009 at 5:25 AM, Aleksey Lim <alsroot at member.fsf.org> wrote:
> On Sun, Oct 11, 2009 at 03:28:47PM -0500, David Farning wrote:
>> I made a modifications to the a.sl.o config to prepare for mirrorbrain.
>> a.sl.o stored activity data in two places:
>> /srv/www-sugarlabs/activities/files
>> http://download.sugarlabs.org/sources/activities
>> These two locations were symlinked when in fact, they should be
>> separate.  The first location is the 'internal' tree and the second is
>> the 'download' tree.  All activities are stored in the internal tree.
>> Once an activity is made public it is pushed to the download tree.
> Are we pushing .xos to download tree?
> AFAIK nothing copies .xo after publication at least crontab for
> activities user doesn't contain that and /upload/activities isn't
> uptodate(had to change download redirection to
> /upload/activities/activities symlink for now).

I'll look at the code today.  I got the above information from talking
with the infrastructure guys at Mozilla....  Maybe the feature has not
been implemented yet and they are just using a cron job to sync the
two directories.


>> A second reason for the difference is mirror delay.  a.sl.o is
>> currently set to server files from the internal tree for 30 minutes
>> after a activity is made public to give the mirror system a chance to
>> propagte before serving from the download tree.
>> I also moved http://download.sugarlabs.org/sources/activities
>> http://download.sugarlabs.org/activities
>> david
>> _______________________________________________
>> Systems mailing list
>> Systems at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/systems
> --
> Aleksey

More information about the Systems mailing list