software.apache-frontend: Remove unecessary "raw" call
-
Owner
Thanks, it's better this way.
I guess you started in the idea of using
section
on the first half, as the addedsoftware-release-path
seems superfluous now. But this not worth a specific second fix anyway. -
Owner
But this not worth a specific second fix anyway.
I'd say yes because you have twice more lines for the same thing. The code is becoming a maze. Instead of:
raw empty_template ${template-empty:target}
why not simply:
key empty_template template-empty:target
-
Developer
This is not possible.
template-empty
and the other sections are rendered during software build, they doesn't exists when this buildout file is processed at instanciation. -
Owner
Ah, this is already a template ? Sorry I did not identify it as such (although it does not invalidate my comment on the previous commit). In this case, even with jinja2 template the number of lines is the same, but with jinja2 the
dumps()
global would allow escaping safely these values - the lack of which is one of the shortcommings of the old template scheme.A bit of background: This difficulty in quickly idenitifying whether the current file is a template or directly a buildout file is a problems of the old templating scheme. It makes such little-context-available patches unnecessarily hard to review accurately. And I believe it is confusing to all newcomers. Many reasons why I want to see this templating system die...
Anyway, my biggest issue at the moment is that there are so many invalid
raw
uses everywhere. This is what I want to raise awareness of at the moment, so it stops spreading ASAP (I left similar review on several other commits introducing other instances of missuse).