Closed CohenCyril closed 3 years ago
The header sounds like a good practice indeed.
I'm not convinced by the regenerate.sh
script though. My point of view was rather than one could set up @coqbot to automatically open PRs when the templates are updated.
I'm not convinced by the
regenerate.sh
script though. My point of view was rather than one could set up @coqbot to automatically open PRs when the templates are updated.
this is not incompatible... the script coqbot runs could be available to users as well...
For sure. I'm just not inclined to commit it everywhere.
This could be an option of meta.yml
;)
I suggest adding a header to each template, as a comment in the target language, to mention two things:
Hence I suggest that the following gets added to all generated file assuming
#
is the symbol for commenting in the target language of a given templatemeta.yml
is the name of the meta data fileIn a second step, we could provide a generated file
./regenerate.sh
(with possible option--nix
) in order to reperform the instructions from https://github.com/coq-community/templates without further arguments...CC: @Zimmi48 @strub