[sugar] Bitfrost compliance for Update.1

Marco Pesenti Gritti mpgritti
Tue Nov 6 04:45:52 EST 2007


On 11/6/07, Asheesh Laroia <asheesh at creativecommons.org> wrote:
> On Mon, 5 Nov 2007, Michael Stone wrote:
>
> > On Mon, Nov 05, 2007 at 02:54:23PM +0100, Bert Freudenberg wrote:
> >
> >>> "tmp" is transient and "conf" and "data" are persistent.
> >>
> >> What's the difference between data and conf then?
> >
> > The difference concerns how configuration data from old versions of an
> > activity are handled.
> >
> > The 'data' dir is per-activity-version.
> >
> > The conf dir is also per-activity-version but, the first time you launch
> > a new version [and only the first time, if we can engineer it], the
> > conf-dir for the new version will contain a read-only copy of a previous
> > version's conf data for you to scan, if you wish.
>
> For my activty, os.environ['SUGAR_ACTIVITY_ROOT'] (in a jhbuild) is
> /home/paulproteus/.sugar/default/org.creativecommons.LicensingActivity/ ,
> and these are the directories that exist when the activity is running:
>
> [paulproteus at f7 logs]$ find
> /home/paulproteus/.sugar/default/org.creativecommons.LicensingActivity/
> /home/paulproteus/.sugar/default/org.creativecommons.LicensingActivity/
> /home/paulproteus/.sugar/default/org.creativecommons.LicensingActivity/data
> /home/paulproteus/.sugar/default/org.creativecommons.LicensingActivity/tmp
> [paulproteus at f7 logs]$
>
> So, am I expected to mkdir() the
> /home/paulproteus/.sugar/default/org.creativecommons.LicensingActivity/conf/
> (etc.) directories myself?

Nope. Sugar should create it. The fix is trivial but we are in a
freeze, please open a ticket about it and mention it's important for
Update.1.

Thanks,
Marco



More information about the Sugar-devel mailing list