exercism-config 0.83.0 → 0.85.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b525854e1e2997c48ff2274ad158875b66a276fb662444a821e304c3dde81caf
4
- data.tar.gz: 69403c1e9daac53dbf43e5a40f623775497ed2317befbee95675d7dc09494bac
3
+ metadata.gz: de0d7f2f5d479d24ca6476101ba5648033d1d645e69ed16a9d09716d919b4e6f
4
+ data.tar.gz: d17ab790d05f9d8d994eb500641857b5c115f0ebac74804edd0f671b6e9dc444
5
5
  SHA512:
6
- metadata.gz: 991b98893f571f42d5f8c3129ddb4b18962389fd43aa0ffccaf6b85f24194422312d70b5d769425aee69fa877d60aebc3b28605b4e177ec04cecd8017167bec3
7
- data.tar.gz: af72b17d05db32ef55911b98ebd0cc97c09ad19d40535c8a358c2293f7e13e5b929bf14f53ebac712bfb019223c164db50e94a97bb9e1d69fdc2767052dca3e5
6
+ metadata.gz: 7512ce0b25859691932761c9cf33bac70f04c14731625b8dbdfc2421181bc1f59b1c1c39314b9de8aed0ad2dd61465e7acdeac951ddcd5edbdf4c724b7a09eb0
7
+ data.tar.gz: 21cad5cef3ba17af3f1307757e9eb17b359003dc682420cbf49cbe54b4e00ae0ee7e0042ed255642e151b2fbc4863b1397da37e11f528a0fab9cbaef4bc9b40c
data/.github/labels.yml CHANGED
@@ -22,116 +22,145 @@
22
22
  # The `x:action/<value>` labels describe what sort of work the contributor will be engaged in when working on the issue
23
23
  - name: "x:action/create"
24
24
  description: "Work on something from scratch"
25
- color: "6f60d2"
25
+ color: "ffffff"
26
26
 
27
27
  - name: "x:action/fix"
28
28
  description: "Fix an issue"
29
- color: "6f60d2"
29
+ color: "ffffff"
30
30
 
31
31
  - name: "x:action/improve"
32
32
  description: "Improve existing functionality/content"
33
- color: "6f60d2"
33
+ color: "ffffff"
34
34
 
35
35
  - name: "x:action/proofread"
36
36
  description: "Proofread text"
37
- color: "6f60d2"
37
+ color: "ffffff"
38
38
 
39
39
  - name: "x:action/sync"
40
40
  description: "Sync content with its latest version"
41
- color: "6f60d2"
41
+ color: "ffffff"
42
42
 
43
43
  # The `x:knowledge/<value>` labels describe how much Exercism knowledge is required by the contributor
44
44
  - name: "x:knowledge/none"
45
45
  description: "No existing Exercism knowledge required"
46
- color: "604fcd"
46
+ color: "ffffff"
47
47
 
48
48
  - name: "x:knowledge/elementary"
49
49
  description: "Little Exercism knowledge required"
50
- color: "604fcd"
50
+ color: "ffffff"
51
51
 
52
52
  - name: "x:knowledge/intermediate"
53
53
  description: "Quite a bit of Exercism knowledge required"
54
- color: "604fcd"
54
+ color: "ffffff"
55
55
 
56
56
  - name: "x:knowledge/advanced"
57
57
  description: "Comprehensive Exercism knowledge required"
58
- color: "604fcd"
58
+ color: "ffffff"
59
59
 
60
60
  # The `x:module/<value>` labels indicate what part of Exercism the contributor will be working on
61
61
  - name: "x:module/analyzer"
62
62
  description: "Work on Analyzers"
63
- color: "5240c9"
63
+ color: "ffffff"
64
64
 
65
65
  - name: "x:module/concept"
66
66
  description: "Work on Concepts"
67
- color: "5240c9"
67
+ color: "ffffff"
68
68
 
69
69
  - name: "x:module/concept-exercise"
70
70
  description: "Work on Concept Exercises"
71
- color: "5240c9"
71
+ color: "ffffff"
72
72
 
73
73
  - name: "x:module/generator"
74
74
  description: "Work on Exercise generators"
75
- color: "5240c9"
75
+ color: "ffffff"
76
76
 
