Skip to content

Commit ed73875

Browse files
authored
Merge pull request #11747 from adityasharad/tutorial/library-pack
Tutorial: Move QL detective tutorial library into shared `codeql/tutorial` library pack
2 parents 134fbb2 + 9988c19 commit ed73875

File tree

19 files changed

+27
-6662
lines changed

19 files changed

+27
-6662
lines changed

.github/workflows/ruby-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,10 @@ jobs:
115115
- name: Build Query Pack
116116
run: |
117117
rm -rf target/packs
118-
codeql pack create ../shared/ssa --output target/packs
119118
codeql pack create ../misc/suite-helpers --output target/packs
120119
codeql pack create ../shared/regex --output target/packs
120+
codeql pack create ../shared/ssa --output target/packs
121+
codeql pack create ../shared/tutorial --output target/packs
121122
codeql pack create ql/lib --output target/packs
122123
codeql pack create -j0 ql/src --output target/packs --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}"
123124
PACK_FOLDER=$(readlink -f target/packs/codeql/ruby-queries/*)

config/identical-files.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -505,14 +505,6 @@
505505
"python/ql/lib/semmle/python/dataflow/new/internal/TypeTracker.qll",
506506
"ruby/ql/lib/codeql/ruby/typetracking/TypeTracker.qll"
507507
],
508-
"CodeQL Tutorial": [
509-
"cpp/ql/lib/tutorial.qll",
510-
"csharp/ql/lib/tutorial.qll",
511-
"java/ql/lib/tutorial.qll",
512-
"javascript/ql/lib/tutorial.qll",
513-
"python/ql/lib/tutorial.qll",
514-
"ruby/ql/lib/tutorial.qll"
515-
],
516508
"AccessPathSyntax": [
517509
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/AccessPathSyntax.qll",
518510
"go/ql/lib/semmle/go/dataflow/internal/AccessPathSyntax.qll",

cpp/ql/lib/qlpack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ library: true
77
upgrades: upgrades
88
dependencies:
99
codeql/ssa: ${workspace}
10+
codeql/tutorial: ${workspace}

csharp/ql/lib/qlpack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ library: true
77
upgrades: upgrades
88
dependencies:
99
codeql/ssa: ${workspace}
10+
codeql/tutorial: ${workspace}
1011
dataExtensions:
1112
- ext/*.model.yml
1213
- ext/generated/*.model.yml

0 commit comments

Comments
 (0)