payload: {"action":"created","issue":{"url":"https://api.github.com/repos/Origen-SDK/o2/issues/69","repository_url":"https://api.github.com/repos/Origen-SDK/o2","labels_url":"https://api.github.com/repos/Origen-SDK/o2/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/Origen-SDK/o2/issues/69/comments","events_url":"https://api.github.com/repos/Origen-SDK/o2/issues/69/events","html_url":"https://github.com/Origen-SDK/o2/issues/69","id":546831605,"node_id":"MDU6SXNzdWU1NDY4MzE2MDU=","number":69,"title":"Compiler/Templater","user":{"login":"info-rchitect","id":26782653,"node_id":"MDQ6VXNlcjI2NzgyNjUz","avatar_url":"https://avatars1.githubusercontent.com/u/26782653?v=4","gravatar_id":"","url":"https://api.github.com/users/info-rchitect","html_url":"https://github.com/info-rchitect","followers_url":"https://api.github.com/users/info-rchitect/followers","following_url":"https://api.github.com/users/info-rchitect/following{/other_user}","gists_url":"https://api.github.com/users/info-rchitect/gists{/gist_id}","starred_url":"https://api.github.com/users/info-rchitect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/info-rchitect/subscriptions","organizations_url":"https://api.github.com/users/info-rchitect/orgs","repos_url":"https://api.github.com/users/info-rchitect/repos","events_url":"https://api.github.com/users/info-rchitect/events{/privacy}","received_events_url":"https://api.github.com/users/info-rchitect/received_events","type":"User","site_admin":false},"labels":[{"id":1694050890,"node_id":"MDU6TGFiZWwxNjk0MDUwODkw","url":"https://api.github.com/repos/Origen-SDK/o2/labels/enhancement","name":"enhancement","color":"a2eeef","default":true,"description":"New feature or request"},{"id":1723364186,"node_id":"MDU6TGFiZWwxNzIzMzY0MTg2","url":"https://api.github.com/repos/Origen-SDK/o2/labels/feature%20discussion","name":"feature discussion","color":"fcb6b5","default":false,"description":"Discussion on a feature's requirements or implementation"}],"state":"open","locked":false,"assignee":{"login":"info-rchitect","id":26782653,"node_id":"MDQ6VXNlcjI2NzgyNjUz","avatar_url":"https://avatars1.githubusercontent.com/u/26782653?v=4","gravatar_id":"","url":"https://api.github.com/users/info-rchitect","html_url":"https://github.com/info-rchitect","followers_url":"https://api.github.com/users/info-rchitect/followers","following_url":"https://api.github.com/users/info-rchitect/following{/other_user}","gists_url":"https://api.github.com/users/info-rchitect/gists{/gist_id}","starred_url":"https://api.github.com/users/info-rchitect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/info-rchitect/subscriptions","organizations_url":"https://api.github.com/users/info-rchitect/orgs","repos_url":"https://api.github.com/users/info-rchitect/repos","events_url":"https://api.github.com/users/info-rchitect/events{/privacy}","received_events_url":"https://api.github.com/users/info-rchitect/received_events","type":"User","site_admin":false},"assignees":[{"login":"info-rchitect","id":26782653,"node_id":"MDQ6VXNlcjI2NzgyNjUz","avatar_url":"https://avatars1.githubusercontent.com/u/26782653?v=4","gravatar_id":"","url":"https://api.github.com/users/info-rchitect","html_url":"https://github.com/info-rchitect","followers_url":"https://api.github.com/users/info-rchitect/followers","following_url":"https://api.github.com/users/info-rchitect/following{/other_user}","gists_url":"https://api.github.com/users/info-rchitect/gists{/gist_id}","starred_url":"https://api.github.com/users/info-rchitect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/info-rchitect/subscriptions","organizations_url":"https://api.github.com/users/info-rchitect/orgs","repos_url":"https://api.github.com/users/info-rchitect/repos","events_url":"https://api.github.com/users/info-rchitect/events{/privacy}","received_events_url":"https://api.github.com/users/info-rchitect/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2020-01-08T12:30:12Z","updated_at":"2020-01-08T14:30:25Z","closed_at":null,"author_association":"MEMBER","body":"Hi,\r\n\r\nSo we got no ERB equivalent in Python so we need to go 3rd party.  Here is what I have found so far:\r\n\r\n- [Mustache](mustache.github.io/)\r\n- [Jinja](https://jinja.palletsprojects.com/en/2.10.x/)\r\n- [Mako](https://www.makotemplates.org/)\r\n\r\nIn general solutions like Mustache would make the compiler much less powerful vs Jinja and Mako that can execute conditional Python.  Perhaps it really just comes down to the templating syntax ease of use and the documentation completeness?  Send your opinions."},"comment":{"url":"https://api.github.com/repos/Origen-SDK/o2/issues/comments/572080013","html_url":"https://github.com/Origen-SDK/o2/issues/69#issuecomment-572080013","issue_url":"https://api.github.com/repos/Origen-SDK/o2/issues/69","id":572080013,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MjA4MDAxMw==","user":{"login":"coreyeng","id":13453967,"node_id":"MDQ6VXNlcjEzNDUzOTY3","avatar_url":"https://avatars2.githubusercontent.com/u/13453967?v=4","gravatar_id":"","url":"https://api.github.com/users/coreyeng","html_url":"https://github.com/coreyeng","followers_url":"https://api.github.com/users/coreyeng/followers","following_url":"https://api.github.com/users/coreyeng/following{/other_user}","gists_url":"https://api.github.com/users/coreyeng/gists{/gist_id}","starred_url":"https://api.github.com/users/coreyeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreyeng/subscriptions","organizations_url":"https://api.github.com/users/coreyeng/orgs","repos_url":"https://api.github.com/users/coreyeng/repos","events_url":"https://api.github.com/users/coreyeng/events{/privacy}","received_events_url":"https://api.github.com/users/coreyeng/received_events","type":"User","site_admin":false},"created_at":"2020-01-08T14:30:25Z","updated_at":"2020-01-08T14:30:25Z","author_association":"MEMBER","body":"We care in that we can expose a frontend/optimize supported templating systems and have them natively built in. For example, supporting Jinja2 ourselves would mean we'd bring in the dependencies, and the `compile` method would support it out of the box.\r\n\r\nProblems can arise when something internal calls `compile` with given arguments that aren't exposed to the user. In Ruby (and in Python) we can monkey-patch our way around this, but it takes work. Consider the web templating in O1: the web files are run through ERB behind-the-scenes, with a given context. Not having a wrapper to pass that context to _whatever_ means more required work by the end users to support not-ERB.\r\n\r\nAs far as Jinja2 vs. Mako goes, I'm pretty indifferent. I was just stating my prior experience with Jinja2, but I haven't been doing much templating anyway so take my opinion for what you will."}}
other: {"actor":{"display_login":"coreyeng"}}