77
77
  - name: "x:module/practice-exercise"
78
78
  description: "Work on Practice Exercises"
79
- color: "5240c9"
79
+ color: "ffffff"
80
80
 
81
81
  - name: "x:module/representer"
82
82
  description: "Work on Representers"
83
- color: "5240c9"
83
+ color: "ffffff"
84
84
 
85
85
  - name: "x:module/test-runner"
86
86
  description: "Work on Test Runners"
87
- color: "5240c9"
87
+ color: "ffffff"
88
+
89
+ # The `x:rep/<value>` labels describe the amount of reputation to award
90
+ #
91
+ # For more information on reputation and how these labels should be used,
92
+ # check out https://exercism.org/docs/using/product/reputation
93
+ - name: "x:rep/tiny"
94
+ description: "Tiny amount of reputation"
95
+ color: "ffffff"
96
+
97
+ - name: "x:rep/small"
98
+ description: "Small amount of reputation"
99
+ color: "ffffff"
100
+
101
+ - name: "x:rep/medium"
102
+ description: "Medium amount of reputation"
103
+ color: "ffffff"
104
+
105
+ - name: "x:rep/large"
106
+ description: "Large amount of reputation"
107
+ color: "ffffff"
108
+
109
+ - name: "x:rep/massive"
110
+ description: "Massive amount of reputation"
111
+ color: "ffffff"
88
112
 
89
113
  # The `x:size/<value>` labels describe the expected amount of work for a contributor
90
114
  - name: "x:size/tiny"
91
115
  description: "Tiny amount of work"
92
- color: "4836bf"
116
+ color: "ffffff"
93
117
 
94
118
  - name: "x:size/small"
95
119
  description: "Small amount of work"
96
- color: "4836bf"
120
+ color: "ffffff"
97
121
 
98
122
  - name: "x:size/medium"
99
123
  description: "Medium amount of work"
100
- color: "4836bf"
124
+ color: "ffffff"
101
125
 
102
126
  - name: "x:size/large"
103
127
  description: "Large amount of work"
104
- color: "4836bf"
128
+ color: "ffffff"
105
129
 
106
130
  - name: "x:size/massive"
107
131
  description: "Massive amount of work"
108
- color: "4836bf"
132
+ color: "ffffff"
109
133
 
110
134
  # The `x:status/<value>` label indicates if there is already someone working on the issue
111
135
  - name: "x:status/claimed"
112
136
  description: "Someone is working on this issue"
113
- color: "4231af"
137
+ color: "ffffff"
114
138
 
115
139
  # The `x:type/<value>` labels describe what type of work the contributor will be engaged in
116
140
  - name: "x:type/ci"
117
141
  description: "Work on Continuous Integration (e.g. GitHub Actions workflows)"
118
- color: "3c2d9f"
142
+ color: "ffffff"
119
143
 
120
144
  - name: "x:type/coding"
121
145
  description: "Write code that is not student-facing content (e.g. test-runners, generators, but not exercises)"
122
- color: "3c2d9f"
146
+ color: "ffffff"
123
147
 
124
148
  - name: "x:type/content"
125
149
  description: "Work on content (e.g. exercises, concepts)"
126
- color: "3c2d9f"
150
+ color: "ffffff"
127
151
 
128
152
  - name: "x:type/docker"
129
153
  description: "Work on Dockerfiles"
130
- color: "3c2d9f"
154
+ color: "ffffff"
131
155
 
132
156
  - name: "x:type/docs"
133
157
  description: "Work on Documentation"
134
- color: "3c2d9f"
158
+ color: "ffffff"
159
+
160
+ # This label can be added to accept PRs as part of Hacktoberfest
161
+ - name: "hacktoberfest-accepted"
162
+ description: "Make this PR count for hacktoberfest"
163
+ color: "ff7518"
135
164
 
136
165
  # This Exercism-wide label is added to all automatically created pull requests that help migrate/prepare a track for Exercism v3
137
166
  - name: "v3-migration 🤖"
@@ -2,20 +2,18 @@ name: Tools
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [main]
5
+ branches:
6
+ - main
6
7
  paths:
7
8
  - .github/labels.yml
8
9
  - .github/workflows/sync-labels.yml
9
- schedule:
10
- - cron: 0 0 1 * *
11
10
  workflow_dispatch:
