Page MenuHomeDevCentral

Switch Smarty from bundled library to Composer package
ClosedPublic

Authored by dereckson on Sun, Oct 19, 21:38.
Tags
None
Referenced Files
F12343482: D3778.diff
Mon, Oct 27, 01:36
F12342972: D3778.diff
Sun, Oct 26, 23:56
F12342636: D3778.diff
Sun, Oct 26, 22:45
Unknown Object (File)
Sun, Oct 26, 02:26
Unknown Object (File)
Sat, Oct 25, 21:57
Unknown Object (File)
Sat, Oct 25, 21:15
Unknown Object (File)
Sat, Oct 25, 21:15
Unknown Object (File)
Sat, Oct 25, 21:15
Subscribers
None

Details

Summary

Smarty was previously bundled with the application.

This change requires Smarty as a Composer package.

Diff Detail

Repository
rOBSIDIAN Obsidian Workspaces
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
main
Build Status
Buildable 6049
Build 6333: arc lint + arc unit

Event Timeline

dereckson created this revision.

This is a more straightforward compared to the Zed same change:

  • we already have a method to initialize the template engine in Context class
  • we don't have custom plugin

But see also this big Smarty templates upgrade for PHP 8.1 where extra logic for Azhàr variables have been added to the engine class.

This revision is now accepted and ready to land.Sun, Oct 19, 21:43