[Sugar-devel] Class vs. Exec activity.info
garycmartin at googlemail.com
Tue Aug 17 11:47:58 EDT 2010
On 17 Aug 2010, at 16:30, Simon Schampijer wrote:
> On 08/17/2010 02:25 PM, Gary C Martin wrote:
>> I'm just starting to see some bug tickets and mention in the 0.90 notes that the activity.info class parameter is being dropped, with the exec parameter replacing it. Could someone explain what's going on, point me to some documentation, and/or a mail-list thread about it?
>> There are plenty of activities that will now be broken and need fixing up, is this an intentional activity red flag change day to kill off any unmaintained activities?
> Hi Gary,
> sorry for the confusion. I was quite confident that those fields were
> not in use anymore :/ I reverted the commit and added a warning that is
> printed when used.
I thought I'd missed some big discussion :)
FWIW here are some of the offending activities. Not an exhaustive list, just what I happened to have installed for spiral layout testing, some of which are mine so I can at least get them updated easily:
I must admit I had no idea "class" in activity.info had been depreciated all this time, I actually thought "exec" was a sneaky secrete hack/trick there just to allow minimally sugared and/or non-python code to be run ;)
> However, we should come up with a plan to clean up the API. Remove API
> that has been deprecated for long - drop support, and this should not be
> 1.0 :) Let's make a plan at the beginning of 0.92 and announce in time.
Yep, less code sounds good as long as we have a couple of release cycles before the red flag day so interested parties have a chance to catch up well in advance.
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
More information about the Sugar-devel