11
+ schedule:
12
+ - cron: 0 0 1 * * # First day of each month
13
+
14
+ permissions:
15
+ issues: write
12
16
 
13
17
  jobs:
14
18
  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 }}
19
+ uses: exercism/github-actions/.github/workflows/labels.yml@main
data/CODE_OF_CONDUCT.md CHANGED
@@ -6,7 +6,7 @@ Exercism is a platform centered around empathetic conversation. We have a low to
6
6
 
7
7
  ## Seen or experienced something uncomfortable?
8
8
 
9
- If you see or experience abuse, harassment, discrimination, or feel unsafe or upset, please email abuse@exercism.io. We will take your report seriously.
9
+ If you see or experience abuse, harassment, discrimination, or feel unsafe or upset, please email [abuse@exercism.org](mailto:abuse@exercism.org?subject=%5BCoC%5D) and include \[CoC\] in the subject line. We will follow up with you as a priority.
10
10
 
11
11
  ## Enforcement
12
12
 
data/README.md CHANGED
@@ -52,8 +52,7 @@ When running on AWS, simply ensure the machine has read-access to the relevant t
52
52
 
53
53
  This requires a local version of AWS to work.
54
54
  We use localstack for this.
55
- If you use the development-environment this will be handled for you.
56
- If not, to start localstack use the following:
55
+ To start localstack use the following command:
57
56
 
