Smarty has split into 3.x (currently ~arch) and legacy 2.x which is currently stable. Our stable 2.6.24 is two minor versions behind, though. It would be nice to have the latest 2.x version in the tree. From the NEWS (the E_NOTICE thing is particularly annoying): Version 2.6.26 (June 18th, 2009) ------------------------------- - revert super global access changes, and instead rely on USE_SUPER_GLOBALS for security Version 2.6.25 (May 19th, 2009) ------------------------------- - fix E_NOTICE when sessions are disabled (mohrt) The only change needed in the ebuild is in the SRC_URI, where the path has changed from "distributions" to "files".
The final decision is with Tom, but please don't. I'm working on getting phpDocumentor into the tree, as it supersedes PEAR-PhpDocumentor, which is the last reverse dep of smarty2. After we made the transition, smarty3 is the way to go (and probably smarty2 removed).
(In reply to comment #1) > The final decision is with Tom, but please don't. > > I'm working on getting phpDocumentor into the tree, as it supersedes > PEAR-PhpDocumentor, which is the last reverse dep of smarty2. After we made > the transition, smarty3 is the way to go (and probably smarty2 removed). I wasn't thinking about deps, more that I don't want to have to test and potentially rewrite hundreds of websites to work with smarty-3.x.
Is this an actual statement of fact? As in, you will have to go through more than a dozen pages of smarty2 templates to convert them?
(In reply to comment #3) > Is this an actual statement of fact? As in, you will have to go through more > than a dozen pages of smarty2 templates to convert them? Without doing a tally, we host at least 20 sites with custom smarty-2.x templates, and many more using CMS engines that utilize smarty. They ship with their own copy, but I've removed them in favor of the system copy. Smarty-3.x is mostly backwards compatible; I'll probably just have to set $smarty->auto_literal = false; and look through the pages of the sites that use the templates fixing minor problems. It's still a few days' work though. I will have to make the switch eventually, and I am capable of maintaining smarty-2 in an overlay (I have virtual ebuilds for some of the sites that require it). This wasn't so much a "keep smarty-2" request -- I would just like to have 2.6.26 instead of 2.6.24 in the meantime because those notices clog up our logs.
Make that 2.6.27 =)
Well, it's in CVS now. But I'll ask for smarty-2.6.24 to be removed without -2.6.27 to be marked stable. So you better peg those version via masking smarty-3 locally.
Thanks for this, it'll make my life a little easier. I've opened tickets for myself to start migrating all of our sites, but it's going to take a while.