-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: source of truth for version support #18
Draft
dsanders11
wants to merge
1
commit into
main
Choose a base branch
from
versions-json
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,177 @@ | ||
[ | ||
{ | ||
"major": 26, | ||
"alpha": "2023-06-01", | ||
"beta": "2023-06-27", | ||
"stable": "2023-08-08", | ||
"endOfLife": null | ||
}, | ||
{ | ||
"major": 25, | ||
"alpha": "2023-04-10", | ||
"beta": "2023-05-02", | ||
"stable": "2023-05-30", | ||
"endOfLife": "2023-12-05" | ||
}, | ||
{ | ||
"major": 24, | ||
"alpha": "2023-02-09", | ||
"beta": "2023-03-07", | ||
"stable": "2023-04-04", | ||
"endOfLife": "2023-10-03" | ||
}, | ||
{ | ||
"major": 23, | ||
"alpha": "2022-12-01", | ||
"beta": "2023-01-10", | ||
"stable": "2023-02-07", | ||
"endOfLife": "2023-08-08" | ||
}, | ||
{ | ||
"major": 22, | ||
"alpha": "2022-09-29", | ||
"beta": "2022-10-25", | ||
"stable": "2022-11-29", | ||
"endOfLife": "2023-10-10" | ||
}, | ||
{ | ||
"major": 21, | ||
"alpha": "2022-08-04", | ||
"beta": "2022-08-30", | ||
"stable": "2022-09-27", | ||
"endOfLife": "2023-04-04" | ||
}, | ||
{ | ||
"major": 20, | ||
"alpha": "2022-05-26", | ||
"beta": "2022-06-21", | ||
"stable": "2022-08-02", | ||
"endOfLife": "2023-02-07" | ||
}, | ||
{ | ||
"major": 19, | ||
"alpha": "2022-03-31", | ||
"beta": "2022-04-26", | ||
"stable": "2022-05-24", | ||
"endOfLife": "2022-11-29" | ||
}, | ||
{ | ||
"major": 18, | ||
"alpha": "2022-02-03", | ||
"beta": "2022-03-03", | ||
"stable": "2022-03-29", | ||
"endOfLife": "2022-09-27" | ||
}, | ||
{ | ||
"major": 17, | ||
"alpha": "2021-11-18", | ||
"beta": "2022-01-06", | ||
"stable": "2022-02-01", | ||
"endOfLife": "2022-08-02" | ||
}, | ||
{ | ||
"major": 16, | ||
"alpha": "2021-09-23", | ||
"beta": "2021-10-20", | ||
"stable": "2021-11-16", | ||
"endOfLife": "2022-05-24" | ||
}, | ||
{ | ||
"major": 15, | ||
"alpha": "2021-07-20", | ||
"beta": "2021-09-01", | ||
"stable": "2021-09-21", | ||
"endOfLife": "2022-05-24" | ||
}, | ||
{ | ||
"major": 14, | ||
"alpha": null, | ||
"beta": "2021-05-27", | ||
"stable": "2021-08-31", | ||
"endOfLife": "2022-03-29" | ||
}, | ||
{ | ||
"major": 13, | ||
"alpha": null, | ||
"beta": "2021-03-04", | ||
"stable": "2021-05-25", | ||
"endOfLife": "2022-02-01" | ||
}, | ||
{ | ||
"major": 12, | ||
"alpha": null, | ||
"beta": "2020-11-19", | ||
"stable": "2021-03-02", | ||
"endOfLife": "2021-11-16" | ||
}, | ||
{ | ||
"major": 11, | ||
"alpha": null, | ||
"beta": "2020-08-27", | ||
"stable": "2020-11-17", | ||
"endOfLife": "2021-08-31" | ||
}, | ||
{ | ||
"major": 10, | ||
"alpha": null, | ||
"beta": "2020-05-21", | ||
"stable": "2020-08-25", | ||
"endOfLife": "2021-05-25" | ||
}, | ||
{ | ||
"major": 9, | ||
"alpha": null, | ||
"beta": "2020-02-06", | ||
"stable": "2020-05-19", | ||
"endOfLife": "2021-03-02" | ||
}, | ||
{ | ||
"major": 8, | ||
"alpha": null, | ||
"beta": "2019-10-24", | ||
"stable": "2020-02-04", | ||
"endOfLife": "2020-11-17" | ||
}, | ||
{ | ||
"major": 7, | ||
"alpha": null, | ||
"beta": "2019-08-01", | ||
"stable": "2019-10-22", | ||
"endOfLife": "2020-08-25" | ||
}, | ||
{ | ||
"major": 6, | ||
"alpha": null, | ||
"beta": "2019-04-25", | ||
"stable": "2019-07-30", | ||
"endOfLife": "2020-05-19" | ||
}, | ||
{ | ||
"major": 5, | ||
"alpha": null, | ||
"beta": "2019-01-22", | ||
"stable": "2019-04-23", | ||
"endOfLife": "2020-02-04" | ||
}, | ||
{ | ||
"major": 4, | ||
"alpha": null, | ||
"beta": "2018-10-11", | ||
"stable": "2018-12-20", | ||
"endOfLife": "2019-10-22" | ||
}, | ||
{ | ||
"major": 3, | ||
"alpha": null, | ||
"beta": "2018-06-21", | ||
"stable": "2018-09-18", | ||
"endOfLife": "2019-07-30" | ||
}, | ||
{ | ||
"major": 2, | ||
"alpha": null, | ||
"beta": "2018-02-21", | ||
"stable": "2018-05-01", | ||
"endOfLife": "2019-04-23" | ||
} | ||
] |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
These dates shouldn't need to be hardcoded, they can be auto-generated from historical release data? Unless the intention is that these are date predictions, in which case I'm not a huge fan of this just living in a json file in this repo 🤔
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.
Fair point, I could look at making that change and generating them from the releases data.
For future versions (like 26 in this case) the alpha/beta/stable dates are added to
e/e
as date "predictions" (AKA the schedule) via PRs like electron/electron#38378.The point of them "just living in a json file in this repo" is they need to live somewhere (currently in that table in
e/e
docs), and if they live here they can be used to generate that table in the docs instead, in addition to being generally available in machine-readable form for usage in automation.One of the current main motivators of this PR is for the dates for the next release branch to be available in machine-readable form for the new release board automation on
e/e
so it can fill in dates for when specific items need to be done by.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.
Idea which came up in the @~electron/wg-releases meeting today - what if alpha/beta/stable is auto-generated from historical data if those releases for that major have already happened (ignoring any hardcoded values) and uses the hardcoded "predictions" otherwise? Then as part of updating the scheduled dates for the next major version the PR would just cull the old dates for released versions (except for EOL).
If this is the biggest concern, is there a spot you'd rather have it? I agree I'm not a huge fan of it being in this repo, but since this repo serves
/releases.json
it seemed like the spot with the fewest moving pieces. If we'd rather we could put it somewhere ine/e
and have it grabbed (and cached) via octokit?