Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Deprecation warning for OmahaProxy, alternative might be needed? #546

Closed
1 of 2 tasks
Hrxn opened this issue Sep 13, 2023 · 4 comments
Closed
1 of 2 tasks
Labels
enhancement New feature or request

Comments

@Hrxn
Copy link

Hrxn commented Sep 13, 2023

What is your feature request?

Not sure when/if/how this will be a problem for Chrome?

{
"Name": "Google Chrome",
"Source": "https://cloud.google.com/chrome-enterprise/browser/download/",
"Get": {
"Update": {
"Uri": "https://omahaproxy.appspot.com/json"
},

This is basically the same what I've been doing in my own scripts:

$response = irm 'https://omahaproxy.appspot.com/all.json'
$versstr  = (($response | where {$_.os -eq 'win64'}).versions | where {$_.channel -eq 'stable'}).current_version

Problem is, there has been this warning at the top of the OmahaProxy page for quite some time now:

OmahaProxy will be turned down on April 14, 2023. Use ChromiumDash.

I mean, it's still up and running, but who knows?

I couldn't find any JSON endpoint on that ChromiumDash page yet, and I've also tried to ask this question in chromium-discuss but for reasons I do not understand my question has not appeared there yet...

An alternative might be needed, I think.

I've only found this ChromeForTesting project, and they provide JSON API info, but, in the current case, the version number for latest windows stable is not entirely correct..

Have you tested against the current version?

  • Yes, I've updated Evergreen and tested against the current version.

Have you reviewed the documentation?

@Hrxn Hrxn added the enhancement New feature or request label Sep 13, 2023
@aaronparker
Copy link
Owner

We've used the Chrome for Testing feed for GoogleChromeDriver #537

@aaronparker
Copy link
Owner

ChromiumDash has this to query releases which might work:

https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Windows

@Hrxn
Copy link
Author

Hrxn commented Sep 13, 2023

You're right, good find.

That seems like the right URL for this.

As I see it, returns values in a JSON array, latest being in first position, so the correct version number would simply be $response[0].version?

@aaronparker
Copy link
Owner

Correct

aaronparker added a commit that referenced this issue Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants