-
Notifications
You must be signed in to change notification settings - Fork 649
Use minijinja
instead of handlebars
#3951
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
Conversation
☔ The latest upstream changes (presumably #3959) made this pull request unmergeable. Please resolve the merge conflicts. |
e341c60
to
668e793
Compare
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.
👍 on my end but I'm not too familiar with the dump-db script. The tests should ensure it works fine but just in case, I'd like to see Justin's review. If they cannot respond for a while, feel free to r=me.
`minijinja` is explicitly built to be a light-weight templating system with minimal dependencies. Since we don't use a lot of the complexity that a full templating system like `handlebars` brings, we can reduce our number of transitive dependencies by replacing `handlebars` with `minijinja`. Note that it currently does not reduce the number of dependencies significantly, because other dependencies are still depending on these other transitive dependencies... 🙈
@JohnTitor thanks! looks like Justin is currently quite busy with his new job. since we have tests for this functionality I feel quite confident that this should not break anything :) @bors r=JohnTitor |
📌 Commit bbdccd1 has been approved by |
☀️ Test successful - checks-actions |
just imported the database dump from tonight, and everything appears to be working well :) |
minijinja
is explicitly built to be a light-weight templating system with minimal dependencies. Since we don't use a lot of the complexity that a full templating system likehandlebars
brings, we can reduce our number of transitive dependencies by replacinghandlebars
withminijinja
. Note that it currently does not reduce the number of dependencies significantly, because other dependencies are still depending on these other transitive dependencies... 🙈see https://github.com/mitsuhiko/minijinja