nikogura / dbt

A delivery system for running self-updating, signed tools.
MIT License
62 stars 9 forks source link

Feature Request: Replace boilerplate customization mechanism with golang 1.16 embed #19

Open nikogura opened 3 years ago

nikogura commented 3 years ago

https://golang.org/doc/go1.16#library-embed is the mechanism we've been waiting for.

Replace the janky template system with a simple template file system.

The test suite can benefit from a similar retrofit. No more embedding yaml in strings just so we can keep the tests portable.

nikogura commented 3 years ago

This will probably need to wait a bit. It will drastically alter the publish and fork management behavior, and I don't want to lock out any users that can't move to golang 1.16 immediately.

The current process is admittedly inelegant, but requires no changes for downstream users beyond altering metadata.json and writing a makefile.