You can pipe the chromium version to fetch_version to get the v8_version, e.g.
curl "https://chromiumdash.appspot.com/fetch_version?version=$(curl ' https://chromiumdash.appspot.com/fetch_releases?platform=Win32&channel=beta' | jq -r '.[0].version')" | jq -r .v8_version On Tue, Dec 5, 2023 at 7:52 PM 'Sam Warfield' via v8-dev < v8-dev@googlegroups.com> wrote: > That works for getting a hash, but we need the tag without relying on > parsing that page (Too liable to change) or downloading the whole > repository and using git describe to pull the tag. > > On Tuesday, December 5, 2023 at 10:13:00 AM UTC-7 cbr...@chromium.org > wrote: > >> Hi Sam, >> >> You can use the JSON api of chromiumdash: >> >> https://chromiumdash.appspot.com/fetch_releases?platform=Win32&channel=dev >> >> >> <https://chromiumdash.appspot.com/fetch_releases?platform=Win32&channel=dev> >> I think there are a couple of more filtering params you can use (and it >> lists everything if you omit them). >> Hope this works. >> >> cheers >> >> On Tue, 5 Dec 2023 at 18:00, 'Sam Warfield' via v8-dev < >> v8-...@googlegroups.com> wrote: >> >>> This is what we were doing previously, we're looking for a drop in >>> replacement query. >>> >>> curl -s 'https://omahaproxy.appspot.com/all.json?os=linux&channel=beta' >>> | >>> jq -r '.[].versions[].v8_version' | >>> egrep -o '^[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?\b' >>> >>> On Tuesday, December 5, 2023 at 9:57:37 AM UTC-7 Sam Warfield wrote: >>> >>>> Thanks for the help Lutz, I'm looking for a more automated approach. >>>> We've got tooling that automatically scans for the newest version so we >>>> automatically pull in security patches as fast as possible. This was easy >>>> on the old Omaha Proxy since it returned a JSON payload with the version >>>> number. Is there an endpoint that returns only the version number, not the >>>> whole source that would need to be parsed? >>>> >>>> On Tuesday, December 5, 2023 at 9:43:37 AM UTC-7 va...@chromium.org >>>> wrote: >>>> >>>>> Hi Sam, >>>>> >>>>> Thanks for raising the Q. I'll update the documentation asap. In >>>>> the meantime: >>>>> >>>>> 1) To get the current beta version please navigate to: >>>>> https://chromiumdash.appspot.com/releases, find the latest Beta and >>>>> click on the (i). >>>>> [image: image.png] >>>>> Following the V8 githash link now to -> >>>>> https://chromium.googlesource.com/v8/v8.git/+/5eefc590c868d8dfb411e53053c963fe42dcda74 >>>>> is showing you the V8 version: 'Version 12.0.267.8' >>>>> >>>>> 2) In case you're interested when to expect a new version, PTAL at the >>>>> release >>>>> schedule <https://chromiumdash.appspot.com/schedule> >>>>> >>>>> Cheers, >>>>> >>>>> Lutz Vahl >>>>> >>>>> Technical Program Manager, Chrome Web Platform >>>>> >>>>> >>>>> Google Germany GmbH >>>>> >>>>> Erika-Mann-Strasse 36 >>>>> >>>>> 80636 München >>>>> >>>>> >>>>> Geschäftsführer: Paul Manicle, Liana Sebastian >>>>> >>>>> Registergericht und -nummer: Hamburg, HRB 86891 >>>>> >>>>> Sitz der Gesellschaft: Hamburg >>>>> >>>>> Diese E-Mail ist vertraulich. Falls Sie diese fälschlicherweise >>>>> erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes >>>>> weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich >>>>> bitte >>>>> wissen, dass die E-Mail an die falsche Person gesendet wurde. >>>>> >>>>> >>>>> >>>>> This e-mail is confidential. If you received this communication by >>>>> mistake, please don't forward it to anyone else, please erase all copies >>>>> and attachments, and please let me know that it has gone to the wrong >>>>> person. >>>>> >>>>> >>>>> On Tue, Dec 5, 2023 at 5:15 PM 'Sam Warfield' via v8-dev < >>>>> v8-...@googlegroups.com> wrote: >>>>> >>>>>> According to the V8 release docs OmahaProxy >>>>>> <https://omahaproxy.appspot.com/> is how to get the current release >>>>>> version for V8. Omaha has been taken offline and the replacement site >>>>>> only >>>>>> reports Chrome versions, not V8. What is the best place to pull the >>>>>> current >>>>>> beta version from? >>>>>> >>>>>> https://v8.dev/docs/release-process >>>>>> >>>>>> -- >>>>>> -- >>>>>> v8-dev mailing list >>>>>> v8-...@googlegroups.com >>>>>> http://groups.google.com/group/v8-dev >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "v8-dev" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to v8-dev+un...@googlegroups.com. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/v8-dev/3129ce97-93f4-4778-ad48-a5d54dc1e994n%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/v8-dev/3129ce97-93f4-4778-ad48-a5d54dc1e994n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >>> -- >>> v8-dev mailing list >>> v8-...@googlegroups.com >>> http://groups.google.com/group/v8-dev >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "v8-dev" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to v8-dev+un...@googlegroups.com. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/v8-dev/6c88091a-3fc5-4809-9699-66ac475fb153n%40googlegroups.com >>> <https://groups.google.com/d/msgid/v8-dev/6c88091a-3fc5-4809-9699-66ac475fb153n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> Camillo Bruni | Software Engineer, V8 | Google Germany GmbH | Erika-Mann >> Str. 33, 80636 München >> >> Registergericht und -nummer: Hamburg, HRB 86891 | Sitz der Gesellschaft: >> Hamburg | Geschäftsführer: Paul Manicle, Halimah DeLaine Prado >> >> Diese E-Mail ist vertraulich. Falls Ssie diese fälschlicherweise erhalten >> haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, >> löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, >> dass die E-Mail an die falsche Person gesendet wurde. This e-mail is >> confidential. If you received this communication by mistake, please don't >> forward it to anyone else, please erase all copies and attachments, and >> please let me know that it has gone to the wrong person. >> > -- > -- > v8-dev mailing list > v8-dev@googlegroups.com > http://groups.google.com/group/v8-dev > --- > You received this message because you are subscribed to the Google Groups > "v8-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-dev/9362d95e-cd18-4bf0-986e-ca15db2a924en%40googlegroups.com > <https://groups.google.com/d/msgid/v8-dev/9362d95e-cd18-4bf0-986e-ca15db2a924en%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/CAGRskv-x%3DZHD0xVfJzyGYgG3LwFUNSqdms7AdfggF4tvq9OvOg%40mail.gmail.com.