Re: FxPlug versioning
Re: FxPlug versioning
- Subject: Re: FxPlug versioning
- From: Darrin Cardani <email@hidden>
- Date: Tue, 02 Apr 2013 10:48:42 -0700
OK, I've been thinking about this, and I'm coming to the conclusion that you might be right that we need some sort of template versioning, too. I think there are a couple of solutions that would be possible:
1) Make a new template that has the new functionality and ship 2 templates: Legacy template and New template. Old projects will use the legacy one and won't get the new menu items, and new projects will use the new template and get the new menu items.
Pros: Fairly easy to implement, doesn't break rendering of old projects
Cons: Kind of lame. Users have to know to apply the new one from now on
2) I'm not positive if this will work, but I think it will: During development, build a version of your plugin that reports itself as version 1, but contains 2 menus, both visible. Make a template with this version of your plug-in. Once the template is made, update the plug-in version to 2, but don't update the template. In the plug-in, in -addParameters, if it is still version 1 (which it always will be the first time the user applies it), update it to version 2 and show the new menu from now on.
Pros: One template, works seamlessly for the user (hopefully?)
Cons: Development takes longer, requires steps executed in particular order
Does that seem like it could work?
Darrin
On Mar 29, 2013, at 9:23 AM, Darrin Cardani <email@hidden> wrote:
> Martin,
>
> I think I see what's happening now, and I need to apologize for being so dense! Our workflow for our Motion Templates is different from what you're describing, and I see now why you're seeing what you're seeing, and we're seeing what we're seeing. I'm going to give it some thought and see if I can come up with a reasonable solution for you.
>
> Darrin
>
> On Mar 29, 2013, at 4:51 AM, Martin Baker <email@hidden> wrote:
>
>> Hi Darrin
>>
>> I'm not sure what I'm doing wrong here because I've just run another test this morning with the simplest changes possible and I'm definitely still seeing the same incorrect versionAtCreation value.
>>
>> This was with FCP 10.0.8 and Motion 5.0.7 on OS10.8.3
>>
>> • In FCP, added the current version of the generator to a new timeline.
>> • Started with the FxPlug code for current v1.0 release.
>> • Changed the ProPlugPluginList > version = 2 in Info.plist.
>> • Added NSLog for value of versionAtCreation inside finishInitialSetup.
>> • Uninstalled v1 FxPlug and installed v2 FxPlug
>> • Removed v1 Motion template.
>> • Created a new Motion template using the v2 FxPlug.
>> • Launched FCP and opened the timeline with the v1 instance of generator template.
>> • As seen yesterday, the versionAtCreation is reported as "2" not the expected "1" value.
>>
>> Happy to send you all v1 and v2 FxPlugs and templates if you like.
>>
>> Has anyone on the list got the expected versionAtCreation value when running in FCP?
>>
>> Martin
>> www.digital-heaven.co.uk
>> www.twitter.com/digitalheaven
>> www.videospaceonline.com
>> www.finalcutters.com
>> ------------------------------------------------------
>> Digital Heaven Ltd is registered in England and Wales
>> Company registration number: 3628396
>> Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE
>> VAT registration number: GB 736 0989 03
>>
>> On 28 Mar 2013, at 17:22, Darrin Cardani wrote:
>>
>>> As I mentioned, we do this with our shipping plug-ins now and haven't had problems with it. If the user creates an FCP project using the old Motion Template, then when they open it with the new template, you'll be told that the instance of your FxPlug was created with version 1.
>>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Pro-apps-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden