<div dir="ltr"><div><div><div><div><div>Hi James,<br><br></div>Having activity dependencies is an interesting idea. What use case would it be useful in?<br><br></div>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<br><br></div>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.<br><br></div>Thanks,<br></div>Sam<br></div><br><div class="gmail_quote">On Mon, Apr 20, 2015 at 1:04 PM James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How does an activity declare a dependency on another activity?<br>
(e.g. <a href="http://activity.info" target="_blank">activity.info</a> file)<br>
<br>
Is the dependency versioned?<br>
(e.g. depends = Browse >= 157)<br>
<br>
Is the dependency rigid or only a suggestion?<br>
(e.g. suggests = Browse >= 157, vs depends = Browse > 149)<br>
<br>
How does a download and install of an activity bundle ensure the<br>
dependency is satisfied?<br>
<br>
How does Software Update to a new version of an activity ensure the<br>
new dependency is satisfied?<br>
<br>
How does List View erase of an activity ensure the recursive cascade<br>
erasure of the activities that depend on the activity being erased?<br>
<br>
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div>