@@ -23,17 +23,6 @@ version:
2323github_organization :
2424 type : str
2525 default : " <my-github-organization>"
26- license :
27- type : str
28- choices :
29- - " Apache Software License 2.0"
30- - " MIT license"
31- - " BSD license"
32- - " ISC license"
33- - " GNU General Public License v3 or later"
34- - " GNU Lesser General Public License v3 or later"
35- - " Not open source"
36- default : " MIT license"
3726full_name :
3827 type : str
3928 default : Jane Smith
@@ -48,8 +37,7 @@ code_of_conduct_email:
4837 type : str
4938 default : " {{ email }}"
5039
51- _subdirectory : template
52-
40+ # calculated fields
5341repository :
5442 default :
[email protected] :{{ github_organization }}/{{ package_name }} 5543 when : false
@@ -59,11 +47,42 @@ repository_url:
5947 when : false
6048
6149
62- # Optional questions
50+ # profile selection
51+ template_profile :
52+ type : str
53+ default : recommended
54+ help : Optional questions (You can use our defaults, or the bare minimum, or decide everything)
55+ choices :
56+ Recommended (our defaults for research software) : " recommended"
57+ Minimum (no extra features) : " minimum"
58+ Let me choose (decide each feature yourself) : " ask"
6359
6460
65- # user messages
61+ # extra questions
62+ license :
63+ type : str
64+ choices :
65+ - " Apache Software License 2.0"
66+ - " MIT license"
67+ - " BSD license"
68+ - " ISC license"
69+ - " GNU General Public License v3 or later"
70+ - " GNU Lesser General Public License v3 or later"
71+ - " Not open source"
72+ default : " MIT license"
73+
74+ AddGitHubActions :
75+ when : " {{ template_profile == 'ask' }}"
76+ type : bool
77+ default : " {{ template_profile != 'minimum' }}"
78+ help : GitHub actions to test the package and the documentation
79+
6680
81+ # internal fields
82+ _subdirectory : template
83+
84+
85+ # user messages
6786_message_before_copy : |
6887 Thanks for generating a project using our template.
6988
@@ -77,7 +96,7 @@ _message_after_copy: |
7796
7897 1. Change directory to the project root:
7998
80- $ cd {{ _copier_conf.dst_path }}
99+ $ cd {{ _copier_conf.dst_path }}
81100
82101 2. Read next_steps.md which contains information on next steps.
83102
0 commit comments