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

Add chrome_android data #1356

Merged
merged 3 commits into from
Aug 29, 2018
Merged

Add chrome_android data #1356

merged 3 commits into from
Aug 29, 2018

Conversation

Elchi3
Copy link
Member

@Elchi3 Elchi3 commented Mar 13, 2018

The build will fail here until we've fixed the chrome_android versions in the data. I'm opening it to discuss the correct chrome_android versions.

Sources are: https://en.wikipedia.org/wiki/Google_Chrome_version_history and the posts on https://chromereleases.googleblog.com

Note that there has been Chrome for Android 18, then 25, and then 26-66.

Once we merge this, the current open PRs and future PRs shouldn't commit invalid Chrome for Android versions anymore as the build will fail otherwise.

This fixes #1353 and another item on #591.

CC'ing @jpmedley

@Elchi3 Elchi3 added the data:browsers Data about browsers (versions, release dates, etc). This data is used for validation. label Mar 13, 2018
@jpmedley
Copy link
Contributor

I've made a few notes in the linked tickets. As far as the missing dates, I'm not sure I can prioritize getting information on release that old. I don't believe Google supports them either.

@patrickkettner
Copy link
Contributor

here is the missing chrome version info. The issue is that a most of the failures are around chrome's android version (e.g. chrome 4.4) rather than an actual chrome version. those could be aliased against the linked data, but I dont know the mappings

@jpmedley
Copy link
Contributor

The new info looks good to me.

@connorshea
Copy link
Contributor

@Elchi3 any chance this will be merged? :)

@Elchi3
Copy link
Member Author

Elchi3 commented Apr 18, 2018

It will be at some point. This adds additional validation to the whole repo and there are many open pull requests that would need rebasing against stronger validation. I'm working on getting the pull request backlog cleared first. Thanks for your patience.

@Elchi3 Elchi3 force-pushed the chrome-android-data branch 4 times, most recently from 929af0f to 83e9b43 Compare August 22, 2018 13:27
@Elchi3
Copy link
Member Author

Elchi3 commented Aug 22, 2018

here is the missing chrome version info. The issue is that a most of the failures are around chrome's android version (e.g. chrome 4.4) rather than an actual chrome version. those could be aliased against the linked data, but I dont know the mappings

That data looks like Chrome desktop releases, note that this PR is about Chrome Android.

I think the releases I have here are correct. There just wasn't a Chrome Android sometimes and it only started with version 18, as stated in https://chromereleases.googleblog.com/2012/06/chrome-for-android-out-of-beta.html

I will update invalid versions in our data.

@Elchi3
Copy link
Member Author

Elchi3 commented Aug 23, 2018

I've added a commit that updates all invalid versions to something that I think make sense:

  • versions below 18 changed to 18.
  • versions 19-24 changed to version 25.

Not sure who can review this, but it would be nice to get merged now that the backlog is smaller.

@Elchi3
Copy link
Member Author

Elchi3 commented Aug 27, 2018

The important part to review here is the first commit that adds chrome android release data:
7e591e3

Validation then checks against the entire compat data (version_added / version_removed) and in the second commit I've corrected invalid data that was found. I don't think these changes need special reviewing, because the tests would catch mistakes there. The PR is rebased against the current master.

@Elchi3
Copy link
Member Author

Elchi3 commented Aug 27, 2018

@wbamberg would you review this for me?
In return, feel free to bug me about a review elsewhere 🙂

@jpmedley
Copy link
Contributor

jpmedley commented Aug 27, 2018

By the way, I suggest NOT listing dates for unreleased versions of Chrome. We generally keep to our six-week schedule, but delays are not unheard of.

Copy link
Contributor

@wbamberg wbamberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked chrome_android.json, that the links to the release notes worked and identified a Chrome Android release with the same number and a matching date. Looks good except for a couple of minor discrepancies.

I agree with Joe on not having dates in the future for releases.

I skimmed the other diffs and they look sensible.

Great work @Elchi3 .

"status": "retired"
},
"26": {
"release_date": "2013-03-03",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-> "2013-04-03"

},
"48": {
"release_date": "2016-01-26",
"release_notes": "https://chromereleases.googleblog.com/2016/01/chrome-for-android-update.html",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no blog post here - it seems there wasn't a blog post for this release.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't find one either. I'm removing this.

"status": "current"
},
"69": {
"release_date": "2018-09-04",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with Joe, having release dates in the future seems dodgy :).

@Elchi3 Elchi3 force-pushed the chrome-android-data branch from 304ce9a to cf40e07 Compare August 29, 2018 07:58
@Elchi3 Elchi3 dismissed wbamberg’s stale review August 29, 2018 08:01

Comments addressed

@Elchi3
Copy link
Member Author

Elchi3 commented Aug 29, 2018

Thank you @wbamberg! 🎉

I've addressed the review comments and rebased against latest master to ensure no new data is invalid according to the now added version validation here. Let's merge this 🙂

@Elchi3 Elchi3 merged commit 83a17d5 into master Aug 29, 2018
@Elchi3 Elchi3 deleted the chrome-android-data branch August 29, 2018 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:browsers Data about browsers (versions, release dates, etc). This data is used for validation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No browsers/chrome_android.json data
5 participants