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

Apply changes to redirection rules #312

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

straight-shoota
Copy link
Member

@straight-shoota straight-shoota commented Jun 7, 2024

$ make get-website-configuration | tail -n +2 | sed -e 's/1.12.2/${CRYSTAL_VERSION}/g' > aws-config.json

@ysbaddaden
Copy link

We better not forget to add /api/2 if we release a Crystal 2 compiler someday.

Copy link
Member

@matiasgarciaisaia matiasgarciaisaia left a comment

Choose a reason for hiding this comment

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

👍 We're testing this in prod now, so unless we hear of new issues, I'd merge this :shipit:

Comment on lines 33 to 35
{
"Condition": {
"KeyPrefixEquals": "api/latest/${CRYSTAL_VERSION}/"
Copy link
Member

Choose a reason for hiding this comment

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

I think we should be able to delete this rule now, since before getting api/latest/1.x.y, we'll be catched by the new api/1 rule - and sent to the 404 page.

@matiasgarciaisaia
Copy link
Member

Anything else missing in order to ship this?

We better not forget to add /api/2 if we release a Crystal 2 compiler someday.

On the one hand, I agree with this. On the other hand, I'd expect us to have got rid of this patchwork of rules by the time Crystal's v2. But then again, the patchwork works, so we could add support for v2 already.

@straight-shoota straight-shoota marked this pull request as ready for review June 10, 2024 17:53
@straight-shoota straight-shoota merged commit fe82a34 into master Jun 14, 2024
@straight-shoota straight-shoota deleted the feat/update-redirection-rules branch June 14, 2024 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants