Any more votes for [Standardize Auto-Update response] ?

14 messages Options
Embed this post
Permalink
Peter Wagemans

Any more votes for [Standardize Auto-Update response] ?

Reply Threaded More More options
Print post
Permalink
Does anyone want to place another vote for Kent's poll?


 

smime.p7s (3K) Download Attachment
Jake Traynham

Re: Any more votes for [Standardize Auto-Update response] ?

Reply Threaded More More options
Print post
Permalink
I don't think I "officially" voted, but <plugin>_AutoUpdateVersion
returning aabbccdd is what I would do since trying to modify my version
function as is might break existing solutions.

Jake

Peter Wagemans wrote:
> Does anyone want to place another vote for Kent's poll?
>

--
Jake Traynham
Owner, CNS Plug-ins
http://www.cnsplug-ins.com/
Troi Announce Mailing list

Re: Any more votes for [Standardize Auto-Update response] ?

Reply Threaded More More options
Print post
Permalink
Hi Jake,  Peter W, the rest,

My vote would be:

1a) <plugin>_AutoUpdateVersion()
2a) 01029900


Hey: Why aren't you all laying on the beach? Am I the only one trying
to cut down work in the summer and do more work in the winter. =))

Have fun!

Peter Baanen, from the beach in Spain.


At 13:51 -0500 06-08-08, Jake Traynham wrote:

>I don't think I "officially" voted, but <plugin>_AutoUpdateVersion
>returning aabbccdd is what I would do since trying to modify my version
>function as is might break existing solutions.
>
>Jake
>
>Peter Wagemans wrote:
>>  Does anyone want to place another vote for Kent's poll?
>  >
>


--
------
Peter Baanen, Troi Automatisering
<http://www.troi.com/>
------
Kent Lendrum

Re: Any more votes for [Standardize Auto-Update response] ?

Reply Threaded More More options
Print post
Permalink
Hi Peter,

Thanks for the vote.  But given it's the middle of winter in this half  
of the globe, I'm not rushing to the beach  (even if it is only 5  
minutes walk away)


So far the consensus appears to be

<plugin>_AutoUpdateVersion("")          and for it to return  01029900,

As to what these 8 digits represent is really up to the plugin  
developer, as long as the number of a newer build is greater than that  
of a previous build, when doing a < or > comparison.


My last thought on this topic :   <plugin>_AutoUpdateVersion("")      
or     <plugin>_VersionAutoUpdate("")


Reason : by putting 'Version' before the 'AutoUpdate', it will appear  
in the alphabetical list of functions at the same place as the  
<plugin>_Version(""), and therefore less confusing to the end user. It  
also, in my mind anyway, is clearer as to it's intention.

Comments ?



Nick :  a beta build of  01000005,  which when released as a final  
build, would therefore need to be 01000100  (or some other number, as  
long as it was numerically higher/greater).


All Agreed ?


Kent.



On 07/08/2008, at 8:48 PM, Peter Baanen wrote:

> Hi Jake,  Peter W, the rest,
>
> My vote would be:
>
> 1a) <plugin>_AutoUpdateVersion()
> 2a) 01029900
>
>
> Hey: Why aren't you all laying on the beach? Am I the only one trying
> to cut down work in the summer and do more work in the winter. =))
>
> Have fun!
>
> Peter Baanen, from the beach in Spain.
>
>
> At 13:51 -0500 06-08-08, Jake Traynham wrote:
>> I don't think I "officially" voted, but <plugin>_AutoUpdateVersion
>> returning aabbccdd is what I would do since trying to modify my  
>> version
>> function as is might break existing solutions.
>>
>> Jake
>>
>> Peter Wagemans wrote:
>>> Does anyone want to place another vote for Kent's poll?
Jake Traynham

Re: Re: Any more votes for [Standardize Auto-Update response] ?

Reply Threaded More More options
Print post
Permalink
Hi Kent,

   Yea, <plugin>_VersionAutoUpdate is fine with me.

Jake

