Skip to content

Commit 48344d9

Browse files
authored
Merge pull request github#6545 from github/aeisenberg/pack/python
Packaging: Rafactor Python core libraries
2 parents 1daeea5 + e23df94 commit 48344d9

File tree

289 files changed

+63
-29
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+63
-29
lines changed

config/identical-files.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImpl3.qll",
2222
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImpl4.qll",
2323
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImpl5.qll",
24-
"python/ql/src/semmle/python/dataflow/new/internal/DataFlowImpl.qll",
25-
"python/ql/src/semmle/python/dataflow/new/internal/DataFlowImpl2.qll",
26-
"python/ql/src/semmle/python/dataflow/new/internal/DataFlowImpl3.qll",
27-
"python/ql/src/semmle/python/dataflow/new/internal/DataFlowImpl4.qll"
24+
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl.qll",
25+
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl2.qll",
26+
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl3.qll",
27+
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl4.qll"
2828
],
2929
"DataFlow Java/C++/C#/Python Common": [
3030
"java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImplCommon.qll",
3131
"cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImplCommon.qll",
3232
"cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImplCommon.qll",
3333
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImplCommon.qll",
34-
"python/ql/src/semmle/python/dataflow/new/internal/DataFlowImplCommon.qll"
34+
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImplCommon.qll"
3535
],
3636
"TaintTracking::Configuration Java/C++/C#/Python": [
3737
"cpp/ql/lib/semmle/code/cpp/dataflow/internal/tainttracking1/TaintTrackingImpl.qll",
@@ -46,17 +46,17 @@
4646
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/tainttracking5/TaintTrackingImpl.qll",
4747
"java/ql/lib/semmle/code/java/dataflow/internal/tainttracking1/TaintTrackingImpl.qll",
4848
"java/ql/lib/semmle/code/java/dataflow/internal/tainttracking2/TaintTrackingImpl.qll",
49-
"python/ql/src/semmle/python/dataflow/new/internal/tainttracking1/TaintTrackingImpl.qll",
50-
"python/ql/src/semmle/python/dataflow/new/internal/tainttracking2/TaintTrackingImpl.qll",
51-
"python/ql/src/semmle/python/dataflow/new/internal/tainttracking3/TaintTrackingImpl.qll",
52-
"python/ql/src/semmle/python/dataflow/new/internal/tainttracking4/TaintTrackingImpl.qll"
49+
"python/ql/lib/semmle/python/dataflow/new/internal/tainttracking1/TaintTrackingImpl.qll",
50+
"python/ql/lib/semmle/python/dataflow/new/internal/tainttracking2/TaintTrackingImpl.qll",
51+
"python/ql/lib/semmle/python/dataflow/new/internal/tainttracking3/TaintTrackingImpl.qll",
52+
"python/ql/lib/semmle/python/dataflow/new/internal/tainttracking4/TaintTrackingImpl.qll"
5353
],
5454
"DataFlow Java/C++/C#/Python Consistency checks": [
5555
"java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImplConsistency.qll",
5656
"cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImplConsistency.qll",
5757
"cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImplConsistency.qll",
5858
"csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImplConsistency.qll",
59-
"python/ql/src/semmle/python/dataflow/new/internal/DataFlowImplConsistency.qll"
59+
"python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImplConsistency.qll"
6060
],
6161
"DataFlow Java/C# Flow Summaries": [
6262
"java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImpl.qll",
@@ -383,7 +383,7 @@
383383
"csharp/ql/lib/semmle/code/csharp/XML.qll",
384384
"java/ql/lib/semmle/code/xml/XML.qll",
385385
"javascript/ql/src/semmle/javascript/XML.qll",
386-
"python/ql/src/semmle/python/xml/XML.qll"
386+
"python/ql/lib/semmle/python/xml/XML.qll"
387387
],
388388
"DuplicationProblems.inc.qhelp": [
389389
"cpp/ql/src/Metrics/Files/DuplicationProblems.inc.qhelp",
@@ -444,22 +444,22 @@
444444
],
445445
"CryptoAlgorithms Python/JS": [
446446
"javascript/ql/src/semmle/javascript/security/CryptoAlgorithms.qll",
447-
"python/ql/src/semmle/python/concepts/CryptoAlgorithms.qll"
447+
"python/ql/lib/semmle/python/concepts/CryptoAlgorithms.qll"
448448
],
449449
"SensitiveDataHeuristics Python/JS": [
450450
"javascript/ql/src/semmle/javascript/security/internal/SensitiveDataHeuristics.qll",
451-
"python/ql/src/semmle/python/security/internal/SensitiveDataHeuristics.qll"
451+
"python/ql/lib/semmle/python/security/internal/SensitiveDataHeuristics.qll"
452452
],
453453
"ReDoS Util Python/JS": [
454454
"javascript/ql/src/semmle/javascript/security/performance/ReDoSUtil.qll",
455-
"python/ql/src/semmle/python/security/performance/ReDoSUtil.qll"
455+
"python/ql/lib/semmle/python/security/performance/ReDoSUtil.qll"
456456
],
457457
"ReDoS Exponential Python/JS": [
458458
"javascript/ql/src/semmle/javascript/security/performance/ExponentialBackTracking.qll",
459-
"python/ql/src/semmle/python/security/performance/ExponentialBackTracking.qll"
459+
"python/ql/lib/semmle/python/security/performance/ExponentialBackTracking.qll"
460460
],
461461
"ReDoS Polynomial Python/JS": [
462462
"javascript/ql/src/semmle/javascript/security/performance/SuperlinearBackTracking.qll",
463-
"python/ql/src/semmle/python/security/performance/SuperlinearBackTracking.qll"
463+
"python/ql/lib/semmle/python/security/performance/SuperlinearBackTracking.qll"
464464
]
465465
}

misc/legacy-support/python/qlpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name: legacy-libraries-python
22
version: 0.0.0
33
libraryPathDependencies:
4-
- codeql-python
4+
- codeql/python-all

python/ql/examples/qlpack.lock.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
dependencies: {}
3+
compiled: false
4+
lockVersion: 1.0.0

python/ql/examples/qlpack.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
name: codeql-python-examples
1+
name: codeql/python-examples
22
version: 0.0.0
3-
libraryPathDependencies: codeql-python
3+
libraryPathDependencies: codeql/python-all
File renamed without changes.
File renamed without changes.
File renamed without changes.

python/ql/lib/qlpack.lock.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
dependencies: {}
3+
compiled: false
4+
lockVersion: 1.0.0

python/ql/lib/qlpack.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: codeql/python-all
2+
version: 0.0.2
3+
dbscheme: semmlecode.python.dbscheme
4+
extractor: python
5+
library: true
6+
dependencies:
7+
codeql/python-upgrades: ~0.0.2

0 commit comments

Comments
 (0)