exercism-config 0.67.0 → 0.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 645d0e26a8697d3d5b9e00f59da7309b45bf6dd7503c489c7d72c844c47c269a
4
- data.tar.gz: eb0f071f2a076f7eadc74cdad853d1b301620857e7b49f3c1da916d1a17543e7
3
+ metadata.gz: 97b521d6ea2dd54e73cd283ea72d44d08293c8cf3daa257d6a569c23048eb79f
4
+ data.tar.gz: 7615f11578fe10a7d498650801fe8677585e43163872f0ff1da86b17014cf65a
5
5
  SHA512:
6
- metadata.gz: 0c00dd32c4646b1c15291ea371691bceb0c906a611819c7975d6383e4d0f44ee872d7443658d51f4361d47c7604722d32ed9d42f533c942156b42488e72010d2
7
- data.tar.gz: 80b65ab89df6c2cfefe9b87e4e781549724a2062bfbedbe83bfced98d2f69a4edd471d06de33ef159bac8272113c04cbedd8225cbecd2f633d9c8bad9c2b9657
6
+ metadata.gz: dc1df329f4f0aefa3db615997d1989ded7a50165ac517a987883f476218f41a6f151c758e968e87b6a8cc09fffed8a7562157a1d15b445d8d58ae81469040a82
7
+ data.tar.gz: cd58813151029fe010691390f3da8a758a39e34ce18098a2708855be83e10a355089b51e90d241f6d3cb26e4ccaa3e636f0826ede7b086e36b60608f30ca9621
@@ -0,0 +1,40 @@
1
+ # ----------------------------------------------------------------------------------------- #
2
+ # These are the repository-specific labels that augment the Exercise-wide labels defined in #
3
+ # https://github.com/exercism/org-wide-files/blob/main/global-files/.github/labels.yml. #
4
+ # ----------------------------------------------------------------------------------------- #
5
+
6
+ - name: "bug"
7
+ description: "Something isn't working"
8
+ color: "d73a4a"
9
+
10
+ - name: "documentation"
11
+ description: "Improvements or additions to documentation"
12
+ color: "0075ca"
13
+
14
+ - name: "duplicate"
15
+ description: "This issue or pull request already exists"
16
+ color: "cfd3d7"
17
+
18
+ - name: "enhancement"
19
+ description: "New feature or request"
20
+ color: "a2eeef"
21
+
22
+ - name: "good first issue"
23
+ description: "Good for newcomers"
24
+ color: "7057ff"
25
+
26
+ - name: "help wanted"
27
+ description: "Extra attention is needed"
28
+ color: "008672"
29
+
30
+ - name: "invalid"
31
+ description: "This doesn't seem right"
32
+ color: "e4e669"
33
+
34
+ - name: "question"
35
+ description: "Further information is requested"
36
+ color: "d876e3"
37
+
38
+ - name: "wontfix"
39
+ description: "This will not be worked on"
40
+ color: "ffffff"
@@ -0,0 +1,204 @@
1
+ # ------------------------------------------------------------- #
2
+ # This is an auto-generated file - Do not edit it file directly #
3
+ # ------------------------------------------------------------- #
4
+
5
+ # This file is automatically generated by merging two files:
6
+ # 1. The Exercism-wide labels
7
+ # 2. The repository-specific labels
8
+ #
9
+ # The Exercism-wide labels are defined in
10
+ # https://github.com/exercism/org-wide-files/blob/main/synced-files/.github/labels.yml
11
+ #
12
+ # The repository-specific labels are defined in `.appends/.github/labels.yml`.
13
+ # If you want to change the repository-specific labels, update the
14
+ # `.appends/.github/labels.yml` file and _not_ this file.
15
+ #
16
+ # Any changes to the repo's `.appends/.github/labels.yml` file or the
17
+ # Exercism-wide `labels.yml` file will automatically result in this file being
18
+ # regenerated and the labels being updated. This typically takes 5-10 minutes.
19
+
20
+ # --------------------------------------------------------------------- #
21
+ # These are the Exercism-wide labels which are shared across all repos. #
22
+ # --------------------------------------------------------------------- #
23
+
24
+ # The following Exercism-wide labels are used to show "tasks" on the website, which
25
+ # will point users to things they can help contribute with.
26
+
27
+ # The `x:action/<value>` labels describe what sort of work the contributor
28
+ # will be engaged in when working on the issue
29
+ - name: "x:action/create"
30
+ description: "Work on something from scratch"
31
+ color: "6f60d2"
32
+
33
+ - name: "x:action/fix"
34
+ description: "Fix an issue"
35
+ color: "6f60d2"
36
+
37
+ - name: "x:action/improve"
38
+ description: "Improve existing functionality/content"
39
+ color: "6f60d2"
40
+
41
+ - name: "x:action/proofread"
42
+ description: "Proofread text"
43
+ color: "6f60d2"
44
+
45
+ - name: "x:action/sync"
46
+ description: "Sync content with its latest version"
47
+ color: "6f60d2"
48
+
49
+ # The `x:knowledge/<value>` labels describe how much Exercism knowledge
50
+ # is required by the contributor
51
+ - name: "x:knowledge/none"
52
+ description: "No existing Exercism knowledge required"
53
+ color: "604fcd"
54
+
55
+ - name: "x:knowledge/elementary"
56
+ description: "Little Exercism knowledge required"
57
+ color: "604fcd"
58
+
59
+ - name: "x:knowledge/intermediate"
60
+ description: "Quite a bit of Exercism knowledge required"
61
+ color: "604fcd"
62
+
63
+ - name: "x:knowledge/advanced"
64
+ description: "Comprehensive Exercism knowledge required"
65
+ color: "604fcd"
66
+
67
+ # The `x:module/<value>` labels indicate what part of Exercism
68
+ # the contributor will be working on
69
+ - name: "x:module/analyzer"
70
+ description: "Work on Analyzers"
71
+ color: "5240c9"
72
+
73
+ - name: "x:module/concept"
74
+ description: "Work on Concepts"
75
+ color: "5240c9"
76
+
77
+ - name: "x:module/concept-exercise"
78
+ description: "Work on Concept Exercises"
79
+ color: "5240c9"
80
+
81
+ - name: "x:module/generator"
82
+ description: "Work on Exercise generators"
83
+ color: "5240c9"
84
+
85
+ - name: "x:module/practice-exercise"
86
+ description: "Work on Practice Exercises"
87
+ color: "5240c9"
88
+
89
+ - name: "x:module/representer"
90
+ description: "Work on Representers"
91
+ color: "5240c9"
92
+
93
+ - name: "x:module/test-runner"
94
+ description: "Work on Test Runners"
95
+ color: "5240c9"
96
+
97
+ # The `x:size/<value>` labels describe the expected amount of work
98
+ # for a contributor
99
+ - name: "x:size/tiny"
100
+ description: "Tiny amount of work"
101
+ color: "4836bf"
102
+
103
+ - name: "x:size/small"
104
+ description: "Small amount of work"
105
+ color: "4836bf"
106
+
107
+ - name: "x:size/medium"
108
+ description: "Medium amount of work"
109
+ color: "4836bf"
110
+
111
+ - name: "x:size/large"
112
+ description: "Large amount of work"
113
+ color: "4836bf"
114
+
115
+ - name: "x:size/massive"
116
+ description: "Massive amount of work"
117
+ color: "4836bf"
118
+
119
+ # The `x:status/<value>` label indicates if there is already someone
120
+ # working on the issue
121
+ - name: "x:status/claimed"
122
+ description: "Someone is working on this issue"
123
+ color: "4231af"
124
+
125
+ # The `x:type/<value>` labels describe how much Exercism knowledge
126
+ # is required by the contributor
127
+ - name: "x:type/ci"
128
+ description: "Work on Continuous Integration (e.g. GitHub Actions workflows)"
129
+ color: "3c2d9f"
130
+
131
+ - name: "x:type/coding"
132
+ description: "Work on code that will run in production"
133
+ color: "3c2d9f"
134
+
135
+ - name: "x:type/content"
136
+ description: "Work on content (e.g. exercises, concepts)"
137
+ color: "3c2d9f"
138
+
139
+ - name: "x:type/docker"
140
+ description: "Work on Dockerfiles"
141
+ color: "3c2d9f"
142
+
143
+ - name: "x:type/docs"
144
+ description: "Work on Documentation"
145
+ color: "3c2d9f"
146
+
147
+ # The following Exercism-wide labels are used to influence how much reputation
148
+ # a contributor gets for an authored/merged/reviewed PR.
149
+ # See https://github.com/exercism/docs/blob/main/product/reputation.md
150
+
151
+ - name: "reputation/contributed_code/major"
152
+ description: "Increases the number of reputation points awarded by this PR"
153
+ color: "fcfa9f"
154
+
155
+ - name: "reputation/contributed_code/minor"
156
+ description: "Decreases the number of reputation points awarded by this PR"
157
+ color: "fcfa9f"
158
+
159
+ # This Exercism-wide label is added to all automatically created pull requests
160
+ # that help migrate/prepare a track for Exercism v3
161
+ - name: "v3-migration 🤖"
162
+ description: "Preparing for Exercism v3"
163
+ color: "e99695"
164
+
165
+ # ----------------------------------------------------------------------------------------- #
166
+ # These are the repository-specific labels that augment the Exercise-wide labels defined in #
167
+ # https://github.com/exercism/org-wide-files/blob/main/global-files/.github/labels.yml. #
168
+ # ----------------------------------------------------------------------------------------- #
169
+
170
+ - name: "bug"
171
+ description: "Something isn't working"
172
+ color: "d73a4a"
173
+
174
+ - name: "documentation"
175
+ description: "Improvements or additions to documentation"
176
+ color: "0075ca"
177
+
178
+ - name: "duplicate"
179
+ description: "This issue or pull request already exists"
180
+ color: "cfd3d7"
181
+
182
+ - name: "enhancement"
183
+ description: "New feature or request"
184
+ color: "a2eeef"
185
+
186
+ - name: "good first issue"
187
+ description: "Good for newcomers"
188
+ color: "7057ff"
189
+
190
+ - name: "help wanted"
191
+ description: "Extra attention is needed"
192
+ color: "008672"
193
+
194
+ - name: "invalid"
195
+ description: "This doesn't seem right"
196
+ color: "e4e669"
197
+
198
+ - name: "question"
199
+ description: "Further information is requested"
200
+ color: "d876e3"
201
+
202
+ - name: "wontfix"
203
+ description: "This will not be worked on"
204
+ color: "ffffff"
@@ -0,0 +1,21 @@
1
+ name: Tools
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ paths:
7
+ - .github/labels.yml
8
+ - .github/workflows/sync-labels.yml
9
+ schedule:
10
+ - cron: 0 0 1 * *
11
+ workflow_dispatch:
12
+
13
+ jobs:
14
+ sync-labels:
15
+ name: Sync labels
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
19
+ - uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c
20
+ env:
21
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -69,7 +69,7 @@ module Exercism
69
69
  end
70
70
  end
71
71
 
72
- def executed!(status, output)
72
+ def executed!(status, output, exception)
73
73
  redis = Exercism.redis_tooling_client
74
74
  redis.multi do
75
75
  redis.lrem(key_for_queued, 1, id)
@@ -80,7 +80,8 @@ module Exercism
80
80
  "job:#{id}",
81
81
  data.merge(
82
82
  execution_status: status,
83
- execution_output: output
83
+ execution_output: output,
84
+ execution_exception: exception
84
85
  ).to_json
85
86
  )
86
87
  end
@@ -1,3 +1,3 @@
1
1
  module ExercismConfig
2
- VERSION = '0.67.0'.freeze
2
+ VERSION = '0.68.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exercism-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.67.0
4
+ version: 0.68.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Walker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-13 00:00:00.000000000 Z
11
+ date: 2021-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-dynamodb
@@ -173,7 +173,10 @@ executables:
173
173
  extensions: []
174
174
  extra_rdoc_files: []
175
175
  files:
176
+ - ".appends/.github/labels.yml"
177
+ - ".github/labels.yml"
176
178
  - ".github/workflows/rubocop.yml"
179
+ - ".github/workflows/sync-labels.yml"
177
180
  - ".github/workflows/tests.yml"
178
181
  - ".gitignore"
179
182
  - ".rubocop.yml"