-
Notifications
You must be signed in to change notification settings - Fork 805
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
Replacing omahaproxy.appspot due to deprecation #2260
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
The only consideration might be how we select the fraction. I don't have a clue how that could change in the future, but it's possible that ratio might vary more significantly. We'll just have to see what happens.
The results can be ordered, so if that ends up being a problem we could maybe add &order_by=fraction%20desc
to the URL and select the first entry:
https://versionhistory.googleapis.com/v1/chrome/platforms/win/channels/stable/versions/all/releases?filter=endtime=none&order_by=fraction%20desc
On a side note, is there any reason for having the check run every six hours? Would it cause problems to have it run more frequently?
We all know by now that Google plays on its own rules, so all we can do is just observe and adapt :)
The value was taken randomly IIRC. I was thinking that if we are to be notified of a new release with the maximum delay of 6 hours, that would be acceptable. Also I had no idea which rate limits are there on omahaproxy, so this value was taken almost randomly. We can try increasing the frequency of the check. Another limiting factor I can think of could be GitHub rate-limiting since there is some logic in issue-creation that pulls GitHub API. Every hour then maybe? |
The value was not taken randomly. According to Google's documentation, fraction is the ratio of users who were pushed the update. So if it's 0.9 then 90% of users on the stable channel were/will be sent the update by Google which I think is a good enough metric for it to be "stable." Edit: It's a sort of A/B testing by Google. |
@rany2 The value I was referring to was 6 hours interval for a check, not the fraction. |
@PF4Public Ah sorry, I wasn't following very well 😅 |
IMO an interval of one hour isn't too abusive. (Both for Github Actions and Google themselves) Edit: for example Flathub's GA action runs every 30 minutes, so one hour is OK for sure. |
b7a0779
I've changed it to be every hour instead of 6. Sorry, this dismissed all reviews. |
P.S. I liked @Ahrotahn's proposal. Not sure if it's too late to switch this to: |
@rany2 Why not :) It does not matter, who is filtering :) |
I wonder if there is a desire to make all commits signed? @networkException Was last merged commit a hint or just a random trial? |
I mainly wanted to see if and how it is possible with our workflow. Improved verifiability is definitely something I'd like to advance in the project though |
Something I'm quite a fan of is the new ssh-based commit signing. Previously I wasn't too invested in signing git commits because I hate GPG but having it use ssh keys instead is very convenient! |
If I recall correctly, using the squash and merge option in the github web interface will have the commit signed by github's key. That would be an easy way of having the commit verified when you don't mind having only one commit for the PR. |
I didn't expect the mac releases to be rolled out so slowly. Would it be a good idea to order by the version number instead? |
What do you mean? |
He means like this:
|
Will it bring betas in the list? |
No |
I could do it later today. |
Just keep in mind -V is a GNU extra, on FreeBSD it behaves differently |
Could jq do the sorting then? GitHub runners are definitely Linux though. |
Sorry I should have mentioned that the api can do it! All you would have to do is change |
Are you sure it's natural sort? |
Answering my own question: yes, it is. @PF4Public Just replace fraction with version and it works just fine! |
Version information previously available at omahaproxy.appspot.com will have to be retrieved from versionhistory.googleapis.com in the future. See https://groups.google.com/a/chromium.org/g/chromium-dev/c/uH-nFrOLWtE/m/PhUj_inyAQAJ See ungoogled-software/ungoogled-chromium#2260
Version information previously available at omahaproxy.appspot.com will have to be retrieved from versionhistory.googleapis.com in the future. See https://groups.google.com/a/chromium.org/g/chromium-dev/c/uH-nFrOLWtE/m/PhUj_inyAQAJ See ungoogled-software/ungoogled-chromium#2260
Version information previously available at omahaproxy.appspot.com will have to be retrieved from versionhistory.googleapis.com in the future. See https://groups.google.com/a/chromium.org/g/chromium-dev/c/uH-nFrOLWtE/m/PhUj_inyAQAJ See ungoogled-software/ungoogled-chromium#2260
Version information previously available at omahaproxy.appspot.com will have to be retrieved from versionhistory.googleapis.com in the future. See https://groups.google.com/a/chromium.org/g/chromium-dev/c/uH-nFrOLWtE/m/PhUj_inyAQAJ See ungoogled-software/ungoogled-chromium#2260
Version information previously available at omahaproxy.appspot.com will have to be retrieved from versionhistory.googleapis.com in the future. See https://groups.google.com/a/chromium.org/g/chromium-dev/c/uH-nFrOLWtE/m/PhUj_inyAQAJ See ungoogled-software/ungoogled-chromium#2260
Version information previously available at omahaproxy.appspot.com will have to be retrieved from versionhistory.googleapis.com in the future. See https://groups.google.com/a/chromium.org/g/chromium-dev/c/uH-nFrOLWtE/m/PhUj_inyAQAJ See ungoogled-software/ungoogled-chromium#2260
Version information previously available at omahaproxy.appspot.com will have to be retrieved from versionhistory.googleapis.com in the future. See https://groups.google.com/a/chromium.org/g/chromium-dev/c/uH-nFrOLWtE/m/PhUj_inyAQAJ See ungoogled-software/ungoogled-chromium#2260
Version information previously available at omahaproxy.appspot.com will have to be retrieved from versionhistory.googleapis.com in the future. See https://groups.google.com/a/chromium.org/g/chromium-dev/c/uH-nFrOLWtE/m/PhUj_inyAQAJ See ungoogled-software/ungoogled-chromium#2260
Version information previously available at omahaproxy.appspot.com will have to be retrieved from versionhistory.googleapis.com in the future. See https://groups.google.com/a/chromium.org/g/chromium-dev/c/uH-nFrOLWtE/m/PhUj_inyAQAJ See ungoogled-software/ungoogled-chromium#2260
Thanks @rany2.