• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moosetechnology / GitProjectHealth / 17852906108

19 Sep 2025 08:25AM UTC coverage: 74.019% (+0.7%) from 73.342%
17852906108

Pull #232

github

web-flow
Merge e5fac281b into dd8ffa1f6
Pull Request #232: add constructor in class since of GitModelImporter for quality of life setup

49 of 147 new or added lines in 8 files covered. (33.33%)

45 existing lines in 3 files now uncovered.

18909 of 25546 relevant lines covered (74.02%)

0.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/GitLabHealth-Model-Generator/GLHMetamodelGenerator.class.st
1
Class {
2
        #name : #GLHMetamodelGenerator,
3
        #superclass : #FamixMetamodelGenerator,
4
        #instVars : [
5
                'project',
6
                'group',
7
                'pipeline',
8
                'user',
9
                'repository',
10
                'branch',
11
                'file',
12
                'fileBlob',
13
                'fileDirectory',
14
                'commit',
15
                'commitStats',
16
                'diff',
17
                'job',
18
                'mergeRequest',
19
                'diffRange',
20
                'change',
21
                'addition',
22
                'deletion',
23
                'lineOfCode',
24
                'note',
25
                'entity',
26
                'release',
27
                'tag',
28
                'issue',
29
                'milestone',
30
                'tRef'
31
        ],
32
        #category : #'GitLabHealth-Model-Generator'
33
}
34

