|
3 | 3 | "properties": { |
4 | 4 | "description": { |
5 | 5 | "type": "string", |
6 | | - "title": "Description", |
7 | | - "description": "A short description of your add-on.", |
8 | | - "default": "A new Plone project for {{ cookiecutter.title }}", |
| 6 | + "title": "Project Description", |
| 7 | + "description": "Short summary of the project, used in package metadata and README.", |
| 8 | + "default": "A new project using Plone 6.", |
9 | 9 | "validator": "", |
10 | 10 | "format": "computed" |
11 | 11 | }, |
12 | | - "author": { |
13 | | - "title": "Author", |
14 | | - "default": "CodeSyntax", |
15 | | - "type": "string", |
16 | | - "format": "computed" |
17 | | - }, |
18 | | - "email": { |
19 | | - "title": "E-mail", |
20 | | - "default": "plone@codesyntax.com", |
| 12 | + "hostname": { |
21 | 13 | "type": "string", |
| 14 | + "title": "Project URL (without protocol)", |
| 15 | + "description": "The hostname where the project will be deployed (e.g. mysite.example.com).", |
| 16 | + "default": "{{ cookiecutter.project_slug }}.korpoweb.com", |
| 17 | + "validator": "cookieplone.validators.hostname", |
22 | 18 | "format": "computed" |
23 | 19 | }, |
24 | | - "hostname": { |
| 20 | + "author": { |
25 | 21 | "type": "string", |
26 | | - "title": "Hostname", |
27 | | - "description": "Public URL of the server.", |
28 | | - "default": "{{ cookiecutter.folder_name }}.korpoweb.com", |
| 22 | + "title": "Author", |
| 23 | + "description": "Name of the project author or organization.", |
| 24 | + "default": "CodeSyntax", |
29 | 25 | "validator": "", |
30 | 26 | "format": "computed" |
31 | 27 | }, |
32 | | - "use_prerelease_versions": { |
| 28 | + "email": { |
33 | 29 | "type": "string", |
34 | | - "title": "Should we use prerelease versions?", |
35 | | - "description": "Whether to include alpha, beta, and release candidate versions when resolving the Plone version.", |
36 | | - "default": false, |
| 30 | + "title": "Author E-mail", |
| 31 | + "description": "Contact email for the project author.", |
| 32 | + "default": "plone@codesyntax.com", |
37 | 33 | "validator": "", |
38 | 34 | "format": "computed" |
39 | 35 | }, |
40 | | - "plone_version": { |
| 36 | + |
| 37 | + "language_code": { |
41 | 38 | "type": "string", |
42 | | - "title": "Plone Version", |
43 | | - "description": "Plone backend version to use. Automatically resolved to the latest available release.", |
44 | | - "default": "{{ false | latest_plone }}", |
45 | | - "validator": "cookieplone.validators.plone_version" |
| 39 | + "title": "Language", |
| 40 | + "description": "Default language for the Plone site.", |
| 41 | + "default": "eu", |
| 42 | + "validator": "cookieplone.validators.language_code", |
| 43 | + "format": "computed" |
| 44 | + |
46 | 45 | }, |
47 | 46 | "github_organization": { |
48 | | - "title": "GitHub Username or Organization", |
49 | | - "default": "codesyntax", |
50 | 47 | "type": "string", |
| 48 | + "title": "GitHub or GitLab username or organization slug from URL", |
| 49 | + "description": "Organization or username used to build the repository URL and container image paths.", |
| 50 | + "default": "codesyntax", |
| 51 | + "validator": "", |
51 | 52 | "format": "computed" |
52 | | - }, |
53 | | - "feature_headless": { |
54 | | - "type": "boolean", |
55 | | - "title": "Use Volto?", |
56 | | - "description": "", |
57 | | - "default": true, |
58 | | - "validator": "" |
59 | | - }, |
60 | | - "initialize_ci": { |
61 | | - "type": "boolean", |
62 | | - "title": "Add CI configuration?", |
63 | | - "description": "", |
64 | | - "default": false, |
65 | | - "format": "computed" |
66 | | - }, |
67 | | - "initialize_documentation": { |
68 | | - "type": "boolean", |
69 | | - "title": "Add documentation scaffold?", |
70 | | - "description": "Generate a Sphinx-based documentation structure using the Plone documentation starter.", |
71 | | - "default": true, |
72 | | - "format": "computed" |
| 53 | + |
73 | 54 | }, |
74 | 55 | "container_registry": { |
75 | 56 | "type": "string", |
76 | 57 | "title": "Container Registry", |
77 | 58 | "description": "Container registry where Docker images will be published.", |
78 | 59 | "default": "gitlab", |
| 60 | + "validator": "", |
79 | 61 | "format": "computed" |
80 | 62 | }, |
81 | 63 | "devops_storage": { |
82 | 64 | "type": "string", |
83 | 65 | "title": "Which persistent storage to use in the deployment stack?", |
84 | 66 | "description": "Backend storage strategy for the ZODB database in the deployment stack.", |
85 | 67 | "default": "filestorage", |
| 68 | + "validator": "", |
| 69 | + "format": "computed" |
| 70 | + }, |
| 71 | + "devops_cache": { |
| 72 | + "type": "boolean", |
| 73 | + "title": "Should we setup a caching server?", |
| 74 | + "description": "Include a Varnish caching layer in front of the backend.", |
| 75 | + "default": true, |
| 76 | + "validator": "", |
86 | 77 | "format": "computed" |
| 78 | + |
87 | 79 | }, |
88 | 80 | "devops_ansible": { |
89 | 81 | "type": "boolean", |
|
92 | 84 | "default": false, |
93 | 85 | "validator": "", |
94 | 86 | "format": "computed" |
| 87 | + |
95 | 88 | }, |
96 | 89 | "devops_gha_deploy": { |
97 | 90 | "type": "boolean", |
|
100 | 93 | "default": false, |
101 | 94 | "validator": "", |
102 | 95 | "format": "computed" |
| 96 | + |
| 97 | + }, |
| 98 | + "initialize_documentation": { |
| 99 | + "type": "boolean", |
| 100 | + "title": "Would you like to add a documentation scaffold to your project?", |
| 101 | + "description": "Generate a Sphinx-based documentation structure using the Plone documentation starter.", |
| 102 | + "default": true, |
| 103 | + "validator": "", |
| 104 | + "format": "computed" |
| 105 | + |
103 | 106 | }, |
104 | 107 | "postgres": { |
105 | 108 | "type": "boolean", |
106 | 109 | "title": "Use Postgres?", |
107 | 110 | "default": false |
108 | 111 | }, |
109 | | - |
110 | 112 | "security_key": { |
111 | 113 | "type": "string", |
112 | 114 | "title": "Security Key", |
113 | 115 | "default": "{{ random_ascii_string(32) }}", |
114 | 116 | "format": "computed" |
115 | | - }, |
116 | | - "volto_version": { |
117 | | - "type": "string", |
118 | | - "title": "Volto Version", |
119 | | - "description": "Volto frontend version to use. Automatically resolved to the latest available release.", |
120 | | - "default": "19.0.0", |
121 | | - "validator": "cookieplone.validators.volto_version", |
122 | | - "format": "computed" |
123 | | - }, |
124 | | - "frontend_addon_name": { |
125 | | - "type": "string", |
126 | | - "title": "Volto Addon Name", |
127 | | - "description": "Name of the Volto frontend add-on package (e.g. volto-myproject).", |
128 | | - "default": "volto-{{ cookiecutter.python_package_name|replace('_', '-')|replace('.', '-') }}", |
129 | | - "validator": "cookieplone.validators.npm_package_name", |
130 | | - "format": "computed" |
131 | | - }, |
132 | | - "language_code": { |
133 | | - "type": "string", |
134 | | - "title": "Language", |
135 | | - "description": "Default language for the Plone site.", |
136 | | - "default": "en", |
137 | | - "validator": "cookieplone.validators.language_code", |
138 | | - "format": "computed" |
139 | 117 | } |
140 | 118 | }, |
141 | 119 | "allOf": [ |
|
0 commit comments