Skip to content

Conversation

@haarg
Copy link
Member

@haarg haarg commented Apr 14, 2021

WIP of converting the templates to use Text::Xslate

oalders
oalders previously approved these changes Apr 15, 2021
Copy link
Member

@oalders oalders left a comment

Choose a reason for hiding this comment

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

From what I can tell, it looks great.

@oalders
Copy link
Member

oalders commented Apr 15, 2021

I think this will have to go out of draft mode in order for CI to run.

@haarg haarg force-pushed the text-xslate branch 2 times, most recently from cc1ef31 to 2f3328c Compare April 19, 2021 14:08
@haarg
Copy link
Member Author

haarg commented Apr 29, 2021

All of the templates are now converted. Still needs substantial testing and review.

@oalders
Copy link
Member

oalders commented Apr 29, 2021

Has some tidy and rendering errors.

Text::Xslate is meant to be faster than other templating engines, and provides some other capabilities to make templates more reusable, such as template inheritance. Previously we were using Template::Alloy, but it has some inconsistent behaviors, such as either not outputting overloaded objects, or not applying automatic escaping to them, depending on which version is used.
@haarg
Copy link
Member Author

haarg commented May 1, 2021

Tests are passing.

@oalders
Copy link
Member

oalders commented May 5, 2021

I'm going to temporarily move this out of draft mode to see if we can get the Docker build to run.

@oalders oalders marked this pull request as ready for review May 5, 2021 02:56
@oalders
Copy link
Member

oalders commented May 5, 2021

It doesn't show up as an available branch for the workflow. It may need to be rebased. Probably a good idea since there's the one merge conflict.

@oalders oalders marked this pull request as draft May 5, 2021 02:58
@oalders
Copy link
Member

oalders commented May 5, 2021

Oh, it's because you've forked.

@haarg
Copy link
Member Author

haarg commented May 5, 2021

Replaced by #2490

@haarg haarg closed this May 5, 2021
@haarg haarg deleted the text-xslate branch May 5, 2021 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants