go-task / task

A task runner / simpler Make alternative written in Go
https://taskfile.dev
MIT License
11.45k stars 616 forks source link

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

Open andreynering opened 6 months ago

andreynering commented 6 months ago

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.

42atomys commented 5 months ago

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 🌱

42atomys commented 3 months ago

Hi @andreynering, after few weeks of work, the registry system (loader) are done with Release v0.5.0: Sprout Growth 🌿.

I will open a PR to implement the migration on go-task soonβ„’ to test it πŸš€

Thank you for your patience 🌱