58
57
  ```bash
59
58
  docker run -dp 3042:8080 -p 3040:4566 -p 3041:4566 localstack/localstack
@@ -65,8 +65,6 @@ settings_file_arg = ARGV.select { |arg| arg.start_with?('--settings-file=') }.fi
65
65
  settings_file =
66
66
  if settings_file_arg
67
67
  settings_file_arg.split('=').last
68
- elsif ENV['EXERCISM_DOCKER']
69
- File.expand_path('../settings/docker.yml', __dir__)
70
68
  elsif ENV['EXERCISM_CI']
71
69
  File.expand_path('../settings/ci.yml', __dir__)
72
70
  else
@@ -26,8 +26,7 @@ module ExercismConfig
26
26
  return nil if Exercism.env.production?
27
27
  return "http://127.0.0.1:#{ENV['AWS_PORT']}" if Exercism.env.test? && ENV['EXERCISM_CI']
28
28
 
29
- host = ENV['EXERCISM_DOCKER'] ? 'aws:3040' : 'localhost:3040'
30
- "http://#{host}"
29
+ "http://localhost:3040"
31
30
  end
32
31
  end
33
32
  end
@@ -35,13 +35,7 @@ module ExercismConfig
35
35
  end
36
36
 
37
37
  def settings_filename
38
- if ENV["EXERCISM_CI"]
39
- 'ci'
40
- elsif ENV["EXERCISM_DOCKER"]
41
- 'docker'
42
- else
43
- 'local'
44
- end
38
+ ENV["EXERCISM_CI"] ? 'ci' : 'local'
45
39
  end
46
40
  end
47
41
  end
@@ -1,3 +1,3 @@
1
1
  module ExercismConfig
2
- VERSION = '0.83.0'.freeze
2
+ VERSION = '0.85.0'.freeze
3
3
  end
data/settings/ci.yml CHANGED
@@ -4,6 +4,8 @@ anycable_rpc_host: 127.0.0.1:50051
4
4
 
5
5
  # Tooling
6
6
  tooling_redis_url: redis://127.0.0.1:6379/3
7
+ snippet_generator_url: http://127.0.0.1:3024/extract_snippet
8
+ lines_of_code_counter_url: http://127.0.0.1:3025/count_lines_of_code
7
9
 
8
10
  # DynamoDB config
9
11
  dynamodb_tooling_jobs_table: tooling_jobs
@@ -16,7 +18,6 @@ tooling_orchestrator_url: http://127.0.0.1:3021
16
18
 
17
19
  # MySQL
18
20
  mysql_master_endpoint: 127.0.0.1
19
- mysql_socket: /tmp/mysql.
20
21
  mysql_port: <%= ENV["MYSQL_PORT"] %>
21
22
 
22
23
  # S3 Config
@@ -25,7 +26,7 @@ aws_tooling_jobs_bucket: exercism-v3-tooling-jobs
25
26
 
26
27
  # Hosts
27
28
  website_icons_host: https://exercism-v3-icons.s3.eu-west-2.amazonaws.com
28
- website_assets_host:
29
+ website_assets_host: ""
29
30
 
30
31
  # Sidekiq Config
31
32
  sidekiq_redis_url: redis://127.0.0.1:6379/2
data/settings/local.yml CHANGED
@@ -4,6 +4,8 @@ anycable_rpc_host: 127.0.0.1:50051
4
4
 
5
5
  # Tooling
6
6
  tooling_redis_url: redis://127.0.0.1:6379/3
7
+ snippet_generator_url: http://local.exercism.io:3024/extract_snippet
8
+ lines_of_code_counter_url: http://local.exercism.io:3025/count_lines_of_code
7
9
 
8
10
  # DynamoDB config
9
11
  dynamodb_tooling_jobs_table: tooling_jobs
@@ -16,7 +18,6 @@ tooling_orchestrator_url: http://local.exercism.io:3021
16
18
 
17
19
  # MySQL
18
20
  mysql_master_endpoint: localhost
19
- mysql_socket: /tmp/mysql.sock
20
21
  mysql_port: null
21
22
 
22
23
  # S3 Config
data/settings/secrets.yml CHANGED
@@ -10,3 +10,5 @@ stripe_publishable_key: "pk_test_51IDGMXEoOT0Jqx0UcoKlkvB7O0VDvFdCBvOCiWiKv6CkSn
10
10
  stripe_endpoint_secret: "whsec_rgY246H0vSUw0A9KpDOqsDDgAakEdCCT"
11
11
  stripe_recurring_product_id: "prod_Jw8Kqq4QQ0qio7"
12
12
  slack_api_token: "some-token"
13
+ google_api_key: "some-google-api-key"
14
+ discourse_oauth_secret: "some-discourse-oauth-secret"
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.83.0
4
+ version: 0.85.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: 2022-03-01 00:00:00.000000000 Z
11
+ date: 2022-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-dynamodb
@@ -221,7 +221,6 @@ files:
221
221
  - lib/exercism_config/version.rb
222
222
  - package.json
223
223
  - settings/ci.yml
224
- - settings/docker.yml
225
224
  - settings/local.yml
226
225
  - settings/secrets.yml
227
226
  - yarn.lock
data/settings/docker.yml DELETED
@@ -1,47 +0,0 @@
1
- # Anycable
2
- anycable_redis_url: redis://redis:6379/1
3
- anycable_rpc_host: 0.0.0.0:50051
4
-
5
- # Tooling
6
- tooling_redis_url: redis://redis:6379/3
7
-
8
- # DynamoDB config
9
- dynamodb_tooling_jobs_table: tooling_jobs
10
- dynamodb_tooling_language_groups_table: tooling_language_groups
11
-
12
- # Internal Routes
13
- spi_url: http://website:3020
14
- tooling_orchestrator_url: http://tooling-orchestrator:3021
15
- language_server_url: ws://local.exercism.io:3023
16
-
17
- # MySQL
18
- mysql_master_endpoint: mysql
19
- mysql_socket: null
20
- mysql_port: 3306
21
-
22
- # S3 Config
23
- aws_submissions_bucket: exercism-v3-submissions
24
- aws_tooling_jobs_bucket: exercism-v3-tooling-jobs
25
-
26
- # Hosts
27
- website_icons_host: https://exercism-v3-icons.s3.eu-west-2.amazonaws.com
28
- website_assets_host:
29
-
30
- # Sidekiq Config
31
- sidekiq_redis_url: redis://redis:6379/2
32
-
33
- # EFS Config
34
- efs_submissions_mount_point: "/tmp/exercism/efs/submissions"
35
- efs_repositories_mount_point: "/tmp/exercism/efs/repos"
36
-
37
- # GitHub Config
38
- github_organization: fake-exercism
39
- github_bot_username: exercism-bot
40
-
41
- # OpenSearch
42
- opensearch_host: https://opensearch:9200
43
-
44
- # Extra things not used in development, but here
45
- # so that this file can provide a reference
46
- aws_attachments_bucket:
47
- aws_attachments_region: