Hi James, I do not think that these dependencies should be encoded. I do not want to create a confusing nested activity list thingo.
When I think about it a little more, it kind of splits in to 2 use cases for me. Specific (launch this given bundle; eg. open pippy after python export in turtle) and abstract (launch a bundle to open/create something with a mime; eg. open downloads in browse). For apps that are using it specifically they might benefit from having the activity installed before time, but I think a popup works and is simple. They also may never use the activity they request or the user may already have the activity installed. For activities that use it abstractly, I think they gain no benefit form installing something before usage or when the user needs it. Thanks, Sam On Mon, Apr 20, 2015 at 2:10 PM James Cameron <qu...@laptop.org> wrote: > 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]qu...@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@lists.sugarlabs.org > > [5]http://lists.sugarlabs.org/listinfo/sugar-devel > > > > References: > > > > [1] mailto:qu...@laptop.org > > [2] http://activity.info/ > > [3] http://quozl.linux.org.au/ > > [4] mailto:Sugar-devel@lists.sugarlabs.org > > [5] http://lists.sugarlabs.org/listinfo/sugar-devel > > -- > James Cameron > http://quozl.linux.org.au/ > _______________________________________________ > 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