Hi All,
right now the only place I can see from which to obtain the latest release is This is easily parseable when fetched with curl/wget etc. But when one tries to compose a URL giving just those files, e.g. one gets back javascript, not file names. I urgently need a parseable link to a list of just the latest build, or a specific build, not the long list at https://dl.bintray.com/opensmalltalk/vm/ Is this possible? Can anyone set this up? TIA _,,,^..^,,,_ best, Eliot |
> On 15-03-2018, at 3:24 PM, Eliot Miranda <[hidden email]> wrote: > > > This is easily parseable when fetched with curl/wget etc. But when one tries to compose a URL giving just those files, e.g. > > https://bintray.com/opensmalltalk/vm/cog/201803080952#files > > one gets back javascript, not file names. I urgently need a parseable link to a list of just the latest build, or a specific build, not the long list at https://dl.bintray.com/opensmalltalk/vm/ Does this - https://bintray.com/docs/api/#_content_downloading - make any sense in this context? tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim Unix love: unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep |
Hi Tim,
now has a Latest Version Badge that might work. I committed a hack that finds the latest release from notifications (it's a hack because notifications has limited length and if it notifies other than successful builds it could end up containing no notifications for successful builds). I'll take a look at the Latest Version Badge (& thanks to whoever provided it). Eliot _,,,^..^,,,_ (phone)
arch
|
Hi Eliot, > On 18.03.2018, at 17:10, Eliot Miranda <[hidden email]> wrote: > > Hi Tim, > > On Mar 15, 2018, at 4:11 PM, tim Rowledge <[hidden email]> wrote: > >> >> >> >>> On 15-03-2018, at 3:24 PM, Eliot Miranda <[hidden email]> wrote: >>> >>> >>> This is easily parseable when fetched with curl/wget etc. But when one tries to compose a URL giving just those files, e.g. >>> >>> https://bintray.com/opensmalltalk/vm/cog/201803080952#files >>> >>> one gets back javascript, not file names. I urgently need a parseable link to a list of just the latest build, or a specific build, not the long list at https://dl.bintray.com/opensmalltalk/vm/ >> >> Does this - https://bintray.com/docs/api/#_content_downloading - make any sense in this context? > > Thanks for the pointer. No, it doesn't help; it has info on premium support options that we don't have. However, this: > > https://bintray.com/opensmalltalk/vm/cog/ > > now has a Latest Version Badge that might work. I committed a hack that finds the latest release from notifications (it's a hack because notifications has limited length and if it notifies other than successful builds it could end up containing no notifications for successful builds). I'll take a look at the Latest Version Badge (& thanks to whoever provided it). That latest version badge points to: https://bintray.com/opensmalltalk/vm/cog/_latestVersion And if I HTTP HEAD that, I get: $ curl -I https://bintray.com/opensmalltalk/vm/cog/_latestVersion HTTP/1.1 302 Found Server: nginx Date: Sun, 18 Mar 2018 16:39:03 GMT Content-Length: 0 Connection: keep-alive Location: https://bintray.com/opensmalltalk/vm/cog/201803080952 X-Frame-Options: SAMEORIGIN Strict-Transport-Security: max-age=31536000; preload That is, it will redirect to the respective version, with which you can construct the DL path and the file name. Best regards -Tobias > > Eliot > _,,,^..^,,,_ (phone) >> >> >> tim >> -- >> tim Rowledge; [hidden email]; http://www.rowledge.org/tim >> Unix love: unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep > > arch |
Hi Eliot, During the weekend I managed to get the latest version on bintray for my own projects (Woden) by using their REST API, without paying for the premium support. I wrote some Python scripts that works on Windows, Linux and Mac.The attached Python script can be used to get the latest version of Cog available at bintray. Here are some examples of the script usage along with its output: Best regards,ronie@ronie-asus:~/projects/woden-bintray$ python bintray_cog.py pharo.cog.spur_linux32x86 2018-03-18 13:41 GMT-03:00 Tobias Pape <[hidden email]>:
bintray_cog.py (5K) Download Attachment |
Free forum by Nabble | Edit this page |