|
15 | 15 | /** Repositories that either don't have a composer type or have a weird composer type, though we still want installer */ |
16 | 16 | const FORCE_INSTALLER_REPOS = [ |
17 | 17 | 'silverstripe-behat-extension', |
18 | | - 'silverstripe-serve', |
19 | | - // recipe-solr-search doesn't include recipe-cms or recipe-core unlike our other recipes |
20 | | - 'recipe-solr-search', |
21 | | - // recipe-blog requires a theme for the unit tests to work, the config and dependency for which are |
22 | | - // supplied by installer. Just adding a theme as a dev-dependency is insufficient because we'd still |
23 | | - // lack the yml config to activate that theme |
24 | | - 'recipe-blog', |
25 | 18 | ]; |
26 | 19 |
|
27 | 20 | // use hardcoded.php to bulk update update this after creating a .cow.pat.json |
28 | 21 | // for multiple versions, use an array e.g. silverstripe-mymodule => ['2.3', '2.4'] |
29 | 22 | const INSTALLER_TO_REPO_MINOR_VERSIONS = [ |
30 | | - '4.10' => [ |
31 | | - 'comment-notifications' => '2.2', |
32 | | - 'cwp' => '2.9', |
33 | | - 'cwp-agencyextensions' => '2.6', |
34 | | - 'cwp-core' => '2.9', |
35 | | - 'cwp-pdfexport' => '1.3', |
36 | | - 'cwp-search' => '1.6', |
37 | | - 'cwp-starter-theme' => '3.2', |
38 | | - 'cwp-watea-theme' => '3.1', |
39 | | - 'silverstripe-advancedworkflow' => '5.6', |
40 | | - 'silverstripe-akismet' => '4.2', |
41 | | - 'silverstripe-auditor' => '2.4', |
42 | | - 'silverstripe-blog' => '3.9', |
43 | | - 'silverstripe-ckan-registry' => '1.4', |
44 | | - 'silverstripe-comments' => '3.7', |
45 | | - 'silverstripe-composer-update-checker' => '2.1', |
46 | | - 'silverstripe-content-widget' => '2.3', |
47 | | - 'silverstripe-contentreview' => '4.4', |
48 | | - 'silverstripe-crontask' => '2.4', |
49 | | - 'silverstripe-documentconverter' => '2.2', |
50 | | - 'silverstripe-elemental' => '4.8', |
51 | | - 'silverstripe-elemental-bannerblock' => '2.4', |
52 | | - 'silverstripe-elemental-fileblock' => '2.3', |
53 | | - 'silverstripe-elemental-userforms' => '3.1', |
54 | | - 'silverstripe-environmentcheck' => '2.4', |
55 | | - 'silverstripe-externallinks' => '2.2', |
56 | | - 'silverstripe-fluent' => '4.6', |
57 | | - 'silverstripe-fulltextsearch' => '3.9', |
58 | | - 'silverstripe-graphql' => '3.7', |
59 | | - 'silverstripe-gridfieldqueuedexport' => '2.6', |
60 | | - 'silverstripe-html5' => ['2.2', '2.3'], |
61 | | - 'silverstripe-hybridsessions' => '2.4', |
62 | | - 'silverstripe-iframe' => '2.2', |
63 | | - 'silverstripe-ldap' => '1.3', |
64 | | - 'silverstripe-login-forms' => '4.6', |
65 | | - 'silverstripe-maintenance' => '2.4', |
66 | | - 'silverstripe-mfa' => '4.5', |
67 | | - 'silverstripe-mimevalidator' => '2.3', |
68 | | - 'silverstripe-multivaluefield' => '5.2', |
69 | | - 'silverstripe-queuedjobs' => '4.9', |
70 | | - 'silverstripe-realme' => '4.2', |
71 | | - 'silverstripe-registry' => '2.4', |
72 | | - 'silverstripe-restfulserver' => '2.4', |
73 | | - 'silverstripe-security-extensions' => '4.2', |
74 | | - 'silverstripe-securityreport' => '2.4', |
75 | | - 'silverstripe-segment-field' => '2.5', |
76 | | - 'silverstripe-session-manager' => '1.2', |
77 | | - 'silverstripe-sharedraftcontent' => '2.6', |
78 | | - 'silverstripe-sitewidecontent-report' => '3.2', |
79 | | - 'silverstripe-spamprotection' => '3.2', |
80 | | - 'silverstripe-spellcheck' => '2.3', |
81 | | - 'silverstripe-subsites' => '2.5', |
82 | | - 'silverstripe-tagfield' => '2.8', |
83 | | - 'silverstripe-taxonomy' => '2.3', |
84 | | - 'silverstripe-textextraction' => '3.3', |
85 | | - 'silverstripe-totp-authenticator' => '4.3', |
86 | | - 'silverstripe-userforms' => ['5.11', '5.12'], |
87 | | - 'silverstripe-versionfeed' => '2.2', |
88 | | - 'silverstripe-webauthn-authenticator' => '4.4', |
89 | | - 'silverstripe-widgets' => '2.2', |
90 | | - 'silverstripe-gridfieldextensions' => '3.3', |
91 | | - ], |
92 | | - '4.11' => [ |
93 | | - 'comment-notifications' => '2.3', |
94 | | - 'cwp' => '2.10', |
95 | | - 'cwp-agencyextensions' => '2.7', |
96 | | - 'cwp-core' => ['2.10', '2.11'], |
97 | | - 'cwp-pdfexport' => '1.4', |
98 | | - 'cwp-search' => '1.7', |
99 | | - 'cwp-starter-theme' => '3.2', |
100 | | - 'cwp-watea-theme' => '3.1', |
101 | | - 'silverstripe-advancedworkflow' => '5.7', |
102 | | - 'silverstripe-akismet' => '4.3', |
103 | | - 'silverstripe-auditor' => '2.5', |
104 | | - 'silverstripe-blog' => '3.10', |
105 | | - 'silverstripe-ckan-registry' => '1.5', |
106 | | - 'silverstripe-comments' => '3.8', |
107 | | - 'silverstripe-composer-update-checker' => '3.0', |
108 | | - 'silverstripe-content-widget' => '2.4', |
109 | | - 'silverstripe-contentreview' => '4.5', |
110 | | - 'silverstripe-crontask' => '2.5', |
111 | | - 'silverstripe-documentconverter' => '2.3', |
112 | | - 'silverstripe-elemental' => '4.9', |
113 | | - 'silverstripe-elemental-bannerblock' => '2.5', |
114 | | - 'silverstripe-elemental-fileblock' => '2.4', |
115 | | - 'silverstripe-elemental-userforms' => '3.2', |
116 | | - 'silverstripe-environmentcheck' => '2.5', |
117 | | - 'silverstripe-externallinks' => '2.3', |
118 | | - 'silverstripe-fluent' => '4.7', |
119 | | - 'silverstripe-fulltextsearch' => '3.11', |
120 | | - 'silverstripe-graphql' => '4.0', |
121 | | - 'silverstripe-gridfieldqueuedexport' => '2.7', |
122 | | - 'silverstripe-html5' => '2.4', |
123 | | - 'silverstripe-hybridsessions' => '2.5', |
124 | | - 'silverstripe-iframe' => '2.3', |
125 | | - 'silverstripe-ldap' => '1.4', |
126 | | - 'silverstripe-login-forms' => '4.7', |
127 | | - 'silverstripe-maintenance' => '2.6', |
128 | | - 'silverstripe-mfa' => '4.6', |
129 | | - 'silverstripe-mimevalidator' => '2.4', |
130 | | - 'silverstripe-multivaluefield' => '5.3', |
131 | | - 'silverstripe-queuedjobs' => '4.10', |
132 | | - 'silverstripe-realme' => '4.3', |
133 | | - 'silverstripe-registry' => '2.5', |
134 | | - 'silverstripe-restfulserver' => '2.5', |
135 | | - 'silverstripe-security-extensions' => '4.3', |
136 | | - 'silverstripe-securityreport' => '2.5', |
137 | | - 'silverstripe-segment-field' => '2.6', |
138 | | - 'silverstripe-session-manager' => '1.3', |
139 | | - 'silverstripe-sharedraftcontent' => '2.7', |
140 | | - 'silverstripe-sitewidecontent-report' => '3.3', |
141 | | - 'silverstripe-spamprotection' => '3.3', |
142 | | - 'silverstripe-spellcheck' => '2.4', |
143 | | - 'silverstripe-subsites' => '2.6', |
144 | | - 'silverstripe-tagfield' => '2.9', |
145 | | - 'silverstripe-taxonomy' => '2.4', |
146 | | - 'silverstripe-textextraction' => '3.4', |
147 | | - 'silverstripe-totp-authenticator' => '4.4', |
148 | | - 'silverstripe-userforms' => '5.13', |
149 | | - 'silverstripe-versionfeed' => '2.3', |
150 | | - 'silverstripe-webauthn-authenticator' => '4.5', |
151 | | - 'silverstripe-widgets' => '2.3', |
152 | | - 'silverstripe-gridfieldextensions' => '3.4', |
153 | | - ], |
154 | | - '4.12' => [ |
155 | | - 'comment-notifications' => '2.3', |
156 | | - 'cwp' => '2.10', |
157 | | - 'cwp-agencyextensions' => '2.7', |
158 | | - 'cwp-core' => '2.11', |
159 | | - 'cwp-pdfexport' => '1.4', |
160 | | - 'cwp-search' => '1.7', |
161 | | - 'cwp-starter-theme' => '3.2', |
162 | | - 'cwp-watea-theme' => '3.1', |
163 | | - 'silverstripe-advancedworkflow' => '5.8', |
164 | | - 'silverstripe-akismet' => '4.4', |
165 | | - 'silverstripe-auditor' => '2.5', |
166 | | - 'silverstripe-blog' => '3.11', |
167 | | - 'silverstripe-ckan-registry' => '1.6', |
168 | | - 'silverstripe-comments' => '3.9', |
169 | | - 'silverstripe-composer-update-checker' => '3.0', |
170 | | - 'silverstripe-content-widget' => '2.4', |
171 | | - 'silverstripe-contentreview' => '4.6', |
172 | | - 'silverstripe-crontask' => '2.5', |
173 | | - 'silverstripe-developer-docs' => '4.12', |
174 | | - 'silverstripe-documentconverter' => '2.4', |
175 | | - 'silverstripe-elemental' => '4.10', |
176 | | - 'silverstripe-elemental-bannerblock' => '2.6', |
177 | | - 'silverstripe-elemental-fileblock' => '2.4', |
178 | | - 'silverstripe-elemental-userforms' => '3.2', |
179 | | - 'silverstripe-environmentcheck' => '2.6', |
180 | | - 'silverstripe-externallinks' => '2.3', |
181 | | - 'silverstripe-fluent' => '4.7', |
182 | | - 'silverstripe-fulltextsearch' => '3.11', |
183 | | - 'silverstripe-graphql' => ['4.1', '4.2'], |
184 | | - 'silverstripe-gridfieldqueuedexport' => '2.7', |
185 | | - 'silverstripe-html5' => '2.4', |
186 | | - 'silverstripe-hybridsessions' => '2.6', |
187 | | - 'silverstripe-iframe' => '2.3', |
188 | | - 'silverstripe-ldap' => '1.5', |
189 | | - 'silverstripe-login-forms' => '4.8', |
190 | | - 'silverstripe-maintenance' => '2.6', |
191 | | - 'silverstripe-mfa' => '4.7', |
192 | | - 'silverstripe-mimevalidator' => '2.4', |
193 | | - 'silverstripe-multivaluefield' => '5.3', |
194 | | - 'silverstripe-queuedjobs' => '4.11', |
195 | | - 'silverstripe-realme' => '4.3', |
196 | | - 'silverstripe-registry' => '2.5', |
197 | | - 'silverstripe-restfulserver' => '2.5', |
198 | | - 'silverstripe-security-extensions' => '4.4', |
199 | | - 'silverstripe-securityreport' => '2.5', |
200 | | - 'silverstripe-segment-field' => '2.7', |
201 | | - 'silverstripe-session-manager' => '1.4', |
202 | | - 'silverstripe-sharedraftcontent' => '2.8', |
203 | | - 'silverstripe-sitewidecontent-report' => '3.3', |
204 | | - 'silverstripe-spamprotection' => '3.3', |
205 | | - 'silverstripe-spellcheck' => '2.4', |
206 | | - 'silverstripe-subsites' => '2.7', |
207 | | - 'silverstripe-tagfield' => '2.10', |
208 | | - 'silverstripe-taxonomy' => '2.4', |
209 | | - 'silverstripe-textextraction' => '3.4', |
210 | | - 'silverstripe-totp-authenticator' => '4.5', |
211 | | - 'silverstripe-userforms' => '5.14', |
212 | | - 'silverstripe-versionfeed' => '2.3', |
213 | | - 'silverstripe-webauthn-authenticator' => '4.6', |
214 | | - 'silverstripe-widgets' => '2.3', |
215 | | - 'silverstripe-gridfieldextensions' => '3.5', |
216 | | - ], |
217 | | - '4.13' => [ |
218 | | - 'comment-notifications' => '2.4', |
219 | | - 'cwp' => '2.11', |
220 | | - 'cwp-agencyextensions' => '2.7', |
221 | | - 'cwp-core' => '2.12', |
222 | | - 'cwp-pdfexport' => '1.5', |
223 | | - 'cwp-search' => '1.8', |
224 | | - 'cwp-starter-theme' => '3.3', |
225 | | - 'cwp-watea-theme' => '3.2', |
226 | | - 'silverstripe-advancedworkflow' => '5.9', |
227 | | - 'silverstripe-akismet' => '4.5', |
228 | | - 'silverstripe-auditor' => '2.6', |
229 | | - 'silverstripe-behat-extension' => '4.11', |
230 | | - 'silverstripe-blog' => '3.12', |
231 | | - 'silverstripe-ckan-registry' => '1.7', |
232 | | - 'silverstripe-comments' => '3.10', |
233 | | - 'silverstripe-composer-update-checker' => '3.0', |
234 | | - 'silverstripe-config' => '1.6', |
235 | | - 'silverstripe-content-widget' => '2.4', |
236 | | - 'silverstripe-contentreview' => '4.7', |
237 | | - 'silverstripe-crontask' => '2.6', |
238 | | - 'silverstripe-developer-docs' => '4.13', |
239 | | - 'silverstripe-documentconverter' => '2.5', |
240 | | - 'silverstripe-elemental' => '4.11', |
241 | | - 'silverstripe-elemental-bannerblock' => '2.7', |
242 | | - 'silverstripe-elemental-fileblock' => '2.5', |
243 | | - 'silverstripe-elemental-userforms' => '3.3', |
244 | | - 'silverstripe-environmentcheck' => '2.7', |
245 | | - 'silverstripe-externallinks' => '2.4', |
246 | | - 'silverstripe-fluent' => '4.8', |
247 | | - 'silverstripe-fulltextsearch' => '3.12', |
248 | | - 'silverstripe-graphql' => '4.3', |
249 | | - 'silverstripe-gridfieldqueuedexport' => '2.8', |
250 | | - 'silverstripe-html5' => '2.4', |
251 | | - 'silverstripe-hybridsessions' => '2.7', |
252 | | - 'silverstripe-iframe' => '2.4', |
253 | | - 'silverstripe-ldap' => '1.6', |
254 | | - 'silverstripe-login-forms' => '4.9', |
255 | | - 'silverstripe-maintenance' => '2.7', |
256 | | - 'silverstripe-mfa' => '4.8', |
257 | | - 'silverstripe-mimevalidator' => '2.5', |
258 | | - 'silverstripe-multivaluefield' => '5.4', |
259 | | - 'silverstripe-queuedjobs' => '4.12', |
260 | | - 'silverstripe-realme' => '4.4', |
261 | | - 'silverstripe-registry' => '2.6', |
262 | | - 'silverstripe-restfulserver' => '2.6', |
263 | | - 'silverstripe-security-extensions' => '4.5', |
264 | | - 'silverstripe-securityreport' => '2.6', |
265 | | - 'silverstripe-segment-field' => '2.8', |
266 | | - 'silverstripe-session-manager' => '1.5', |
267 | | - 'silverstripe-sharedraftcontent' => '2.9', |
268 | | - 'silverstripe-sitewidecontent-report' => '3.4', |
269 | | - 'silverstripe-spamprotection' => '3.4', |
270 | | - 'silverstripe-spellcheck' => '2.5', |
271 | | - 'silverstripe-subsites' => '2.8', |
272 | | - 'silverstripe-tagfield' => '2.11', |
273 | | - 'silverstripe-taxonomy' => '2.5', |
274 | | - 'silverstripe-textextraction' => '3.5', |
275 | | - 'silverstripe-totp-authenticator' => '4.6', |
276 | | - 'silverstripe-userforms' => '5.15', |
277 | | - 'silverstripe-versionfeed' => '2.4', |
278 | | - 'silverstripe-webauthn-authenticator' => '4.7', |
279 | | - 'silverstripe-widgets' => '2.4', |
280 | | - 'silverstripe-gridfieldextensions' => '3.6', |
281 | | - ], |
282 | 23 | '5.0' => [ |
283 | 24 | 'comment-notifications' => '3.0', |
284 | 25 | 'cwp' => '3.0', |
|
0 commit comments