Re: Getting the current release version

2013-09-05 Thread Robert Kaiser

Robert Helmer schrieb:

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.


Also note that this only know what builds have been *generated* and not 
what has been *released* to users, which will only happen after QA signs 
off those generated builds.


If you want what has been released, product-details is the place to go.

Robert Kaiser
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Mike Hommey
On Fri, Aug 30, 2013 at 03:16:27PM +0100, Ed Morley wrote:
> On 30 August 2013 15:14:54, Ed Morley wrote:
> >For platform:
> >https://hg.mozilla.org/releases/mozilla-release/file/tip/config/milestone.txt
> >
> >For Firefox (and yeah currently the same as platform):
> >https://hg.mozilla.org/releases/mozilla-release/file/tip/browser/config/version.txt
> 
> (Although you'll want to s/file/raw-file/ in both of those when
> pulling via script).

But we migrate beta to release 8 days before the actual release...

Mike
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Reuben Morais
On Aug 30, 2013, at 1:35 PM, Eric Shepherd  wrote:
> On 2013-08-30 16:13:50 +, Jesper Kristensen said:
> 
>> I use http://svn.mozilla.org/libs/product-details/json/firefox_versions.json
>> I use that because that was what the download button on www.mozilla.org did. 
>> I don't know if the download button still uses that resource.
> 
> This is an interesting tidbit. Anyone know where that comes from and if it's 
> a reliable source?

http://svn.mozilla.org/libs/product-details/README

CC'ing clouserw for details.

-- reuben

smime.p7s
Description: S/MIME cryptographic signature
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Eric Shepherd

On 2013-08-30 16:13:50 +, Jesper Kristensen said:


I use http://svn.mozilla.org/libs/product-details/json/firefox_versions.json

I use that because that was what the download button on www.mozilla.org 
did. I don't know if the download button still uses that resource.


This is an interesting tidbit. Anyone know where that comes from and if 
it's a reliable source?


--
Eric Shepherd
Developer Documentation Lead
Mozilla
Blog: http://www.bitstampede.com/
Twitter: @sheppy

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Robert Helmer
On Fri, Aug 30, 2013 at 10:07 AM, Gregory Szorc  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/ 
>
> 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


Re: Getting the current release version

2013-08-30 Thread Wil Clouser
On Fri, Aug 30, 2013 at 01:45:51PM -0300, Reuben Morais wrote:
> On Aug 30, 2013, at 1:35 PM, Eric Shepherd  wrote:
> > On 2013-08-30 16:13:50 +, Jesper Kristensen said:
> >
> >> I use 
> >> http://svn.mozilla.org/libs/product-details/json/firefox_versions.json
> >> I use that because that was what the download button on www.mozilla.org 
> >> did. I don't know if the download button still uses that resource.
> >
> > This is an interesting tidbit. Anyone know where that comes from and if 
> > it's a reliable source?
>
> http://svn.mozilla.org/libs/product-details/README
>
> CC'ing clouserw for details.

I think it's still the canonical spot for the languages we support.  Pretty sure
mozilla.com still uses it.  I think Pascal would know more, CCing him.

Wil


signature.asc
Description: Digital signature
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Gregory Szorc

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/


It literally just launched a few days ago and can probably grow features 
to serve your needs. Talk to rhelmer.

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Eric Shepherd

On 2013-08-30 16:01:21 +, Axel Hecht said:


This is going to be off by one release for one week out of 6, though.

We're doing the beta-release migration at release minus a week and a 
day, i.e., we're migrating on Sept 9, and release on Sept 17:


https://mail.mozilla.com/home/ake...@mozilla.com/Release%20Management.html?view=month&date=20130930 



Well... that's slightly annoying, but shouldn't be a big deal for our 
typical use cases for the information.


Would be nice to have a reliable way to pull that information, if 
anyone knows what that way might be...


--
Eric Shepherd
Developer Documentation Lead
Mozilla
Blog: http://www.bitstampede.com/
Twitter: @sheppy

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Bhavana Bajaj
Hey all,

product-details on svn would be the right place to that information.
Release Management updates these every time we have a new version out for 
Desktop/Mobile across all release channels - Aurora,Beta,Release(including dot 
release :) ).

Here is the wiki with details on exact changes we make for this process : 
https://wiki.mozilla.org/Release_Management/Release_Notes_and_Product_Details#Product_Details_2

Hope this helps!

Thanks,
Bhavana

