Obtaining URL to latest Stable LC Server

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Wed May 20 16:44:33 EDT 2020


What i forgot,

after the 2nd post the LC server returns something like this


update.1.ver=9.5.1-gm-1
update.1.url=https://downloads.livecode.com//livecode/9_5_1/LiveCodeBusiness-9_5_1-Mac.dmg
update.1.checksum=1df5434e14122403cd75036cb2f63559
update.1.type=stable
update.1.buildnumber=15505
update.1.marketing.1.content=
update.1.marketing.1.type=html
update.2.ver=9.6.0-rc-2
update.2.url=https://downloads.livecode.com//livecode/9_6_0/LiveCodeBusiness-9_6_0_rc_2-Mac.dmg
update.2.checksum=261ff8d3de9234c71e83caacdf7dce37
update.2.type=maintainence
update.2.buildnumber=15515
update.2.marketing.1.content=
update.2.marketing.1.type=html
update.3.ver=9.6.0-dp-4
update.3.url=https://downloads.livecode.com//livecode/9_6_0/LiveCodeBusiness-9_6_0_dp_4-Mac.dmg
update.3.checksum=284fc283687d63dee25c2171e3362ded
update.3.type=development
update.3.buildnumber=15513
update.3.marketing.1.content=
update.3.marketing.1.type=html
result=success



I´ve deleted the text after content= because it would exceed the message size limit.
It is the base64encoded text that is shown in the Updater Info Field.


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 20.05.2020 um 22:29 schrieb matthias rebbe via use-livecode <use-livecode at lists.runrev.com>:
> 
> As LC IDE has an integrated update checker, i was sure there is a service running at Livecode website.
> 
> I´ve ran "Check for updates" from LC´s help menu while running CharlesProxy.
> The update checker posts requests to "http://livecode.com/livecode/update/livecode"
> 
> It first posts some "login" credentials to authenticate
> action=login&email=YOUREMAILe&uid=USERID    
> I am not sure what the user id is.
> 
> Then after successful authentication the server returns some values
> result=success
> session=SESSIONID
> uid=USERID
> challenge=WHATEVERTHISIS
> 
> 
> Then the updater posts
> action=list&session=SESSIONID&token=SOMETOKEN&build=BUILDNUMBER&platform=mac%2Fx86_64&type=professional
> 
> build= contains the buildnumber of the LC version that runs the update check
> 
> platform= contains the Platform the LC IDE is running on for example  mac%2Fx86_64
> 
> Type= contains the edition  for example professional
> 
> Maybe LC is willing to help to understand whatfor the other values are or maybe they will  add a 2nd service that just returns the latest release/build number for
> the posted platform and type.
> 
> Or someone is willing to manually create an online text file contains the latest release number. Of course it has to be updated every time a new version is released.
> 
> 
> Matthias
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 20.05.2020 um 21:18 schrieb Richard Gaskin via use-livecode <use-livecode at lists.runrev.com>:
>> 
>> It would be helpful to have a convenient way to obtain the URL to the latest stable version of LC Server, to automate deployments.
>> 
>> I don't believe the company provides that, do they?
>> 
>> Without a company-maintained URL, I suppose one could write a function that relies on a scraper for the downloads.liveocde.com page.  Has anyone here done that?
>> 
>> -- 
>> Richard Gaskin
>> Fourth World Systems
>> Software Design and Development for the Desktop, Mobile, and the Web
>> ____________________________________________________________________
>> Ambassador at FourthWorld.com                http://www.FourthWorld.com
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list