On Fri, Aug 30, 2013 at 10:07 AM, Gregory Szorc <g...@mozilla.com> wrote:

> On 8/30/13 7:09 AM, Eric Shepherd wrote:
>
>> This is sort-of-kind-of platform related, but only indirectly, so let me
>> know if there's a better place to ask this question, please.
>>
>> If a web page needs to be able to display the current release version of
>> Gecko, is there a place we can pull that information from, so that the
>> content doesn't have to be manually edited?
>>
>> This could even be a place in the source code we could pull up a MXR
>> link and peel out of the code. I just don't know where in the code to
>> get it.
>>
>> We have many cases in MDN content where it's helpful to indicate what
>> the current version of Gecko is (or, more often, to compare the current
>> version to a specific version in which something was added), and it
>> would be nice to not have to hand-edit that anymore.
>>
>
> Rob Helmer just extracted a service from Socorro for scraping all the
> release information from build logs. It lives at
> http://releases-api.mozilla.**org/ <http://releases-api.mozilla.org/>
>
> It literally just launched a few days ago and can probably grow features
> to serve your needs. Talk to rhelmer.


Thanks for the shout-out - releases-api exposes the metadata that's only
available on ftp.m.o (this is something we need for Socorro so we decided
to split this out into it's own service). Ideally this would come from a
better source, but FTP is as "official" as we can get at the moment for
things like getting the buildid for the latest nightly, that sort of thing.

However I think for this Eric's problem product-details (mentioned in this
thread) is probably the right place, releases-api's lone endpoint is a bit
much to deal with if you're just looking for "what's the latest release?".

It might be useful to try to get product-details input (and any other
manually or automatically populated sources) behind release-api though.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to