Kent Lendrum wrote:

>
>
> Hi Peter,
>
> Thanks for the vote. But given it's the middle of winter in this half
> of the globe, I'm not rushing to the beach (even if it is only 5
> minutes walk away)
>
> So far the consensus appears to be
>
> <plugin>_AutoUpdateVersion("") and for it to return 01029900,
>
> As to what these 8 digits represent is really up to the plugin
> developer, as long as the number of a newer build is greater than that
> of a previous build, when doing a < or > comparison.
>
> My last thought on this topic : <plugin>_AutoUpdateVersion("")
> or <plugin>_VersionAutoUpdate("")
>
> Reason : by putting 'Version' before the 'AutoUpdate', it will appear
> in the alphabetical list of functions at the same place as the
> <plugin>_Version(""), and therefore less confusing to the end user. It
> also, in my mind anyway, is clearer as to it's intention.
>
> Comments ?
>
> Nick : a beta build of 01000005, which when released as a final
> build, would therefore need to be 01000100 (or some other number, as
> long as it was numerically higher/greater).
>
> All Agreed ?
>
> Kent.
>
> On 07/08/2008, at 8:48 PM, Peter Baanen wrote:
>
>  > Hi Jake, Peter W, the rest,
>  >
>  > My vote would be:
>  >
>  > 1a) <plugin>_AutoUpdateVersion()
>  > 2a) 01029900
>  >
>  >
>  > Hey: Why aren't you all laying on the beach? Am I the only one trying
>  > to cut down work in the summer and do more work in the winter. =))
>  >
>  > Have fun!
>  >
>  > Peter Baanen, from the beach in Spain.
>  >
>  >
>  > At 13:51 -0500 06-08-08, Jake Traynham wrote:
>  >> I don't think I "officially" voted, but <plugin>_AutoUpdateVersion
>  >> returning aabbccdd is what I would do since trying to modify my
>  >> version
>  >> function as is might break existing solutions.
>  >>
>  >> Jake
>  >>
>  >> Peter Wagemans wrote:
>  >>> Does anyone want to place another vote for Kent's poll?
>
>

--
Jake Traynham
Owner, CNS Plug-ins
http://www.cnsplug-ins.com/
Micah Woods

Re: Re: Any more votes for [Standardize Auto-Update response] ?

Reply Threaded More More options
Print post
Permalink
Yep, count me in for this as well.

-- Micah


on 8/7/08 10:02 AM, Jake Traynham at [hidden email] wrote:

>  
>  
>
> Hi Kent,
>
> Yea, <plugin>_VersionAutoUpdate is fine with me.
>
> Jake
>
> Kent Lendrum wrote:
>> >
>> >
>> > Hi Peter,
>> >
>> > Thanks for the vote. But given it's the middle of winter in this half
>> > of the globe, I'm not rushing to the beach (even if it is only 5
>> > minutes walk away)
>> >
>> > So far the consensus appears to be
>> >
>> > <plugin>_AutoUpdateVersion("") and for it to return 01029900,
>> >
>> > As to what these 8 digits represent is really up to the plugin
>> > developer, as long as the number of a newer build is greater than that
>> > of a previous build, when doing a < or > comparison.
>> >
>> > My last thought on this topic : <plugin>_AutoUpdateVersion("")
>> > or <plugin>_VersionAutoUpdate("")
>> >
>> > Reason : by putting 'Version' before the 'AutoUpdate', it will appear
>> > in the alphabetical list of functions at the same place as the
>> > <plugin>_Version(""), and therefore less confusing to the end user. It
>> > also, in my mind anyway, is clearer as to it's intention.
>> >
>> > Comments ?
>> >
>> > Nick : a beta build of 01000005, which when released as a final
>> > build, would therefore need to be 01000100 (or some other number, as
>> > long as it was numerically higher/greater).
>> >
>> > All Agreed ?
>> >
>> > Kent.
>> >
>> > On 07/08/2008, at 8:48 PM, Peter Baanen wrote:
>> >
>>> >  > Hi Jake, Peter W, the rest,
>>> >  >
>>> >  > My vote would be:
>>> >  >
>>> >  > 1a) <plugin>_AutoUpdateVersion()
>>> >  > 2a) 01029900
>>> >  >
>>> >  >
>>> >  > Hey: Why aren't you all laying on the beach? Am I the only one trying
>>> >  > to cut down work in the summer and do more work in the winter. =))
>>> >  >
>>> >  > Have fun!
>>> >  >
>>> >  > Peter Baanen, from the beach in Spain.
>>> >  >
>>> >  >
>>> >  > At 13:51 -0500 06-08-08, Jake Traynham wrote:
>>>> >  >> I don't think I "officially" voted, but <plugin>_AutoUpdateVersion
>>>> >  >> returning aabbccdd is what I would do since trying to modify my
>>>> >  >> version
>>>> >  >> function as is might break existing solutions.
>>>> >  >>
>>>> >  >> Jake
>>>> >  >>
>>>> >  >> Peter Wagemans wrote:
>>>>> >  >>> Does anyone want to place another vote for Kent's poll?
>> >
>> >

Jesse Barnum-2

Re: Any more votes for [Standardize Auto-Update response] ?

Reply Threaded More More options
Print post
Permalink
In reply to this post by Peter Wagemans
I've re-read the beginning of this thread, and I'm still not totally  
understanding the benefit of the unified function naming. As stated  
here:

> This is needed if one wants to build a FileMaker template that takes
> care of downloading the latest and greatest from the FileMaker
> server, for all plug-ins currently installed, even when from different
> vendors.
> It can be more or less done using specific code for each plug-in or
> brand, but it remains a pain to configure this, because it's always
> done differently.
>

I have several questions:

1) Isn't it a simple matter to use the Evaluate function to call  
whatever the particular plugin's version # function is? How will  
using a <plugin>_VersionAutoUpdate naming convention simplify that?  
Is the idea that the name of the function will be derived from the  
name of the plugin, and therefore only have 1 field (the plugin name)  
to fill in instead of 2 fields (the plugin name and it's version  
function)? If so, what about plugins that have spaces in the name?

2) Isn't the actual format of the returned value immaterial, as long  
as GetAsNumber does a correct comparison?

3) What about the license code and registration functions? Are we  
planning on standardizing that? If not, then what's the benefit of  
standardizing the version name function?

--Jesse Barnum, President, 360Works
http://www.360works.com 770-234-9293
FBA Platinum, FileMaker 8 Certified
== SuperContainer: A Better Container Field ==

On Aug 6, 2008, at 11:30 AM, Peter Wagemans wrote:

> Does anyone want to place another vote for Kent's poll?
>

Jake Traynham

Re: Any more votes for [Standardize Auto-Update response] ?

Reply Threaded More More options
Print post
Permalink
Hi Jesse,

Jesse Barnum wrote:

>
>
> I've re-read the beginning of this thread, and I'm still not totally
> understanding the benefit of the unified function naming. As stated
> here:
>
>  > This is needed if one wants to build a FileMaker template that takes
>  > care of downloading the latest and greatest from the FileMaker
>  > server, for all plug-ins currently installed, even when from different
>  > vendors.
>  > It can be more or less done using specific code for each plug-in or
>  > brand, but it remains a pain to configure this, because it's always
>  > done differently.
>  >
>
> I have several questions:
>
> 1) Isn't it a simple matter to use the Evaluate function to call
> whatever the particular plugin's version # function is? How will
> using a <plugin>_VersionAutoUpdate naming convention simplify that?
> Is the idea that the name of the function will be derived from the
> name of the plugin, and therefore only have 1 field (the plugin name)
> to fill in instead of 2 fields (the plugin name and it's version
> function)? If so, what about plugins that have spaces in the name?
>

The main idea behind this discussion, from my point of view anyway, is
to provide to end-users an easy-to-use function for returning an "Auto
Update-friendly version number".  If the majority of plug-in vendors
joined forces and implemented this sort of functionality, then end-users
would be able to take the concept behind their auto-update scripts and
use that concept with any plug-in.

The idea of the "<plugin>_VersionAutoUpdate" function name is based on
the fact that most plug-ins use the "<plugin>_<function>" scheme for
naming their functions.  While I know not everyone uses that scheme,
it's still a good idea (and even used to be "required" [I use the term
lightly] by FMI in the FM4-6 days).  It's not meant to be derived from
the plug-in name for use in an Evaluate() or anything (as far as I've
gathered from this discussion).  Trying to derive it for just about any
of our plug-ins would fail anyway.  (For example, our product named
"SMTPit Pro" would be using "SMTPit_VersionAutoUpdate" as the function
name.)

So, to sum up this answer, basically what we are saying here is to have
a function where the main function name is "VersionAutoUpdate", but with
whatever function naming scheme you currently use for your plug-ins.
So, with that in place, end-users can scan your functions, find the one
that says "VersionAutoUpdate" and know that it returns an "auto
update-friendly version number".

> 2) Isn't the actual format of the returned value immaterial, as long
> as GetAsNumber does a correct comparison?

Sure, if GetAsNumber can convert it into a number that compares
correctly.  Again, though, the idea is conformity for a number of reasons:
   - Most plug-ins use more than one decimal place for a version number.
  While GetAsNumber ignores extraneous decimal points, you wouldn't be
able to tell the difference between 4.12.2 and 4.1.22 for example.
   - A lot of version functions also return text like "SMTPit Pro
v.4.1.2".  As mentioned by Kent, sometimes minus signs are used which
make the number negative.
   - By having a unified version number scheme, if someone needed/wanted
to figure out exactly which update version of a plug-in they had
installed, they could use MiddleWords( Version ; 5 ; 2 ) for example.
   - Since a version number is used on the Server as a folder name,
having a unified version number scheme would again make it easy for the
end-user to set up the folders on the server

>
> 3) What about the license code and registration functions? Are we
> planning on standardizing that? If not, then what's the benefit of
> standardizing the version name function?

I'm really not sure why this would be related.  Standardizing the
version function here is to aid in using Auto Update to download new
versions of plug-ins.  If the plug-in had never been installed on a
client machine, then I could see where it might need to be registered,
but it's not an every-time-the-solution-is-opened sort of deal (at least
not with our plug-ins).  Besides that, trying to get every plug-in
vendor to use the same type of license code registration would be next
to impossible.

And finally, standards are meant to be broken and outright ignored.
This whole discussion was more or less spawned by people who are tired
of every plug-in doing it differently and getting frustrated by having
to make all these complex calculations for each individual plug-in just
to see if one version is newer than another.  A few of us decided to try
to make a standard to make it easier on end-users, but it's by no means
law.  If you don't happen to see the benefit of doing something like
this, then there's no reason you have to.  I'm not trying to be rude or
anything by saying this, just trying to state the facts of this discussion.

I hope this helps,
Jake



--
Jake Traynham
Owner, CNS Plug-ins
http://www.cnsplug-ins.com/
Kent Lendrum

VersionAutoUpdate and output

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jake Traynham
Hi All,

So, It is agreed !

<Plugin>_VersionAutoUpdate      which returns a 8 digit number to  
represent an AutoUpdate version.



Thus, on Filemaker Server, the user will have

AutoUpdate
|--<Plugin>
       |--01029900
             |--<plugin>.fmplugin.tar
             |--<plugin>.fmx



Another suggestion made during this discussion, was for vendors to  
provide the above structure as part of their plugin download, thus all  
the end user had to do was dump the <plugin> folder into their  
AutoUpdate folder.


Kent



------------------------------------------------------------------
A helpful tip: In most communities, it is a violation of law to put  
your PC out to the curb. It contains lead, Windows Vista, mercury and  
other toxic substances.



On 08/08/2008, at 2:02 AM, Jake Traynham wrote:

> Hi Kent,
>
>   Yea, <plugin>_VersionAutoUpdate is fine with me.
>
> Jake
>
> Kent Lendrum wrote:
>>
>>
>> Hi Peter,
>>
>> Thanks for the vote. But given it's the middle of winter in this half
>> of the globe, I'm not rushing to the beach (even if it is only 5
>> minutes walk away)
>>
>> So far the consensus appears to be
>>
>> <plugin>_AutoUpdateVersion("") and for it to return 01029900,
>>
>> As to what these 8 digits represent is really up to the plugin
>> developer, as long as the number of a newer build is greater than  
>> that
>> of a previous build, when doing a < or > comparison.
>>
>> My last thought on this topic : <plugin>_AutoUpdateVersion("")
>> or <plugin>_VersionAutoUpdate("")
>>
>> Reason : by putting 'Version' before the 'AutoUpdate', it will appear
>> in the alphabetical list of functions at the same place as the
>> <plugin>_Version(""), and therefore less confusing to the end user.  
>> It
>> also, in my mind anyway, is clearer as to it's intention.
>>
>> Comments ?
>>
>> Nick : a beta build of 01000005, which when released as a final
>> build, would therefore need to be 01000100 (or some other number, as
>> long as it was numerically higher/greater).
>>
>> All Agreed ?
>>
>> Kent.
>>
>> On 07/08/2008, at 8:48 PM, Peter Baanen wrote:
>>
>>> Hi Jake, Peter W, the rest,
>>>
>>> My vote would be:
>>>
>>> 1a) <plugin>_AutoUpdateVersion()
>>> 2a) 01029900
>>>
>>>
>>> Hey: Why aren't you all laying on the beach? Am I the only one  
>>> trying
>>> to cut down work in the summer and do more work in the winter. =))
>>>
>>> Have fun!
>>>
>>> Peter Baanen, from the beach in Spain.
>>>
>>>
>>> At 13:51 -0500 06-08-08, Jake Traynham wrote:
>>>> I don't think I "officially" voted, but <plugin>_AutoUpdateVersion
>>>> returning aabbccdd is what I would do since trying to modify my
>>>> version
>>>> function as is might break existing solutions.
>>>>
>>>> Jake
>>>>
>>>> Peter Wagemans wrote:
>>>>> Does anyone want to place another vote for Kent's poll?
>>
>>
>
> --
> Jake Traynham
> Owner, CNS Plug-ins
> http://www.cnsplug-ins.com/
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

Kent Lendrum

Using XCode Debugger on FM9 plugins - not breaking when expected

Reply Threaded More More options
Print post
Permalink
Hi All,

Help please with the debugger on OS X 10.45 &  XCode 3.1


I have set a couple of break points

I have enabled the 'Debug' build.

Set it to automatically compile and install the plugin into the  
FileMaker Pro 9 / Extensions / folder

(It's doing this, and the output file appears to be twice the size  
when compared to the 'Release' build)


I am selecting  Build & Run,   which is compiling the plugin into the  
FM9/Extensions directory,  then starting the XCode Debugger, and  
finally launching FileMaker Pro 9


All go so far.   Except, when I call a function, which I've set the  
'Break Point' on.  It doesn't stop  :(


I've missed a step, but not sure where.

Any advice / help appreciated.


thanks

Kent.

quart-edv

Re: Using XCode Debugger on FM9 plugins - not breaking when expected

Reply Threaded More More options
Print post
Permalink
Dear Kent,

The path need to be set to the executable of the plug-in:

/Applications/FileMaker Pro 9/Extensions/
<name_of_your_plugin>.fmplugin/Contents/MacOS/<name_of_your_plugin>

Best regards
Stefan Husch


On 17.08.2008, at 10:49, kent wrote:

> I am selecting Build & Run, which is compiling the plugin into the
> FM9/Extensions directory, then starting the XCode Debugger, and
> finally launching FileMaker Pro 9


Kent Lendrum

Re: Using XCode Debugger on FM9 plugins - not breaking when expected

Reply Threaded More More options
Print post
Permalink
Hi Stefan,

Thanks.  I tried this, however It just gives me an error in XCode :    
<Plugin> has exited with status 126

If I set the executable to FileMaker Pro.app,   then this launches as  
expected.  I can even pause it, etc.

I just can't get it to stop on my breakpoints.


Note :  I just found a post by Jake regarding PowerPC,  XCode 3.0 and  
not stopping on breakpoints.


I'm using a G5 PPC,  XCode 3.1   and am wondering if the issue is the  
same that Jake was experiencing.

Jake : did you ever get this working on PPC ?


thanks

Kent.



On 17/08/2008, at 9:17 PM, quart-edv wrote:

> Dear Kent,
>
> The path need to be set to the executable of the plug-in:
>
> /Applications/FileMaker Pro 9/Extensions/
> <name_of_your_plugin>.fmplugin/Contents/MacOS/<name_of_your_plugin>
>
> Best regards
> Stefan Husch
>
>
> On 17.08.2008, at 10:49, kent wrote:
>
>> I am selecting Build & Run, which is compiling the plugin into the
>> FM9/Extensions directory, then starting the XCode Debugger, and
>> finally launching FileMaker Pro 9
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

Kent Lendrum

Re: Using XCode Debugger on FM9 plugins - not breaking when expected

Reply Threaded More More options
Print post
Permalink
Hi All,

Further to this last posting.  I just hijacked an IntelMac for a  
while, installed XCode 3.1 and modified the plugin to write to that  
machines FileMaker Pro/Extensions/  folder.

Ran the debugger, and it stopped at my breakpoint.

Appears that XCode 3.1 on PPC doesn't stop at breakpoints (or stop at  
the correct place reading Jake's comments)


At least I can now use debugger, just need to hijack the colleagues  
machine to do so.

Kent.




On 19/08/2008, at 2:25 PM, kent wrote:

> Hi Stefan,
>
> Thanks.  I tried this, however It just gives me an error in XCode :
> <Plugin> has exited with status 126
>
> If I set the executable to FileMaker Pro.app,   then this launches as
> expected.  I can even pause it, etc.
>
> I just can't get it to stop on my breakpoints.
>
>
> Note :  I just found a post by Jake regarding PowerPC,  XCode 3.0 and
> not stopping on breakpoints.
>
>
> I'm using a G5 PPC,  XCode 3.1   and am wondering if the issue is the
> same that Jake was experiencing.
>
> Jake : did you ever get this working on PPC ?
>
>
> thanks
>
> Kent.
>
>
>
> On 17/08/2008, at 9:17 PM, quart-edv wrote:
>
>> Dear Kent,
>>
>> The path need to be set to the executable of the plug-in:
>>
>> /Applications/FileMaker Pro 9/Extensions/
>> <name_of_your_plugin>.fmplugin/Contents/MacOS/<name_of_your_plugin>
>>
>> Best regards
>> Stefan Husch
>>
>>
>> On 17.08.2008, at 10:49, kent wrote:
>>
>>> I am selecting Build & Run, which is compiling the plugin into the
>>> FM9/Extensions directory, then starting the XCode Debugger, and
>>> finally launching FileMaker Pro 9
>>
>>
>>
>> ------------------------------------
>>
>> Yahoo! Groups Links
>>
>>
>>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

quart-edv

Re: Using XCode Debugger on FM9 plugins - not breaking when expected

Reply Threaded More More options
Print post
Permalink
In reply to this post by Kent Lendrum
On 19.08.2008, at 04:25, kent wrote:

> Thanks. I tried this, however It just gives me an error in XCode :
> <Plugin> has exited with status 126
>
> If I set the executable to FileMaker Pro.app, then this launches as
> expected. I can even pause it, etc.

Upps, sorry, that was my fault, the path need to be set to the
executable of FileMaker Pro and not to the one of the plug-in.

Best regards
Stefan Husch