-
Notifications
You must be signed in to change notification settings - Fork 428
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
Update googlechromepkg.sh #1366
Conversation
omahaproxy is permanently shutdown; must use google api service to get current version now
|
I am definitely not an expert coder/scripter; I was just trying to come up
with a way to get the latest release version since omahaproxy is no longer
available.
Joel Hatcher
…On Mon, Dec 18, 2023 at 2:23 PM Fraser Hess ***@***.***> wrote:
curl -s
https://versionhistory.googleapis.com/v1/chrome/platforms/mac_arm64/channels/stable/versions
| plutil -extract versions.0.version raw -o - - would be more elegant but
I'm figuring that macOS Monterey can't be assumed
—
Reply to this email directly, view it on GitHub
<#1366 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARQLDUBBC45YI2BXJP7WYZLYKCQ5LAVCNFSM6AAAAABAM3VPTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRRGU2DOMJVGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Just came here to see if there was a PR yet for this. This was my solution:
|
That works better than my version; I vote in favor of this solution.
Joel Hatcher
…On Tue, Dec 26, 2023 at 4:52 PM Mike Schwartz ***@***.***> wrote:
Just came here to see if there was a PR yet for this. This was my solution:
appNewVersion=$(getJSONValue "$(curl -fsL '
https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Mac&num=1'
)" "[0].version" )
—
Reply to this email directly, view it on GitHub
<#1366 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARQLDUBH5YVEGTJ3CDTOLNDYLNILBAVCNFSM6AAAAABAM3VPTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZHAYDSMBVGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I'm still researching an alternative, but all of the approaches suggested so far have a problem: they pick up early stable release versions. The current version returned is 121.0.6167.75 which has a 0.25% rollout. That does not match with the pkg download URL. 121.x isn't scheduled for a full stable release until the 23rd. https://chromiumdash.appspot.com/schedule |
ok, I've reverse-engineered what https://chromeenterprise.google/browser/download/#mac-tab does, and here's my new proposal: API reference: https://developer.chrome.com/docs/web-platform/versionhistory/reference |
Wow, well done! |
Can someone make a final pull request with the agreed upon best solution? @fraserhess ? |
my pull request can be cancelled; it looks like @fraserhess has the best solution as it is what the browser itself uses |
Sorry to comment on a closed PR but it looks like |
Yes, I can see that versions do not match. Looking at Google's JS again I think the filter should be for a fraction greater than 1% instead of 10%
|
Agreed upon solution requested by @BigMacAdmin as provided by @fraserhess and @mjabroux from Installomator#1366. Didn't see anyone else doing a PR on this and it's been a bit.
Agreed upon solution requested by @BigMacAdmin as provided by @fraserhess and @mjabroux from Installomator#1366. Didn't see anyone else doing a PR on this and it's been a bit. Second commit due to my mistake on Installomator#1556
omahaproxy is permanently shutdown; must use google api service to get current version now