Skip to content
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

Migrate from sprig (slim-sprig) to sprout? #1638

Open
andreynering opened this issue May 9, 2024 · 1 comment
Open

Migrate from sprig (slim-sprig) to sprout? #1638

andreynering opened this issue May 9, 2024 · 1 comment
Labels
area: templating Changes related to the templating engine.

Comments

@andreynering
Copy link
Member

andreynering commented May 9, 2024

sprig is the library that we use for template functions. We forked it on slim-sprig because the original imports too many packages and also had many functions that do not make sense for a template (crypto functions, etc).

Today, I learned that there's an attempt fork sprig given it hasn't had any activity for over 2 years:

It's far from ready, but I decided to open this issue so we don't forget to take a look on how's the fork going in the near future.

@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label May 9, 2024
@andreynering andreynering removed the state: needs triage Waiting to be triaged by a maintainer. label May 9, 2024
@pd93 pd93 added the area: templating Changes related to the templating engine. label May 10, 2024
@42atomys
Copy link

Hi again 👋,

Thank you again for your interest in https://github.com/go-sprout/sprout !

Given the impact of your suggestions on the loading of functions and loading only the functions you need, I have created an RFC about the loading strategy (load per package, load per function, load per import for build time).

Your input could be incredibly valuable for both of us: Sprout could develop a robust loading system, and you would have something similar to your slim-sprig library. Let's build something together 🥇

Best regards 🌱

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: templating Changes related to the templating engine.
Projects
None yet
Development

No branches or pull requests

4 participants