-
Notifications
You must be signed in to change notification settings - Fork 1
/
manifest.yml
346 lines (304 loc) · 12.7 KB
/
manifest.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
version: 0.0.4
process_injector: com_meego_packages_injector
template_injector: com_meego_packages_injector
requires:
com_meego_obsconnector:
- {type: github, user: nemein, repository: com_meego_obsconnector, branch: master}
midgardmvc_helper_workflow:
- {type: github, user: bergie, repository: midgardmvc_helper_workflow, branch: master}
midgardmvc_ui_forms:
- {type: github, user: bergie, repository: midgardmvc_ui_forms, branch: master}
com_meego_ratings_caching:
- {type: github, user: nemein, repository: com_meego_ratings_caching, branch: master}
com_meego_comments:
- {type: github, user: nemein, repository: com_meego_comments, branch: master}
midgardmvc_account:
- {type: github, user: feri, repository: midgardmvc_account, branch: master}
routes:
index:
path: /
controller: com_meego_packages_controllers_application
action: redirect
# lists latest UXes
apps_index:
path: /applications
controller: com_meego_packages_controllers_application
action: index
template_aliases:
content: cmp-show-latest-uxes
# redirect if only os is given
apps_os:
path: /applications/{$os}
controller: com_meego_packages_controllers_application
action: applications
template_aliases:
content: cmp-show-applications-list
# redirect if only os and version are given
apps_os_version:
path: /applications/{$os}/{$version}
controller: com_meego_packages_controllers_application
action: applications
template_aliases:
content: cmp-show-applications-list
# try to show apps list if no basecatgory is given
apps_os_version_ux:
path: /applications/{$os}/{$version}/{$ux}
controller: com_meego_packages_controllers_application
action: applications
template_aliases:
content: cmp-show-applications-list
# lists all packages that are avaialable for a UX / basecategory
apps_by_basecategory:
path: /applications/{$os}/{$string:version}/{$ux}/{$basecategory}
controller: com_meego_packages_controllers_application
action: applications
template_aliases:
content: cmp-show-applications-list
# lists all packages that are avaialable for a UX / basecategory in a staging repo
staging_apps_by_basecategory:
path: /staging/applications/{$os}/{$string:version}/{$ux}/{$basecategory}
controller: com_meego_packages_controllers_application
action: staging_applications
template_aliases:
content: cmp-show-applications-list
# lists the newest apps that are avaialable for a UX / basecategory in a top project
newest_apps:
path: /newest/applications/{$os}/{$string:version}/{$ux}
controller: com_meego_packages_controllers_application
action: newest_applications
template_aliases:
content: cmp-apps-in-row-block
# lists the newest apps that are avaialable for a UX / basecategory in a top project
hottest_apps:
path: /hottest/applications/{$os}/{$string:version}/{$ux}
controller: com_meego_packages_controllers_application
action: hottest_applications
template_aliases:
content: cmp-apps-in-row-block
# show a package overview based on UX / basecategory / packagename
apps_by_name:
path: /applications/{$os}/{$string:version}/{$ux}/{$basecategory}/{$packagename}
controller: com_meego_packages_controllers_application
action: applications
template_aliases:
content: cmp-show-application
# show a package overview based on UX / basecategory / packagename
staging_apps_by_name:
path: /staging/applications/{$os}/{$string:version}/{$ux}/{$basecategory}/{$packagename}
controller: com_meego_packages_controllers_application
action: staging_applications
template_aliases:
content: cmp-show-application
# application rating
apps_rating_create:
path: /rating/create/{$to}
controller: com_meego_packages_controllers_application
action: comment_application
template_aliases:
content: cmp-show-application
# redirect if nothing is given
basecategories:
path: /basecategories
controller: com_meego_packages_controllers_application
action: redirect
# redirect if only os is given
basecategories_os:
path: /basecategories/{$os}
controller: com_meego_packages_controllers_application
action: redirect
# redirect if only os and version are given
basecategories_os_version:
path: /basecategories/{$os}/{$version}
controller: com_meego_packages_controllers_application
action: redirect
# lists all base categories that are avaialable for a UX
basecategories_os_version_ux:
path: /basecategories/{$os}/{$string:version}/{$ux}
controller: com_meego_packages_controllers_basecategory
action: basecategories_by_ux
template_aliases:
content: cmp-show-fancy-basecategories-list
# lists all base categories that are avaialable for a UX
staging_basecategories_os_version_ux:
path: /staging/basecategories/{$os}/{$string:version}/{$ux}
controller: com_meego_packages_controllers_basecategory
action: staging_basecategories_by_ux
template_aliases:
content: cmp-show-fancy-basecategories-list
# lists all package categories (for now)
# @todo: it should probably list only base categories later
categories:
path: /categories
controller: com_meego_packages_controllers_category
action: categories_list
template_aliases:
content: cmp-show-categories-list
# admin UI for base categories
# meant only for managing base categories
# and their mappings to real package categories
basecategories_admin_index:
path: /basecategories/admin
controller: com_meego_packages_controllers_basecategory
action: admin_index
template_aliases:
content: cmp-admin-index-basecategories
basecategories_admin_create:
path: /basecategories/admin/create/
controller: com_meego_packages_controllers_basecategory
action: create_basecategory
template_aliases:
content: cmp-create-basecategory
basecategories_admin_manage:
path: /basecategories/admin/manage/{$basecategory}
controller: com_meego_packages_controllers_basecategory
action: manage_basecategory
template_aliases:
content: cmp-manage-basecategory
basecategories_admin_create_relations:
path: /basecategories/admin/manage/createrelations/{$basecategory}
controller: com_meego_packages_controllers_basecategory
action: post_create_relations
template_aliases:
content: cmp-manage-basecategory
repositories:
path: /repositories
controller: com_meego_packages_controllers_repository
action: index
template_aliases:
content: cmp-show-os-version-ux-index
repositories_os_version_ux:
path: /repositories/{$os}/{$version}/{$ux}
controller: com_meego_packages_controllers_repository
action: repositories_list
template_aliases:
content: cmp-show-repositories-list
repository:
path: /repository/{$project}/{$repository}/{$arch}
controller: com_meego_packages_controllers_repository
action: repository
template_aliases:
content: cmp-show-repository
repository_latest:
path: /repository/{$project}/{$repository}/{$arch}/latest
controller: com_meego_packages_controllers_repository
action: repository_latest
template_aliases:
content: cmp-show-repository-latest
repository_latest_amount:
path: /repository/{$project}/{$repository}/{$arch}/latest/{$amount}
controller: com_meego_packages_controllers_repository
action: repository_latest
template_aliases:
content: cmp-show-repository-latest
# base categories are defined by admins
# base categories have one or more package categories mapped to them
packages_by_basecategory:
path: /packages/base/{$basecategory}
controller: com_meego_packages_controllers_package
action: packages_by_basecategory
template_aliases:
content: cmp-show-packages-list
# category tree is coming from the packages itself.
# it is a : separated list, such as Amusements:Games, Development:Libraries
packages_by_categorytree:
path: /packages/tree/{$categorytree}
controller: com_meego_packages_controllers_package
action: packages_by_categorytree
template_aliases:
content: cmp-show-packages-list
# to give an overview of a package by listing all
# the comments / ratings that each of its variants received
package_overview_tree:
path: /packages/tree/{$categorytree}/{$packagename}
controller: com_meego_packages_controllers_package
action: package_overview
template_aliases:
content: cmp-show-package-overview
# display a uniquely identified package
# @todo: refine this
package:
path: /package/{$package}
controller: com_meego_packages_controllers_package
action: package
template_aliases:
content: cmp-show-package
package_repository:
path: /package/{$package}/{$repository}
controller: com_meego_packages_controllers_package
action: repository
template_aliases:
content: cmp-show-package_repository
package_instance:
path: /package/{$package}/{$version}/{$project}/{$repository}/{$arch}
controller: com_meego_packages_controllers_package
action: instance
template_aliases:
content: cmp-show-package_instance
package_instance_workflow_start:
path: /package/{$package}/{$version}/{$project}/{$repository}/{$arch}/workflow/{$workflow}
controller: com_meego_packages_controllers_workflow
action: start_package_instance
template_aliases:
content: cmp-show-package_instance_workflow
root: cmp-html-snippet
package_instance_workflow_resume:
path: /package/{$package}/{$version}/{$project}/{$repository}/{$arch}/workflow/{$workflow}/{$execution}
controller: com_meego_packages_controllers_workflow
action: resume_package_instance
template_aliases:
content: cmp-show-package_instance_workflow
root: cmp-html-snippet
package_posted_forms:
path: /package/{$package}/posts
controller: com_meego_packages_controllers_package
action: posted_forms_index
template_aliases:
content: cmp-admin-index-posted-forms
package_posted_forms_stripped:
path: /package/{$package}/posts
controller: com_meego_packages_controllers_package
action: posted_forms_index
template_aliases:
content: cmp-admin-index-posted-forms-stripped
package_posted_form_instance:
path: /package/forms/post/{$forminstance}
controller: com_meego_packages_controllers_package
action: posted_form_instance
template_aliases:
content: cmp-admin-posted-form-instance
root: cmp-html-snippet
workflows:
path: /workflows
controller: com_meego_packages_controllers_workflow
action: index
template_aliases:
content: cmp-show-workflow-list
# admin UI for workflows
# meant only for managing workflows
workflows_admin_index:
path: /workflows/admin
controller: com_meego_packages_controllers_workflow
action: admin_index
template_aliases:
content: cmp-admin-index-workflows
# fetching i18n string from JS mainly
i18n:
path: /i18n/{$id}
controller: com_meego_packages_utils
action: i18n_string
root_only: true
template_aliases:
root: midgardmvc-show-json
search:
path: /search
controller: com_meego_packages_controllers_search
action: search
template_aliases:
content: cmp-show-applications-list
# page that provides a full overview of the given package (all comments, ratings, QA etc)
history:
path: /history/{$os}/{$string:version}/{$ux}/{$packagename}
controller: com_meego_packages_controllers_application
action: history
template_aliases:
content: cmp-show-application-history