initialization-actions icon indicating copy to clipboard operation
initialization-actions copied to clipboard

[initialization-actions] The repository has manually-generated, re-used code which gets out of sync

Open cjac opened this issue 1 year ago • 1 comments

The init actions repo has had some problems accepting changes from multiple contributors at once because much of its codebase is duplicated in each action.

I propose that we re-factor the common code into templates and build the actions from templates instead.

Some options are:

Perl's Template::Toolkit Template::Toolkit re-written in Python https://github.com/lmr/Template-Toolkit-Python m4 macros as used by GNU automake / autoconf

cjac avatar Dec 14 '24 22:12 cjac

This is the same problem which prompted the now-defunct PR #1030

Sharing code would help us to accept more patches in parallel. The lack of a way to share code is blocking merge of #1259

cjac avatar Dec 16 '24 22:12 cjac