-
Notifications
You must be signed in to change notification settings - Fork 1
/
cookiecutter.json
32 lines (32 loc) · 3.99 KB
/
cookiecutter.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"full_name": "Enter your full name",
"email": "Enter your email address",
"contribution_name": "Choose a name for your contribution here. This will also be your package name. It's best to choose something short but descriptive",
"__contrib_name": "{% if cookiecutter.contribution_name == 'Choose a name for your contribution here. This will also be your package name. It\\'s best to choose something short but descriptive' -%}{% else -%}{{ cookiecutter.contribution_name }}{% endif -%}",
"project_short_description": "Describe your contribution",
"repository": "If you have already created a GitHub repository for your package, paste the url here. Otherwise, press Enter to skip",
"__repository": "{% if cookiecutter.repository == 'If you have already created a GitHub repository for your package, paste the url here. Otherwise, press Enter to skip' -%}{% else -%}{{ cookiecutter.repository }}{% endif -%}",
"autora_contribution_type": ["theorist [DEFAULT]", "experimentalist", "experiment_runner", "custom"],
"custom_autora_contribution_type": "{% if cookiecutter.autora_contribution_type == 'custom' -%}Enter a name for your contribution type{% else -%}N/A - Press Enter to skip{% endif -%}",
"__autora_contribution_type": "{% if cookiecutter.autora_contribution_type == 'custom' -%}{{ cookiecutter.custom_autora_contribution_type }}{% else -%}{{ cookiecutter.autora_contribution_type }}{% endif -%}",
"experiment_runner_type": [
"{% if cookiecutter.autora_contribution_type == 'experiment_runner' -%}experiment_runner [DEFAULT]{% else -%}N/A - Press Enter to skip{% endif -%}",
"{% if cookiecutter.autora_contribution_type == 'experiment_runner' -%}synthetic{% else -%}N/A - Press Enter to skip{% endif -%}",
"{% if cookiecutter.autora_contribution_type == 'experiment_runner' -%}experimentation_manager{% else -%}N/A - Press Enter to skip{% endif -%}",
"{% if cookiecutter.autora_contribution_type == 'experiment_runner' -%}recruitment_manager{% else -%}N/A - Press Enter to skip{% endif -%}"],
"__contrib_subtype": "{% if cookiecutter.__autora_contribution_type == 'experiment_runner' and cookiecutter.experiment_runner_type != 'experiment_runner [DEFAULT]' -%}{{ cookiecutter.experiment_runner_type }}{% else -%}not_applicable{% endif -%}",
"advanced_contribution_utilities": ["basic contribution [DEFAULT]", "advanced contribution (dynamic versioning, GitHub actions, pre-commit hooks)"],
"__contrib_utilities": "{% if cookiecutter.advanced_contribution_utilities == 'basic contribution [DEFAULT]' -%}basic{% else -%}advanced{% endif -%}",
"license": ["MIT license [DEFAULT]", "BSD license", "ISC license", "Apache Software License 2.0", "GNU General Public License v3", "Not open source"],
"use_current_directory": ["no [DEFAULT]", "yes"],
"__license": "{{ cookiecutter.license.replace( ' [DEFAULT]', '') }}",
"__contrib_type_modulename": "{{ cookiecutter.__autora_contribution_type.replace(' [DEFAULT]', '').lower().replace(' ', '_').replace('-', '_') }}",
"__contrib_subtype_modulename": "{{ cookiecutter.__contrib_subtype.replace(' [DEFAULT]', '').lower().replace(' ', '_').replace('-', '_') }}",
"__contrib_name_modulename": "{{ cookiecutter.__contrib_name.replace(' [DEFAULT]', '').lower().replace(' ', '_').replace('-', '_') }}",
"__contrib_type_url": "{{ cookiecutter.__contrib_type_modulename.replace('_', '-') }}",
"__contrib_subtype_url": "{{ cookiecutter.__contrib_subtype_modulename.replace('_', '-') }}",
"__contrib_name_url": "{{ cookiecutter.__contrib_name_modulename.replace('_', '-') }}",
"__full_path": "{{ cookiecutter.__contrib_type_modulename }}/{% if cookiecutter.__contrib_subtype != 'not_applicable' -%}{{ cookiecutter.__contrib_subtype_modulename }}/{% endif -%}{{ cookiecutter.__contrib_name_modulename }}",
"__full_name": "{{ cookiecutter.__contrib_type_url }}-{% if cookiecutter.__contrib_subtype != 'not_applicable' -%}{{ cookiecutter.__contrib_subtype_url }}-{% endif -%}{{ cookiecutter.__contrib_name_url }}",
"__project_slug": "autora-{{ cookiecutter.__full_name }}"
}