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

Query the"whattrainisitnow" release schedule API instead of hard-coding scheduled release dates #1461

Closed
gabrielBusta opened this issue May 7, 2024 · 0 comments · Fixed by #1464
Assignees
Labels
enhancement New feature or request

Comments

@gabrielBusta
Copy link
Member

gabrielBusta commented May 7, 2024

This issue pertains to the merge duty step outlined here.

Currently, we manually retrieve the LAST and NEXT known dates from the "whattrainisitnow" service and hard-code them into our configuration file:

# The next 6 dates are information about the current and next release
# They must be updated at the same time as FIREFOX_NIGHTLY
# They can be found on https://whattrainisitnow.com/calendar/
LAST_SOFTFREEZE_DATE = "2024-04-11"
LAST_MERGE_DATE = "2024-04-15"
LAST_RELEASE_DATE = "2024-04-16"
NEXT_SOFTFREEZE_DATE = "2024-05-09"
NEXT_MERGE_DATE = "2024-05-13"
NEXT_RELEASE_DATE = "2024-05-14"

The release schedule on "whattrainisitnow" is maintained by relman and is accessible via an API. Instead of manually looking up these dates and hard-coding them into Shipit, I propose querying this API. This automation will not only ensure consistency between "whattrainisitnow" and Shipit but will also reduce the need for manual updates and deployments related to these dates.

Implementing these changes will help the progress of issue #1418.

@gabrielBusta gabrielBusta added the enhancement New feature or request label May 7, 2024
@gabrielBusta gabrielBusta self-assigned this May 7, 2024
@gabrielBusta gabrielBusta changed the title Query the"whattrainisitnow" release schedule API instead of hard-coding future dates (and bump the Nightly version automaitcally) Query the"whattrainisitnow" release schedule API instead of hard-coding future dates May 7, 2024
@gabrielBusta gabrielBusta changed the title Query the"whattrainisitnow" release schedule API instead of hard-coding future dates Query the"whattrainisitnow" release schedule API instead of hard-coding scheduled release dates May 8, 2024
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
1 participant