[Systems] change to activities.sugarlabs.org config
alsroot at member.fsf.org
Mon Oct 12 20:49:33 EDT 2009
On Mon, Oct 12, 2009 at 06:36:31PM -0500, David Farning wrote:
> On Mon, Oct 12, 2009 at 9:41 AM, David Farning <dfarning at sugarlabs.org> wrote:
> > 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.
> The relevant code is on:
> line 106 app/controllers/components/editors.php
> line 571 app/controllers/components/amo.php
> It looks, like we want to enable PUBLIC_STAGING_PATH and point it to
> REPO_PATH contains public, sandbox, and temp files.
> PUBLIC_STAGING_PATH only contains the public files.
yup it works,
just tested it on activities-tresting.sl.o
More information about the Systems