[Sugar-devel] [Feature] Start an activity from another activity

James Cameron quozl at laptop.org
Mon Apr 20 00:09:39 EDT 2015


I have no use case for the feature, sorry.  The activities I'm mostly
concerned with stand alone.

But if an activity is written to use the feature, a dependency is
created; my question is _will_ it be encoded, and what are the effects
on other actions that change the list of activities?

What you describe as non-essential is a type of dependency.  Do you
have a use case for that?

On Mon, Apr 20, 2015 at 03:20:34AM +0000, Sam P. wrote:
> Hi James,
> 
> Having activity dependencies is an interesting idea.  What use case would it be
> useful in?
> 
> I was thinking about different use cases, eg; open this file I just downloaded
> in an activity that deals with that mine, I exported my turtle to python code
> so open it in pippy, I need to add a picture to my write doc so make an empty
> file and open it with paint
> 
> In those use cases, I don't think that it would be 100% needed to declare a
> dependency, as it is not essential to the app.
> 
> Thanks,
> Sam
> 
> On Mon, Apr 20, 2015 at 1:04 PM James Cameron <[1]quozl at laptop.org> wrote:
> 
>     How does an activity declare a dependency on another activity?
>     (e.g. [2]activity.info file)
> 
>     Is the dependency versioned?
>     (e.g. depends = Browse >= 157)
> 
>     Is the dependency rigid or only a suggestion?
>     (e.g. suggests = Browse >= 157, vs depends = Browse > 149)
> 
>     How does a download and install of an activity bundle ensure the
>     dependency is satisfied?
> 
>     How does Software Update to a new version of an activity ensure the
>     new dependency is satisfied?
> 
>     How does List View erase of an activity ensure the recursive cascade
>     erasure of the activities that depend on the activity being erased?
> 
>     --
>     James Cameron
>     [3]http://quozl.linux.org.au/
>     _______________________________________________
>     Sugar-devel mailing list
>     [4]Sugar-devel at lists.sugarlabs.org
>     [5]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> References:
> 
> [1] mailto:quozl at laptop.org
> [2] http://activity.info/
> [3] http://quozl.linux.org.au/
> [4] mailto:Sugar-devel at lists.sugarlabs.org
> [5] http://lists.sugarlabs.org/listinfo/sugar-devel

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list