35
{ #category : #initialization }
36
GLHMetamodelGenerator class >> forceRecreateModel [ 
×
37
        <example>
×
38

×
39
        (UIManager default 
×
40
        alert: 'You are about to execute a "generateWithCleaning" process on our model. 
×
41
        This method will delete and recreate all the model. It will also delete all entities extensions. 
×
42
        Please ensure you have committed our code first so you will be able to reverte the deleted extensios.' title: 'RESET Model'; 
×
43
        confirm: 'Are you REALLY sure you want to reset all model''s relations and extensions ?' )
×
44
         ifTrue: [ 
×
45
                         Smalltalk image garbageCollect.
×
46
                        Smalltalk image garbageCollectMost.
×
47
        Transcript show: 'Block executed for GLHMetamodelGenerator new generateWithCleaning'; cr.
×
48
                        GLHMetamodelGenerator new generateWithCleaning.
×
49
                        "GLHMetamodelGenerator generate"
×
50
    ]
×
51
    ifFalse: [
×
52
        Transcript show: 'Reset operation cancelled'; cr.
×
53
    ].
×
54

×
55

×
56

×
57
]
×
58

59
{ #category : #accessing }
60
GLHMetamodelGenerator class >> packageName [
×
61
        ^ #'GitLabHealth-Model'
×
62
]
×
63

64
{ #category : #accessing }
65
GLHMetamodelGenerator class >> prefix [
×
66
        ^ #GLH
×
67
]
×
68

69
{ #category : #accessing }
70
GLHMetamodelGenerator class >> submetamodels [
×
71

×
72
        ^ { FamixMooseQueryGenerator . FamixGenerator }
×
73
]
×
74

75
{ #category : #branches }
76
GLHMetamodelGenerator >> branchProperties [
×
77

×
NEW
78
        
×
79
]
×
80

81
{ #category : #changes }
82
GLHMetamodelGenerator >> changeProperties [
×
83

×
84
        change property: #index type: #Number.
×
85
        change property: #relativeIndex type: #Number.
×
86
        change property: #sourceCode type: #String. 
×
87
        addition property: #delimiter type: #String defaultValue: '#+'.
×
88
        deletion property: #delimiter type: #String defaultValue: '#-'
×
89
]
×
90

91
{ #category : #commits }
92
GLHMetamodelGenerator >> commitProperties [
×
93

×
94
        commit property: #parent_ids type: #Object defaultValue: 'OrderedCollection new'.
×
95

×
96
        commit property: #id type: #String.
×
97
        commit property: #short_id type: #String.
×
98
        commit property: #title type: #String.
×
99
        commit property: #author_name type: #String.
×
100
        commit property: #author_email type: #String.
×
101
        commit property: #authored_date type: #Object.
×
102
        commit property: #committer_name type: #String.
×
103
        commit property: #committer_email type: #String.
×
104
        commit property: #committed_date type: #Object.
×
105
        commit property: #created_at type: #Object.
×
106
        commit property: #message type: #String.
×
107
        commit property: #web_url type: #String.
×
108

×
109

×
110
        (commit property: #additions type: #Number) comment:
×
111
                'The number of line that git consider added'.
×
112
        (commit property: #deletions type: #Number) comment:
×
113
                'The number of line that git consider deleted'
×
114
]
×
115

116
{ #category : #definition }
117
GLHMetamodelGenerator >> defineClasses [
×
118

×
119
        super defineClasses.
×
120
        entity := builder ensureClassNamed: #Entity.
×
121
        group := builder newClassNamed: #Group comment: 'A GitLab Group'.
×
122
        group withGroup.
×
123
        project := builder
×
124
                           newClassNamed: #Project
×
125
                           comment: 'A GitLab Project'.
×
126
        pipeline := builder
×
127
                            newClassNamed: #Pipeline
×
128
                            comment: 'A GitLab Pipeline execution'.
×
129
        user := builder newClassNamed: #User comment: 'A GitLab User'.
×
130
        repository := builder
×
131
                              newClassNamed: #Repository
×
132
                              comment: 'A git repository'.
×
133
        branch := builder newClassNamed: #Branch comment: 'A git branch'.
×
134
        file := builder newClassNamed: #File comment: 'A file'.
×
135
        fileBlob := builder newClassNamed: #FileBlob comment: 'A file blob'.
×
136
        fileDirectory := builder
×
137
                                 newClassNamed: #FileDirectory
×
138
                                 comment: 'A file directory'.
×
139
        commit := builder
×
140
                          newClassNamed: #Commit
×
141
                          comment: 'a commit attached to a repository'.
×
142
        diff := builder newClassNamed: #Diff comment: 'The diff of a commit'.
×
143

×
144
        job := builder newClassNamed: #Job comment: 'A CI Job'.
×
145

×
146
        mergeRequest := builder
×
147
                                newClassNamed: #MergeRequest
×
148
                                comment: 'a gitlab merge request'.
×
149

×
150
        change := builder
×
151
                          newClassNamed: #Change
×
152
                          comment: 'super class for addition and deletion '.
×
153

×
154
        addition := builder
×
155
                            newClassNamed: #Addition
×
156
                            comment:
×
157
                            'a detected addition of a line, seen within a diff '.
×
158
        addition withTesting.
×
159
        deletion := builder
×
160
                            newClassNamed: #Deletion
×
161
                            comment:
×
162
                            'a detected deletion of a line, seen within a diff '.
×
163
        deletion withTesting.
×
164

×
165
        lineOfCode := builder
×
166
                              newClassNamed: #LineOfCode
×
167
                              comment: 'a line of code in a diff comparaison '.
×
168

×
169
        diffRange := builder
×
170
                             newClassNamed: #DiffRange
×
171
                             comment:
×
172
                             'a indicate on which line of code are concerned by a diff (usually declared with @@ oldRange, newRange @@) '.
×
173

×
174
        note := builder
×
175
                        newClassNamed: #Note
×
176
                        comment:
×
177
                        'a note (a diff) proposed in a Merge Request; can be accepted, modified or deleted'.
×
178

×
179

×
180
        tag := builder
×
181
                       newClassNamed: #Tag
×
182
                       comment:
×
183
                       'a Tag is a reference to a specific point in the repository''s history'.
×
184

×
185

×
186
        release := builder
×
187
                           newClassNamed: #Release
×
188
                           comment:
×
189
                           'a Release is typically associated with a tag and provide additional metadata and assets that can be distributed to users'.
×
190
                
×
191
        issue := builder
×
192
                         newClassNamed: #Issue
×
193
                         comment:
×
194
                         'an Issues help collaboration within a team to plan, track, and deliver work'.
×
195
                
×
196
        milestone := builder
×
197
                         newClassNamed: #Milestone
×
198
                         comment:
×
199
                         'a Milestone is use to track progress on groups of issues or pull requests in a repository'.
×
200
]
×
201

202
{ #category : #definition }
203
GLHMetamodelGenerator >> defineHierarchy [
×
204

×
205
        super defineHierarchy.
×
206
        entity --|> #TEntityMetaLevelDependency.
×
207
        fileDirectory --|> file.
×
208
        fileBlob --|> file.
×
209

×
210
        group --|> #TNamedEntity.
×
211
        project --|> #TNamedEntity.
×
212
        user --|> #TNamedEntity.
×
213
        commit --|> #TNamedEntity.
×
214
        diff --|> #TNamedEntity.
×
215
        job --|> #TNamedEntity.
×
216
        note --|> #TNamedEntity.
×
NEW
217
        
×
NEW
218
        tRef --|> #TNamedEntity.
×
NEW
219
        tRef <|-- commit .
×
NEW
220
        tRef <|-- branch .
×
NEW
221
        tRef <|-- tag .
×
222

×
223
        change --|> #TNamedEntity.
×
224
        change <|-- addition.
×
225
        change <|-- deletion.
×
226
        change <|-- lineOfCode.
×
227
        mergeRequest --|> #TNamedEntity.
×
228

×
229
        issue --|> #TNamedEntity.
×
230
        milestone --|> #TNamedEntity. 
×
231
]
×
232

233
{ #category : #definition }
234
GLHMetamodelGenerator >> defineProperties [
×
235
        "Group properties"
×
236

×
237
        super defineProperties.
×
238
        self groupProperties.
×
239
        self projectProperties.
×
240
        self pipelinesProperties.
×
241
        self userProperties.
×
242
        self branchProperties.
×
243
        self fileProperties.
×
244
        self commitProperties.
×
245
        self diffProperties.
×
246
        self jobProperties.
×
247
        self changeProperties.
×
248
        self mergeRequestProperties.
×
249
        self diffRangeProperties.
×
250
        self noteProperties.
×
251
        self tagProperties.
×
252
        self releaseProperties.
×
253
        self issueProperties.
×
254
        self milestoneProperties.
×
NEW
255
        
×
NEW
256
        self tRefProperties. 
×
UNCOV
257
]
×
258

259
{ #category : #definition }
260
GLHMetamodelGenerator >> defineRelations [
×
261
        "MERGE REQUEST RELATIONS""DIFF""TAG AND RELEASE"
×
262

×
263
        super defineRelations.
×
264
        (group property: #projects) <>-* (project property: #group).
×
265
        (group property: #subGroups) <>-* (group property: #group).
×
266

×
267
        (repository property: #branches) <>-* (branch property: #repository).
×
268
        (branch property: #files) <>-* (file property: #branch).
×
269
        (fileDirectory property: #files)
×
270
        <>-* (file property: #directoryOwner).
×
271
        (repository property: #commits) <>-* (commit property: #repository).
×
272
        "commit can appears in multiple branches. And a branch"
×
273
        (branch property: #commits) *-* (commit property: #branch).
×
274
        (commit property: #diffs) <>-* (diff property: #commit).
×
275
        (user property: #commits) <>-* (commit property: #commitCreator).
×
276
        (commit property: #parentCommits)
×
277
        *-* (commit property: #childCommits).
×
278
        (commit property: #jobs) <>-* (job property: #commit).
×
279
        (pipeline property: #jobs) <>-* (job property: #pipeline).
×
280
        (pipeline property: #user) *- (user property: #launchedPipelines).
×
281
        (user property: #jobs) <>-* (job property: #user).
×
282
        (diff property: #file) <>-* (file property: #diffs).
×
283
        (diff property: #diffRanges) <>-* (diffRange property: #diff).
×
284
        (diffRange property: #changes) -* (change property: #diffRange).
×
285

×
286
        self projectRelations.
×
287
        self tagRelations.
×
288
        self releaseRelations.
×
289
        self issueRelations.
×
290
        self mergeRequestsRelations.
×
291
        self noteRelations.
×
292
        self milestoneRelations. 
×
293
]
×
294

295
{ #category : #definition }
NEW
296
GLHMetamodelGenerator >> defineTraits [
×
NEW
297
        super defineTraits.
×
NEW
298
        
×
NEW
299
        tRef := builder newTraitNamed: #TRef comment: 'I''m representing a Git reference, that is a reference point in a repository''s history'.
×
NEW
300
        "generate the identity isXXX method (see https://modularmoose.org/developers/create-new-metamodel/#generating-test-method)"
×
NEW
301
        tRef withTesting.
×
NEW
302
]
×
303

304
{ #category : #diffs }
305
GLHMetamodelGenerator >> diffProperties [
×
306

×
307
        (diff property: #diffString type: #String) comment:
×
308
                'The string presenting the diff. It should follow the [Detailed-Unified](https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html) format'.
×
309
                
×
310
        (diff property: #new_path type: #String) comment:
×
311
                'The path to the file in the resulted repository commitish'.
×
312
                
×
313
        (diff property: #old_path type: #String) comment:
×
314
                'The path to the file in the origin repository commitish'.
×
315
                
×
316
        (diff property: #new_file type: #Boolean defaultValue: false)
×
317
                comment: 'Is the file of the diff is a new file'.
×
318
                
×
319
        (diff property: #renamed_file type: #Boolean defaultValue: false)
×
320
                comment:
×
321
                'Is the file of the diff has been renamed (see old_path/new_path) file'.
×
322
                
×
323
        (diff property: #deleted_file type: #Boolean defaultValue: false)
×
324
                comment: 'Is the file of the diff has been removed'
×
325
]
×
326

327
{ #category : #diffs }
328
GLHMetamodelGenerator >> diffRangeProperties [
×
329
"must parse the range. 
×
330
        originalLineRange = '-120,5' --> change starts at line #120
×
331
        5 is the number of lines in the original file affected by the change"
×
332
        diffRange property: #originalLineRange type: #String.
×
333
        diffRange property: #newLineRange type: #String.
×
334
        diffRange property: #lineOfCode type: #String
×
335
]
×
336

×
337
{ #category : #files }
×
338
GLHMetamodelGenerator >> fileProperties [
×
339

×
340
        file property: #name type: #String
×
341
]
×
342

×
343
{ #category : #groups }
×
344
GLHMetamodelGenerator >> groupProperties [
×
345

×
346
        group property: #id type: #Number. "Group properties"
×
347
        group property: #web_url type: #String.
×
348
        group property: #description type: #String.
×
349
        group property: #visibility type: #String.
×
350
        group property: #avatar_url type: #String
×
351
]
×
352

×
353
{ #category : #issues }
×
354
GLHMetamodelGenerator >> issueProperties [
×
355

×
356
        issue property: #name type: #String.
×
357
        issue property: #description type: #String.
×
358
        issue property: #state type: #String.
×
359
        issue property: #id type: #Number.
×
360
        
×
361
        issue property: #created_at type: #Object.
×
362
        issue property: #updated_at type: #Object.
×
363
        issue property: #closed_at type: #Object.
×
364
        issue property: #due_date type: #Object.
×
365
]
×
366

×
367
{ #category : #issues }
×
368
GLHMetamodelGenerator >> issueRelations [
×
369

×
370
        (issue property: #project) *-<> (project property: #issue).
×
371
        (issue property: #assignees) <>-* (user property: #assignedIssue).
×
372
        (issue property: #author) <>- (user property: #createdIssue).
×
373
        
×
374
]
×
375

×
376
{ #category : #jobs }
×
377
GLHMetamodelGenerator >> jobProperties [
×
378

×
379
        job property: #id type: #Number.
×
380
        job property: #allow_failure type: #Boolean.
×
381
        job property: #web_url type: #String.
×
382
        job property: #duration type: #Object.
×
383
        job property: #name type: #String. 
×
384
        job property: #ref type: #String.
×
385
]
×
386

×
387
{ #category : #'merge requests' }
×
388
GLHMetamodelGenerator >> mergeRequestProperties [
×
389

×
390
        mergeRequest property: #id type: #Number.
×
391
        mergeRequest property: #iid type: #Number.
×
392
        mergeRequest property: #project_id type: #Number.
×
393
        mergeRequest property: #title type: #String.
×
394
        mergeRequest property: #description type: #String.
×
395
        mergeRequest property: #state type: #String.
×
396
        mergeRequest property: #created_at type: #Object.
×
397
        mergeRequest property: #updated_at type: #Object.
×
398
        mergeRequest property: #merged_at type: #Object.
×
399
        mergeRequest property: #closed_at type: #Object.
×
400
        mergeRequest property: #target_branch type: #String.
×
401
        mergeRequest property: #source_branch type: #String.
×
402
        mergeRequest property: #user_notes_count type: #Number.
×
403
        mergeRequest property: #upvotes type: #Number.
×
404
        mergeRequest property: #downvotes type: #Number.
×
405
        mergeRequest property: #source_project_id type: #Number.
×
406
        mergeRequest property: #target_project_id type: #Number.
×
407
        mergeRequest property: #labels type: #Object.
×
408
        mergeRequest property: #draft type: #Boolean.
×
409
        mergeRequest property: #work_in_progress type: #Boolean.
×
410
        mergeRequest property: #milestone type: #String.
×
411
        mergeRequest property: #merge_when_pipeline_succeeds type: #Boolean.
×
412
        mergeRequest property: #merge_status type: #String.
×
413
        mergeRequest property: #detailed_merge_status type: #String.
×
414
        mergeRequest property: #sha type: #String.
×
415
        mergeRequest property: #merge_commit_sha type: #String.
×
416
        mergeRequest property: #squash_commit_sha type: #String.
×
417
        mergeRequest property: #discussion_locked type: #String.
×
418
        mergeRequest property: #should_remove_source_branch type: #Boolean.
×
419
        mergeRequest property: #force_remove_source_branch type: #Boolean.
×
420
        mergeRequest property: #reference type: #String.
×
421
        mergeRequest property: #references_short type: #String.
×
422
        mergeRequest property: #references_relative type: #String.
×
423
        mergeRequest property: #references_full type: #String.
×
424
        mergeRequest property: #web_url type: #String.
×
425
        mergeRequest property: #time_stats_time_estimate type: #Number.
×
426
        mergeRequest property: #time_stats_total_time_spent type: #Number.
×
427
        mergeRequest property: #time_stats_human_time_estimate type: #String.
×
428
        mergeRequest
×
429
                property: #time_stats_human_total_time_spent
×
430
                type: #String.
×
431
        mergeRequest property: #squash type: #Boolean.
×
432
        mergeRequest property: #squash_on_merge type: #Boolean.
×
433
        mergeRequest property: #task_completion_status_count type: #Number.
×
434
        mergeRequest
×
435
                property: #task_completion_status_completed_count
×
436
                type: #Number.
×
437
        mergeRequest property: #has_conflicts type: #Boolean.
×
438
        mergeRequest property: #blocking_discussions_resolved type: #Boolean.
×
439
        mergeRequest property: #subscribed type: #Boolean.
×
440
        mergeRequest property: #changes_count type: #String.
×
441
        mergeRequest property: #latest_build_started_at type: #String.
×
442
        mergeRequest property: #latest_build_finished_at type: #String.
×
443
        mergeRequest property: #first_deployed_to_production_at type: #String.
×
444
        mergeRequest property: #approved type: #Boolean.
×
445

×
446
        "see https://github.com/moosetechnology/GitProjectHealth/issues/88"
×
447
        mergeRequest property: #commits type: #Object
×
448
]
×
449

×
450
{ #category : #'merge requests' }
×
451
GLHMetamodelGenerator >> mergeRequestsRelations [
×
452

×
453
        (mergeRequest property: #author)
×
454
        *- (user property: #createdMergeRequests).
×
455
        (mergeRequest property: #approved_by)
×
456
        *-* (user property: #approcheMergeRequests).
×
457
        (mergeRequest property: #merge_user) *- (user property: #usedMerges).
×
458
        (mergeRequest property: #closed_by)
×
459
        *- (user property: #closedMergeRequests).
×
460
        (mergeRequest property: #merged_by)
×
461
        *- (user property: #mergerOfMergeRequests).
×
462
        (mergeRequest property: #assignees)
×
463
        *-* (user property: #assignedMergeRequests).
×
464
        (mergeRequest property: #assignee)
×
465
        *- (user property: #currentlyAssignedMergeRequest).
×
466
        (mergeRequest property: #reviewers)
×
467
        *-* (user property: #reviewedMergeResquest).
×
468
        (mergeRequest property: #pipelines)
×
469
        <>-* (pipeline property: #mergeResquest).
×
470
        (mergeRequest property: #mergedCommit)
×
471
        - (commit property: #commitedMergeRequest).
×
472
        (mergeRequest property: #mergeRequestCommit)
×
473
        - (commit property: #commitedMergeRequest).
×
474
        (mergeRequest property: #squashCommit)
×
475
        - (commit property: #squashedMergeRequest).
×
476
        (mergeRequest property: #diffs) -* (diff property: #mergeRequest).
×
477
        (project property: #mergeRequests)
×
478
        <>-* (mergeRequest property: #project).
×
479

×
480
]
×
481

×
482
{ #category : #milestones }
×
483
GLHMetamodelGenerator >> milestoneProperties [
×
484

×
485
        milestone property: #id type: #Number.
×
486
        milestone property: #title type: #String.
×
487
        milestone property: #description type: #String.
×
488
        
×
489
        milestone property: #open_issues type: #Number .
×
490
        milestone property: #closed_issues type: #Number.
×
491

×
492
        milestone property: #created_at type: #Object.
×
493
        milestone property: #updated_at type: #Object.
×
494
        milestone property: #closed_at type: #Object.
×
495
        milestone property: #due_date type: #Object
×
496
]
×
497

×
498
{ #category : #milestones }
×
499
GLHMetamodelGenerator >> milestoneRelations [
×
500

×
501
        (milestone property: #project) *-<> (project property: #milestone).
×
502
        (milestone property: #author) <>- (user property: #createdMilestone).
×
503
        
×
504
        (milestone property: #issue) <>-* (issue property: #milestone).
×
505
        (milestone property: #mergeRequest) <>-* (mergeRequest property: #milestone).
×
506
]
×
507

×
508
{ #category : #notes }
×
509
GLHMetamodelGenerator >> noteProperties [ 
×
510
        note property: #id type: #Number.
×
511
        note property: #body type: #String. 
×
512
        note property: #attachment type: #Object.
×
513
        note property: #author type: #Object.
×
514
        note property: #created_at type: #Object.
×
515
        note property: #updated_at type: #Object.
×
516
        note property: #system type: #Boolean.
×
517
        note property: #noteable_id type: #Number.
×
518
        note property: #noteable_type type: #String.
×
519
        note property: #project_id type: #Number.
×
520
        note property: #noteable_iid type: #Number.
×
521
        note property: #resolvable type: #Boolean.
×
522
        note property: #confidential type: #Boolean.
×
523
        note property: #internal type: #Boolean.
×
524
        note property: #imported type: #Boolean.
×
525
        note property: #imported_from type: #String.
×
526
         
×
527
 
×
528
 
×
529
 
×
530
 
×
531
 
×
532
 
×
533
 
×
534
 
×
535

×
536
]
×
537

×
538
{ #category : #'merge requests' }
×
539
GLHMetamodelGenerator >> noteRelations [
×
540

×
541
        (note property: #mergeRequest) *- (mergeRequest property: #note)
×
542
]
×
543

×
544
{ #category : #pipelines }
×
545
GLHMetamodelGenerator >> pipelinesProperties [
×
546
        
×
547
        "Pipelines properties"
×
548
        
×
549
        (pipeline property: #id type: #String) comment:
×
550
                'The id of the pipeline'.
×
551
        (pipeline property: #name type: #String) comment:
×
552
                'name of the pipeline'.        
×
553
                        
×
554
        (pipeline property: #status type: #String) comment:
×
555
                '#success or #failure'.        
×
556
        (pipeline property: #ref type: #String) comment:
×
557
                'reference its emmited source (merge request or else)'.        
×
558
        (pipeline property: #sha type: #String) comment:
×
559
                'sha of its emmited source'.        
×
560
        
×
561
        (pipeline property: #sourceEvent type: #String) comment: 'triggering event from where the pipeline originate, such as #push #fork, etc.'.
×
562
        
×
563
        (pipeline property: #runDate type: #Object) comment:
×
564
                'Date this pipeline was run'.
×
565
        (pipeline property: #created_at type: #Object) comment: 'creation date of the pipeline'.
×
566
        (pipeline property: #updated_at type: #Object) comment: 'update date of the pipeline'.
×
567
        (pipeline property: #started_at type: #Object) comment: 'start date of the pipeline'.
×
568
        (pipeline property: #finished_at type: #Object) comment: 'finish date of the pipeline'.        
×
569
        (pipeline property: #duration type: #Object) comment: 'the running duration of a pipeline'.
×
570

×
571
]
×
572

×
573
{ #category : #projects }
×
574
GLHMetamodelGenerator >> projectProperties [
×
575

×
576
        project property: #id type: #Number. "Project properties"
×
577
        project property: #topics type: #Object.
×
578
        project property: #archived type: #Boolean.
×
579
        project property: #archived type: #Boolean.
×
580
        project property: #description type: #String.
×
581
        project property: #readme_url type: #String.
×
582
        project property: #avatar_url type: #String.
×
583
        project property: #web_url type: #String.
×
584
        project property: #creator_id type: #Number
×
585
]
×
586

×
587
{ #category : #projects }
×
588
GLHMetamodelGenerator >> projectRelations [
×
589

×
590
        (project property: #pipelines) <>-* (pipeline property: #project).
×
591
        (project property: #creator) *- (user property: #createdProjects).
×
592
        (project property: #contributors)
×
593
        *-* (user property: #contributedProjects).
×
594
        (project property: #repository) <>- (repository property: #project)
×
595
]
×
596

×
597
{ #category : #releases }
×
598
GLHMetamodelGenerator >> releaseProperties [
×
599

×
600
        release property: #description type: #String.
×
601
        release property: #tag_name type: #String.
×
602
        release property: #name type: #String.
×
603
        
×
604
        release property: #created_at type: #Object.
×
605
        release property: #released_at type: #Object.
×
606
        release property: #commit_path type: #String.
×
607
        release property: #tag_path type: #String.
×
608
]
×
609

×
610
{ #category : #releases }
×
611
GLHMetamodelGenerator >> releaseRelations [
×
612

×
613
        (release property: #author) *-<> (user property: #releases).
×
614
        (release property: #project) *-<> (project property: #releases)
×
615
]
×
616

×
NEW
617
{ #category : #'as yet unclassified' }
×
NEW
618
GLHMetamodelGenerator >> tRefProperties [
×
NEW
619
        "define the properties of a ref instance"
×
NEW
620
        
×
NEW
621
        tag property: #sha type: #String.
×
NEW
622
        tag property: #name type: #String.
×
NEW
623
]
×
NEW
624

×
625
{ #category : #tags }
×
626
GLHMetamodelGenerator >> tagProperties [
×
627

×
628
        tag property: #message type: #String.
×
629
        tag property: #target type: #String.
×
630
        tag property: #protected type: #Boolean.
×
631
        tag property: #created_at type: #Object.
×
632

×
633
]
×
634

×
635
{ #category : #tags }
×
636
GLHMetamodelGenerator >> tagRelations [
×
637
        (tag property: #commit) - (commit property: #tag).
×
638
        (tag property: #release) - (release property: #tag).
×
639
        (tag property: #repository) *-<> (repository property: #tags).
×
640
]
×
641

×
642
{ #category : #users }
×
643
GLHMetamodelGenerator >> userProperties [
×
644

×
645
        user property: #id type: #Number.
×
646
        user property: #username type: #String.
×
647
        user property: #name type: #String.
×
648
        user property: #state type: #String.
×
649
        user property: #avatar_url type: #String.
×
650
        user property: #web_url type: #String.
×
651
        user property: #created_at type: #String.
×
652
        user property: #bio type: #String.
×
653
        user property: #location type: #String.
×
654
        user property: #public_email type: #String.
×
655
        user property: #email type: #String.
×
656
        user property: #commit_email type: #String.
×
657
        user property: #skype type: #String.
×
658
        user property: #linkedin type: #String.
×
659
        user property: #twitter type: #String.
×
660
        user property: #website_url type: #String.
×
661
        user property: #organization type: #String.
×
662
        user property: #job_title type: #String.
×
663
        user property: #pronouns type: #String.
×
664
        user property: #bot type: #String.
×
665
        user property: #work_information type: #String.
×
666
        user property: #followers type: #String.
×
667
        user property: #following type: #String
×
668
]
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc