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

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

Open
cjac opened this issue Dec 14, 2024 · 1 comment · May be fixed by #1282
Open

Comments

@cjac
Copy link
Contributor

cjac commented Dec 14, 2024

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
Copy link
Contributor Author

cjac commented Dec 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant