File tree Expand file tree Collapse file tree 3 files changed +23
-37
lines changed Expand file tree Collapse file tree 3 files changed +23
-37
lines changed Original file line number Diff line number Diff line change 1
- # TODO: Uncomment this
2
- # # This workflow prevents TODOs in code
3
- # name: Check TODOs in code
1
+ # This workflow prevents TODOs in code
2
+ name : Check TODOs in code
4
3
5
- # on:
6
- # pull_request:
7
- # push:
8
- # branches:
9
- # - main
4
+ on :
5
+ pull_request :
6
+ push :
7
+ branches :
8
+ - main
10
9
11
- # jobs:
12
- # findTodos:
13
- # runs-on: macos-13
14
- # steps:
15
- # - uses: actions/checkout@v3
10
+ jobs :
11
+ findTodos :
12
+ runs-on : macos-13
13
+ steps :
14
+ - uses : actions/checkout@v3
16
15
17
- # - name: Check TODOs in code
18
- # shell: bash
19
- # # TODOs may be committed as long as the same line contains a link to a Github Issue or refers to a CrypTool SIM.
20
- # run: |
21
- # ALL_TODO_COUNT=$( { grep -r "TODO" . --exclude-dir=./releases --exclude-dir=./TestVectors/runtimes --exclude-dir=./submodules --exclude-dir=./.git --exclude=./.github/workflows/ci_todos.yml || true; } | wc -l)
22
- # GOOD_TODO_COUNT=$( { grep -r "TODO.*\(github.com\/.*issues.*\/[1-9][0-9]*\|CrypTool-[1-9][0-9]*\)" . --exclude-dir=./releases --exclude-dir=./submodules --exclude-dir=./.git --exclude-dir=./TestVectors/runtimes --exclude=./.github/workflows/ci_todos.yml || true; } | wc -l)
23
- # if [ "$ALL_TODO_COUNT" != "$GOOD_TODO_COUNT" ]; then
24
- # exit 1;
25
- # fi
16
+ - name : Check TODOs in code
17
+ shell : bash
18
+ # TODOs may be committed as long as the same line contains a link to a Github Issue or refers to a CrypTool SIM.
19
+ run : |
20
+ ALL_TODO_COUNT=$( { grep -r "TODO" . --exclude-dir=./releases --exclude-dir=./TestVectors/runtimes --exclude-dir=./submodules --exclude-dir=./.git --exclude=./.github/workflows/ci_todos.yml | grep -v "context\.TODO()" || true; } | wc -l)
21
+ GOOD_TODO_COUNT=$( { grep -r "TODO.*\(github.com\/.*issues.*\/[1-9][0-9]*\|CrypTool-[1-9][0-9]*\)" . --exclude-dir=./releases --exclude-dir=./submodules --exclude-dir=./.git --exclude-dir=./TestVectors/runtimes --exclude=./.github/workflows/ci_todos.yml | grep -v "context\.TODO()" || true; } | wc -l)
22
+ if [ "$ALL_TODO_COUNT" != "$GOOD_TODO_COUNT" ]; then
23
+ exit 1;
24
+ fi
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ SERVICE_DEPS_DynamoDbEncryptionTransforms := \
102
102
DynamoDbEncryption/dafny/DynamoDbItemEncryptor
103
103
104
104
# Go
105
- # TODO: Define the name later
105
+ # TODO-Go-ORR : Define the name later https://sim.amazon.com/issues/CrypTool-5444
106
106
# This will probably get changes to */releases/go/* but I will bring this to the team later.
107
107
GO_MODULE_NAME ="github.com/aws/aws-database-encryption-sdk-dynamodb"
108
108
Original file line number Diff line number Diff line change @@ -148,19 +148,6 @@ _sed_types_file_add_extern:
148
148
149
149
_polymorph_go : purge_polymorph_code
150
150
151
- # Smithy-dafny generated shim needs a long term fix.
152
- # TODO: Remove this commands once smithy-dafny is fixed
153
- # This commands does not work on windows
154
- # https://taskei.amazon.dev/tasks/CrypTool-5283
155
- purge_polymorph_code :
156
- find .. -name " shim.go" | xargs sed -i $(SED_PARAMETER ) ' s/(_static \*CompanionStruct_Default___)//g'
157
- rm -rf runtimes/go/ImplementationFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygenerated \
158
- runtimes/go/ImplementationFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygeneratedtypes \
159
- runtimes/go/ImplementationFromDafny-go/WrappedAwsCryptographyDbEncryptionSdkDynamoDbService \
160
- runtimes/go/TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygenerated \
161
- runtimes/go/TestsFromDafny-go/awscryptographydbencryptionsdkdynamodbsmithygeneratedtypes \
162
- runtimes/go/TestsFromDafny-go/WrappedAwsCryptographyDbEncryptionSdkDynamoDbService
163
-
164
151
# Go
165
152
GO_MODULE_NAME ="github.com/aws/aws-database-encryption-sdk-dynamodb/testvectors"
166
153
@@ -213,7 +200,7 @@ _sed_index_file_remove_extern:
213
200
_polymorph_go : purge_polymorph_code
214
201
215
202
# Smithy-dafny generated shim needs a long term fix.
216
- # TODO: Remove this commands once smithy-dafny is fixed
203
+ # TODO: Remove this commands once smithy-dafny is fixed https://sim.amazon.com/issues/CrypTool-5445
217
204
# This commands does not work on windows
218
205
# https://taskei.amazon.dev/tasks/CrypTool-5283
219
206
purge_polymorph_code :
You can’t perform that action at this time.
0 commit comments