Page 1 of 1

Plugin Store version check API

PostPosted: Tue Feb 20, 2018 5:54 pm
by jay (support)

Re: Plugin Store version check API

PostPosted: Tue Feb 20, 2018 6:18 pm
by Colorado4Wheeler
Aren't you building this into the next release? Is this just an interim solution until that happens or do you want us to start adding this to our plugins if we want to check for updates?

Plugin Store version check API

PostPosted: Wed Feb 21, 2018 3:29 am
by howartp
With the release of the Plugin Store, we soft-launched an API that would allow an external source to get the details of the latest release for the specified plugin. We really hadn't intended to publish it because it is our intention to deliver a more fully developed API later (with API keys, etc), but we've had a lot of developers ask for the ability to get the current release from the store, so we decided to go ahead and publish this one.


We want to provide an example of how you might call this from within a plugin. Eventually we will have version checking and update notifications available as a built-in feature of plugins. In the meantime, however, you can follow this pattern.



Sent from my iPhone using Tapatalk Pro

Re: Plugin Store version check API

PostPosted: Wed Feb 21, 2018 9:30 am
by jay (support)
@howartp's right - it'll be built-in. Probably not in the next feature release, but maybe the one after. This is specifically for those that want to do it now, and particularly for those that are running into the TLS version issue when trying to talk to GitHub. We don't require TLS 1.2 so this will work on macOS 10.7-10.12 (which ship with older versions).

It's definitely not meant as a recommendation or guideline that everyone should follow (it's basically throwaway work).

Re: Plugin Store version check API

PostPosted: Wed Feb 21, 2018 11:50 am
by Colorado4Wheeler
howartp wrote:
With the release of the Plugin Store, we...

I did read all of that, I wasn't being a noob :roll:

jay (support) wrote:
Probably not in the next feature release, but maybe the one after.

That's what I was wondering, if it was the next release I wouldn't worry much about it, but if it's the one after then I may.

Re: Plugin Store version check API

PostPosted: Wed Feb 21, 2018 1:03 pm
by howartp
:-)


Sent from my iPhone using Tapatalk Pro

Re: Plugin Store version check API

PostPosted: Thu Feb 22, 2018 11:03 am
by kw123
from a load point of view this has the same impact has a simple curl statement?

Karl

Re: Plugin Store version check API

PostPosted: Thu Feb 22, 2018 11:16 am
by Colorado4Wheeler
Judging from the code, yes.

Re: Plugin Store version check API

PostPosted: Thu Feb 22, 2018 11:46 am
by jay (support)
kw123 wrote:
from a load point of view this has the same impact has a simple curl statement?


The load on what?

Plugin Store version check API

PostPosted: Thu Feb 22, 2018 12:43 pm
by kw123
On the indigo host server.
... curl and screen scraping.


Sent from my iPhone using Tapatalk

Re: Plugin Store version check API

PostPosted: Thu Feb 22, 2018 8:04 pm
by jay (support)
kw123 wrote:
On the indigo host server.
... curl and screen scraping.


Using curl will spawn a separate process, so it's inherently more resource intensive. Probably not significant though given how infrequently it should happen.

Re: Plugin Store version check API

PostPosted: Sun Feb 25, 2018 7:59 am
by vtmikel
Jay, will the eventual built in mechanism include the ability to update a plugin from a remote client of indigo? Avoiding having to Remote Desktop to the server would be a welcome improvement.


Sent from my iPhone using Tapatalk Pro

Re: Plugin Store version check API

PostPosted: Sun Feb 25, 2018 11:26 am
by jay (support)
vtmikel wrote:
Jay, will the eventual built in mechanism include the ability to update a plugin from a remote client of indigo? Avoiding having to Remote Desktop to the server would be a welcome improvement.


Yes, though it will probably happen sometime after the checking mechanism is introduced. Just getting the checks working across all plugins and some form of notification will be the first step.