- Original Message -
> From: "Wil Clouser" 
> To: "Reuben Morais" 
> Cc: "Pascal Chevrel" , dev-platform@lists.mozilla.org, 
> clous...@mozilla.com
> Sent: Friday, August 30, 2013 9:48:07 AM
> Subject: Re: Getting the current release version
> 
> On Fri, Aug 30, 2013 at 01:45:51PM -0300, Reuben Morais wrote:
> > On Aug 30, 2013, at 1:35 PM, Eric Shepherd  wrote:
> > > On 2013-08-30 16:13:50 +, Jesper Kristensen said:
> > >
> > >> I use
> > >> http://svn.mozilla.org/libs/product-details/json/firefox_versions.json
> > >> I use that because that was what the download button on www.mozilla.org
> > >> did. I don't know if the download button still uses that resource.
> > >
> > > This is an interesting tidbit. Anyone know where that comes from and if
> > > it's a reliable source?
> >
> > http://svn.mozilla.org/libs/product-details/README
> >
> > CC'ing clouserw for details.
> 
> I think it's still the canonical spot for the languages we support.  Pretty
> sure
> mozilla.com still uses it.  I think Pascal would know more, CCing him.
> 
> Wil
> 
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
> 
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Jesper Kristensen

I use http://svn.mozilla.org/libs/product-details/json/firefox_versions.json

I use that because that was what the download button on www.mozilla.org 
did. I don't know if the download button still uses that resource.


Den 30-08-2013 16:09Eric Shepherd skrev:

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.



___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Axel Hecht

On 8/30/13 4:14 PM, Ed Morley wrote:

On 30 August 2013 15:09:08, Eric Shepherd wrote:

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.


For platform:
https://hg.mozilla.org/releases/mozilla-release/file/tip/config/milestone.txt


For Firefox (and yeah currently the same as platform):
https://hg.mozilla.org/releases/mozilla-release/file/tip/browser/config/version.txt


Best wishes,

Ed


This is going to be off by one release for one week out of 6, though.

We're doing the beta-release migration at release minus a week and a 
day, i.e., we're migrating on Sept 9, and release on Sept 17:


https://mail.mozilla.com/home/ake...@mozilla.com/Release%20Management.html?view=month&date=20130930

Axel
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Eric Shepherd

On 2013-08-30 14:14:54 +, Ed Morley said:


For platform:
https://hg.mozilla.org/releases/mozilla-release/file/tip/config/milestone.txt

For Firefox (and yeah currently the same as platform):
https://hg.mozilla.org/releases/mozilla-release/file/tip/browser/config/version.txt 




This is exactly what we need. Thank you!

--
Eric Shepherd
Developer Documentation Lead
Mozilla
Blog: http://www.bitstampede.com/
Twitter: @sheppy

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Ed Morley

On 30 August 2013 15:14:54, Ed Morley wrote:

For platform:
https://hg.mozilla.org/releases/mozilla-release/file/tip/config/milestone.txt

For Firefox (and yeah currently the same as platform):
https://hg.mozilla.org/releases/mozilla-release/file/tip/browser/config/version.txt


(Although you'll want to s/file/raw-file/ in both of those when pulling 
via script).

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Johnathan Nightingale
(I like Ed's answer more, though)

On Aug 30, 2013, at 10:17 AM, Johnathan Nightingale wrote:

> I don't know if it will serve your purposes, but wiki.mo does have:
> 
> https://wiki.mozilla.org/Template:CURRENT_VERSION
> 
> and derivatives:
> 
> https://wiki.mozilla.org/Template:BETA_VERSION
> https://wiki.mozilla.org/Template:AURORA_VERSION
> https://wiki.mozilla.org/Template:CENTRAL_VERSION
> 
> Doesn't do point releases, just major versions.
> 
> J
> 
> On Aug 30, 2013, at 10: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.
>> 
>> -- 
>> Eric Shepherd
>> Developer Documentation Lead
>> Mozilla
>> Blog: http://www.bitstampede.com/
>> Twitter: @sheppy
>> 
>> ___
>> dev-platform mailing list
>> dev-platform@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-platform
> 
> ---
> Johnathan Nightingale
> VP Firefox Engineering
> @johnath
> 

---
Johnathan Nightingale
VP Firefox Engineering
@johnath

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Johnathan Nightingale
I don't know if it will serve your purposes, but wiki.mo does have:

https://wiki.mozilla.org/Template:CURRENT_VERSION

and derivatives:

https://wiki.mozilla.org/Template:BETA_VERSION
https://wiki.mozilla.org/Template:AURORA_VERSION
https://wiki.mozilla.org/Template:CENTRAL_VERSION

Doesn't do point releases, just major versions.

J

On Aug 30, 2013, at 10: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.
> 
> -- 
> Eric Shepherd
> Developer Documentation Lead
> Mozilla
> Blog: http://www.bitstampede.com/
> Twitter: @sheppy
> 
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform

---
Johnathan Nightingale
VP Firefox Engineering
@johnath

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Getting the current release version

2013-08-30 Thread Ed Morley

On 30 August 2013 15:09:08, Eric Shepherd wrote:

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.


For platform:
https://hg.mozilla.org/releases/mozilla-release/file/tip/config/milestone.txt

For Firefox (and yeah currently the same as platform):
https://hg.mozilla.org/releases/mozilla-release/file/tip/browser/config/version.txt

Best wishes,

Ed
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform