diff --git a/python/ql/examples/qlpack.yml b/python/ql/examples/qlpack.yml index bccde7557ee..e126c25f4a3 100644 --- a/python/ql/examples/qlpack.yml +++ b/python/ql/examples/qlpack.yml @@ -1,3 +1,4 @@ -name: codeql-python-examples -version: 0.0.0 -libraryPathDependencies: codeql-python +name: codeql/python-examples +version: 0.0.1 +dependencies: + codeql/python-queries: 0.0.1 diff --git a/python/ql/src/Customizations.qll b/python/ql/lib/Customizations.qll similarity index 100% rename from python/ql/src/Customizations.qll rename to python/ql/lib/Customizations.qll diff --git a/python/ql/src/python.qll b/python/ql/lib/python.qll similarity index 100% rename from python/ql/src/python.qll rename to python/ql/lib/python.qll diff --git a/python/ql/lib/qlpack.lock.yml b/python/ql/lib/qlpack.lock.yml new file mode 100644 index 00000000000..06dd07fc7dc --- /dev/null +++ b/python/ql/lib/qlpack.lock.yml @@ -0,0 +1,4 @@ +--- +dependencies: {} +compiled: false +lockVersion: 1.0.0 diff --git a/python/ql/lib/qlpack.yml b/python/ql/lib/qlpack.yml new file mode 100644 index 00000000000..9ef40e83541 --- /dev/null +++ b/python/ql/lib/qlpack.yml @@ -0,0 +1,7 @@ +name: codeql/python-all +version: 0.0.1 +dbscheme: semmlecode.python.dbscheme +extractor: python +dependencies: + codeql/python-upgrades: 0.0.1 +library: true diff --git a/python/ql/src/semmle/crypto/Crypto.qll b/python/ql/lib/semmle/crypto/Crypto.qll similarity index 100% rename from python/ql/src/semmle/crypto/Crypto.qll rename to python/ql/lib/semmle/crypto/Crypto.qll diff --git a/python/ql/src/semmle/dataflow/SSA.qll b/python/ql/lib/semmle/dataflow/SSA.qll similarity index 100% rename from python/ql/src/semmle/dataflow/SSA.qll rename to python/ql/lib/semmle/dataflow/SSA.qll diff --git a/python/ql/src/semmle/files/FileSystem.qll b/python/ql/lib/semmle/files/FileSystem.qll similarity index 100% rename from python/ql/src/semmle/files/FileSystem.qll rename to python/ql/lib/semmle/files/FileSystem.qll diff --git a/python/ql/src/semmle/python/ApiGraphs.qll b/python/ql/lib/semmle/python/ApiGraphs.qll similarity index 100% rename from python/ql/src/semmle/python/ApiGraphs.qll rename to python/ql/lib/semmle/python/ApiGraphs.qll diff --git a/python/ql/src/semmle/python/AstExtended.qll b/python/ql/lib/semmle/python/AstExtended.qll similarity index 100% rename from python/ql/src/semmle/python/AstExtended.qll rename to python/ql/lib/semmle/python/AstExtended.qll diff --git a/python/ql/src/semmle/python/AstGenerated.qll b/python/ql/lib/semmle/python/AstGenerated.qll similarity index 100% rename from python/ql/src/semmle/python/AstGenerated.qll rename to python/ql/lib/semmle/python/AstGenerated.qll diff --git a/python/ql/src/semmle/python/Class.qll b/python/ql/lib/semmle/python/Class.qll similarity index 100% rename from python/ql/src/semmle/python/Class.qll rename to python/ql/lib/semmle/python/Class.qll diff --git a/python/ql/src/semmle/python/Comment.qll b/python/ql/lib/semmle/python/Comment.qll similarity index 100% rename from python/ql/src/semmle/python/Comment.qll rename to python/ql/lib/semmle/python/Comment.qll diff --git a/python/ql/src/semmle/python/Comparisons.qll b/python/ql/lib/semmle/python/Comparisons.qll similarity index 100% rename from python/ql/src/semmle/python/Comparisons.qll rename to python/ql/lib/semmle/python/Comparisons.qll diff --git a/python/ql/src/semmle/python/Comprehensions.qll b/python/ql/lib/semmle/python/Comprehensions.qll similarity index 100% rename from python/ql/src/semmle/python/Comprehensions.qll rename to python/ql/lib/semmle/python/Comprehensions.qll diff --git a/python/ql/src/semmle/python/Concepts.qll b/python/ql/lib/semmle/python/Concepts.qll similarity index 100% rename from python/ql/src/semmle/python/Concepts.qll rename to python/ql/lib/semmle/python/Concepts.qll diff --git a/python/ql/src/semmle/python/Constants.qll b/python/ql/lib/semmle/python/Constants.qll similarity index 100% rename from python/ql/src/semmle/python/Constants.qll rename to python/ql/lib/semmle/python/Constants.qll diff --git a/python/ql/src/semmle/python/Exprs.qll b/python/ql/lib/semmle/python/Exprs.qll similarity index 100% rename from python/ql/src/semmle/python/Exprs.qll rename to python/ql/lib/semmle/python/Exprs.qll diff --git a/python/ql/src/semmle/python/Files.qll b/python/ql/lib/semmle/python/Files.qll similarity index 100% rename from python/ql/src/semmle/python/Files.qll rename to python/ql/lib/semmle/python/Files.qll diff --git a/python/ql/src/semmle/python/Flow.qll b/python/ql/lib/semmle/python/Flow.qll similarity index 100% rename from python/ql/src/semmle/python/Flow.qll rename to python/ql/lib/semmle/python/Flow.qll diff --git a/python/ql/src/semmle/python/Frameworks.qll b/python/ql/lib/semmle/python/Frameworks.qll similarity index 100% rename from python/ql/src/semmle/python/Frameworks.qll rename to python/ql/lib/semmle/python/Frameworks.qll diff --git a/python/ql/src/semmle/python/Function.qll b/python/ql/lib/semmle/python/Function.qll similarity index 100% rename from python/ql/src/semmle/python/Function.qll rename to python/ql/lib/semmle/python/Function.qll diff --git a/python/ql/src/semmle/python/GuardedControlFlow.qll b/python/ql/lib/semmle/python/GuardedControlFlow.qll similarity index 100% rename from python/ql/src/semmle/python/GuardedControlFlow.qll rename to python/ql/lib/semmle/python/GuardedControlFlow.qll diff --git a/python/ql/src/semmle/python/Import.qll b/python/ql/lib/semmle/python/Import.qll similarity index 100% rename from python/ql/src/semmle/python/Import.qll rename to python/ql/lib/semmle/python/Import.qll diff --git a/python/ql/src/semmle/python/Keywords.qll b/python/ql/lib/semmle/python/Keywords.qll similarity index 100% rename from python/ql/src/semmle/python/Keywords.qll rename to python/ql/lib/semmle/python/Keywords.qll diff --git a/python/ql/src/semmle/python/Metrics.qll b/python/ql/lib/semmle/python/Metrics.qll similarity index 100% rename from python/ql/src/semmle/python/Metrics.qll rename to python/ql/lib/semmle/python/Metrics.qll diff --git a/python/ql/src/semmle/python/Module.qll b/python/ql/lib/semmle/python/Module.qll similarity index 100% rename from python/ql/src/semmle/python/Module.qll rename to python/ql/lib/semmle/python/Module.qll diff --git a/python/ql/src/semmle/python/Operations.qll b/python/ql/lib/semmle/python/Operations.qll similarity index 100% rename from python/ql/src/semmle/python/Operations.qll rename to python/ql/lib/semmle/python/Operations.qll diff --git a/python/ql/src/semmle/python/PrintAst.qll b/python/ql/lib/semmle/python/PrintAst.qll similarity index 100% rename from python/ql/src/semmle/python/PrintAst.qll rename to python/ql/lib/semmle/python/PrintAst.qll diff --git a/python/ql/src/semmle/python/RegexTreeView.qll b/python/ql/lib/semmle/python/RegexTreeView.qll similarity index 100% rename from python/ql/src/semmle/python/RegexTreeView.qll rename to python/ql/lib/semmle/python/RegexTreeView.qll diff --git a/python/ql/src/semmle/python/SSA.qll b/python/ql/lib/semmle/python/SSA.qll similarity index 100% rename from python/ql/src/semmle/python/SSA.qll rename to python/ql/lib/semmle/python/SSA.qll diff --git a/python/ql/src/semmle/python/Scope.qll b/python/ql/lib/semmle/python/Scope.qll similarity index 100% rename from python/ql/src/semmle/python/Scope.qll rename to python/ql/lib/semmle/python/Scope.qll diff --git a/python/ql/src/semmle/python/SelfAttribute.qll b/python/ql/lib/semmle/python/SelfAttribute.qll similarity index 100% rename from python/ql/src/semmle/python/SelfAttribute.qll rename to python/ql/lib/semmle/python/SelfAttribute.qll diff --git a/python/ql/src/semmle/python/SpecialMethods.qll b/python/ql/lib/semmle/python/SpecialMethods.qll similarity index 100% rename from python/ql/src/semmle/python/SpecialMethods.qll rename to python/ql/lib/semmle/python/SpecialMethods.qll diff --git a/python/ql/src/semmle/python/Stmts.qll b/python/ql/lib/semmle/python/Stmts.qll similarity index 100% rename from python/ql/src/semmle/python/Stmts.qll rename to python/ql/lib/semmle/python/Stmts.qll diff --git a/python/ql/src/semmle/python/TestUtils.qll b/python/ql/lib/semmle/python/TestUtils.qll similarity index 100% rename from python/ql/src/semmle/python/TestUtils.qll rename to python/ql/lib/semmle/python/TestUtils.qll diff --git a/python/ql/src/semmle/python/Unit.qll b/python/ql/lib/semmle/python/Unit.qll similarity index 100% rename from python/ql/src/semmle/python/Unit.qll rename to python/ql/lib/semmle/python/Unit.qll diff --git a/python/ql/src/semmle/python/Variables.qll b/python/ql/lib/semmle/python/Variables.qll similarity index 100% rename from python/ql/src/semmle/python/Variables.qll rename to python/ql/lib/semmle/python/Variables.qll diff --git a/python/ql/src/semmle/python/concepts/CryptoAlgorithms.qll b/python/ql/lib/semmle/python/concepts/CryptoAlgorithms.qll similarity index 100% rename from python/ql/src/semmle/python/concepts/CryptoAlgorithms.qll rename to python/ql/lib/semmle/python/concepts/CryptoAlgorithms.qll diff --git a/python/ql/src/semmle/python/dataflow/Configuration.qll b/python/ql/lib/semmle/python/dataflow/Configuration.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/Configuration.qll rename to python/ql/lib/semmle/python/dataflow/Configuration.qll diff --git a/python/ql/src/semmle/python/dataflow/DataFlow.qll b/python/ql/lib/semmle/python/dataflow/DataFlow.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/DataFlow.qll rename to python/ql/lib/semmle/python/dataflow/DataFlow.qll diff --git a/python/ql/src/semmle/python/dataflow/Files.qll b/python/ql/lib/semmle/python/dataflow/Files.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/Files.qll rename to python/ql/lib/semmle/python/dataflow/Files.qll diff --git a/python/ql/src/semmle/python/dataflow/Implementation.qll b/python/ql/lib/semmle/python/dataflow/Implementation.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/Implementation.qll rename to python/ql/lib/semmle/python/dataflow/Implementation.qll diff --git a/python/ql/src/semmle/python/dataflow/Legacy.qll b/python/ql/lib/semmle/python/dataflow/Legacy.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/Legacy.qll rename to python/ql/lib/semmle/python/dataflow/Legacy.qll diff --git a/python/ql/src/semmle/python/dataflow/StateTracking.qll b/python/ql/lib/semmle/python/dataflow/StateTracking.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/StateTracking.qll rename to python/ql/lib/semmle/python/dataflow/StateTracking.qll diff --git a/python/ql/src/semmle/python/dataflow/TaintTracking.qll b/python/ql/lib/semmle/python/dataflow/TaintTracking.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/TaintTracking.qll rename to python/ql/lib/semmle/python/dataflow/TaintTracking.qll diff --git a/python/ql/src/semmle/python/dataflow/new/BarrierGuards.qll b/python/ql/lib/semmle/python/dataflow/new/BarrierGuards.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/BarrierGuards.qll rename to python/ql/lib/semmle/python/dataflow/new/BarrierGuards.qll diff --git a/python/ql/src/semmle/python/dataflow/new/DataFlow.qll b/python/ql/lib/semmle/python/dataflow/new/DataFlow.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/DataFlow.qll rename to python/ql/lib/semmle/python/dataflow/new/DataFlow.qll diff --git a/python/ql/src/semmle/python/dataflow/new/DataFlow2.qll b/python/ql/lib/semmle/python/dataflow/new/DataFlow2.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/DataFlow2.qll rename to python/ql/lib/semmle/python/dataflow/new/DataFlow2.qll diff --git a/python/ql/src/semmle/python/dataflow/new/DataFlow3.qll b/python/ql/lib/semmle/python/dataflow/new/DataFlow3.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/DataFlow3.qll rename to python/ql/lib/semmle/python/dataflow/new/DataFlow3.qll diff --git a/python/ql/src/semmle/python/dataflow/new/DataFlow4.qll b/python/ql/lib/semmle/python/dataflow/new/DataFlow4.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/DataFlow4.qll rename to python/ql/lib/semmle/python/dataflow/new/DataFlow4.qll diff --git a/python/ql/src/semmle/python/dataflow/new/RemoteFlowSources.qll b/python/ql/lib/semmle/python/dataflow/new/RemoteFlowSources.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/RemoteFlowSources.qll rename to python/ql/lib/semmle/python/dataflow/new/RemoteFlowSources.qll diff --git a/python/ql/src/semmle/python/dataflow/new/SensitiveDataSources.qll b/python/ql/lib/semmle/python/dataflow/new/SensitiveDataSources.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/SensitiveDataSources.qll rename to python/ql/lib/semmle/python/dataflow/new/SensitiveDataSources.qll diff --git a/python/ql/src/semmle/python/dataflow/new/TaintTracking.qll b/python/ql/lib/semmle/python/dataflow/new/TaintTracking.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/TaintTracking.qll rename to python/ql/lib/semmle/python/dataflow/new/TaintTracking.qll diff --git a/python/ql/src/semmle/python/dataflow/new/TaintTracking2.qll b/python/ql/lib/semmle/python/dataflow/new/TaintTracking2.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/TaintTracking2.qll rename to python/ql/lib/semmle/python/dataflow/new/TaintTracking2.qll diff --git a/python/ql/src/semmle/python/dataflow/new/TaintTracking3.qll b/python/ql/lib/semmle/python/dataflow/new/TaintTracking3.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/TaintTracking3.qll rename to python/ql/lib/semmle/python/dataflow/new/TaintTracking3.qll diff --git a/python/ql/src/semmle/python/dataflow/new/TaintTracking4.qll b/python/ql/lib/semmle/python/dataflow/new/TaintTracking4.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/TaintTracking4.qll rename to python/ql/lib/semmle/python/dataflow/new/TaintTracking4.qll diff --git a/python/ql/src/semmle/python/dataflow/new/TypeTracker.qll b/python/ql/lib/semmle/python/dataflow/new/TypeTracker.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/TypeTracker.qll rename to python/ql/lib/semmle/python/dataflow/new/TypeTracker.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/Attributes.qll b/python/ql/lib/semmle/python/dataflow/new/internal/Attributes.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/Attributes.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/Attributes.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/DataFlowImpl.qll b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/DataFlowImpl.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/DataFlowImpl2.qll b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl2.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/DataFlowImpl2.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl2.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/DataFlowImpl3.qll b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl3.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/DataFlowImpl3.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl3.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/DataFlowImpl4.qll b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl4.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/DataFlowImpl4.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl4.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/DataFlowImplCommon.qll b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImplCommon.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/DataFlowImplCommon.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImplCommon.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/DataFlowImplConsistency.qll b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImplConsistency.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/DataFlowImplConsistency.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImplConsistency.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/DataFlowImplSpecific.qll b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImplSpecific.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/DataFlowImplSpecific.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImplSpecific.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/DataFlowPrivate.qll b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/DataFlowPrivate.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/DataFlowPublic.qll b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPublic.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/DataFlowPublic.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPublic.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/DataFlowUtil.qll b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowUtil.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/DataFlowUtil.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/DataFlowUtil.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/LocalSources.qll b/python/ql/lib/semmle/python/dataflow/new/internal/LocalSources.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/LocalSources.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/LocalSources.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/TaintTrackingPrivate.qll b/python/ql/lib/semmle/python/dataflow/new/internal/TaintTrackingPrivate.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/TaintTrackingPrivate.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/TaintTrackingPrivate.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/TaintTrackingPublic.qll b/python/ql/lib/semmle/python/dataflow/new/internal/TaintTrackingPublic.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/TaintTrackingPublic.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/TaintTrackingPublic.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/TypeTracker.qll b/python/ql/lib/semmle/python/dataflow/new/internal/TypeTracker.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/TypeTracker.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/TypeTracker.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/TypeTrackerSpecific.qll b/python/ql/lib/semmle/python/dataflow/new/internal/TypeTrackerSpecific.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/TypeTrackerSpecific.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/TypeTrackerSpecific.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/readme.md b/python/ql/lib/semmle/python/dataflow/new/internal/readme.md similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/readme.md rename to python/ql/lib/semmle/python/dataflow/new/internal/readme.md diff --git a/python/ql/src/semmle/python/dataflow/new/internal/tainttracking1/TaintTrackingImpl.qll b/python/ql/lib/semmle/python/dataflow/new/internal/tainttracking1/TaintTrackingImpl.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/tainttracking1/TaintTrackingImpl.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/tainttracking1/TaintTrackingImpl.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/tainttracking1/TaintTrackingParameter.qll b/python/ql/lib/semmle/python/dataflow/new/internal/tainttracking1/TaintTrackingParameter.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/tainttracking1/TaintTrackingParameter.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/tainttracking1/TaintTrackingParameter.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/tainttracking2/TaintTrackingImpl.qll b/python/ql/lib/semmle/python/dataflow/new/internal/tainttracking2/TaintTrackingImpl.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/tainttracking2/TaintTrackingImpl.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/tainttracking2/TaintTrackingImpl.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/tainttracking2/TaintTrackingParameter.qll b/python/ql/lib/semmle/python/dataflow/new/internal/tainttracking2/TaintTrackingParameter.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/tainttracking2/TaintTrackingParameter.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/tainttracking2/TaintTrackingParameter.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/tainttracking3/TaintTrackingImpl.qll b/python/ql/lib/semmle/python/dataflow/new/internal/tainttracking3/TaintTrackingImpl.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/tainttracking3/TaintTrackingImpl.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/tainttracking3/TaintTrackingImpl.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/tainttracking3/TaintTrackingParameter.qll b/python/ql/lib/semmle/python/dataflow/new/internal/tainttracking3/TaintTrackingParameter.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/tainttracking3/TaintTrackingParameter.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/tainttracking3/TaintTrackingParameter.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/tainttracking4/TaintTrackingImpl.qll b/python/ql/lib/semmle/python/dataflow/new/internal/tainttracking4/TaintTrackingImpl.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/tainttracking4/TaintTrackingImpl.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/tainttracking4/TaintTrackingImpl.qll diff --git a/python/ql/src/semmle/python/dataflow/new/internal/tainttracking4/TaintTrackingParameter.qll b/python/ql/lib/semmle/python/dataflow/new/internal/tainttracking4/TaintTrackingParameter.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/new/internal/tainttracking4/TaintTrackingParameter.qll rename to python/ql/lib/semmle/python/dataflow/new/internal/tainttracking4/TaintTrackingParameter.qll diff --git a/python/ql/src/semmle/python/dataflow/old/Configuration.qll b/python/ql/lib/semmle/python/dataflow/old/Configuration.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/old/Configuration.qll rename to python/ql/lib/semmle/python/dataflow/old/Configuration.qll diff --git a/python/ql/src/semmle/python/dataflow/old/DataFlow.qll b/python/ql/lib/semmle/python/dataflow/old/DataFlow.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/old/DataFlow.qll rename to python/ql/lib/semmle/python/dataflow/old/DataFlow.qll diff --git a/python/ql/src/semmle/python/dataflow/old/Files.qll b/python/ql/lib/semmle/python/dataflow/old/Files.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/old/Files.qll rename to python/ql/lib/semmle/python/dataflow/old/Files.qll diff --git a/python/ql/src/semmle/python/dataflow/old/Implementation.qll b/python/ql/lib/semmle/python/dataflow/old/Implementation.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/old/Implementation.qll rename to python/ql/lib/semmle/python/dataflow/old/Implementation.qll diff --git a/python/ql/src/semmle/python/dataflow/old/Legacy.qll b/python/ql/lib/semmle/python/dataflow/old/Legacy.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/old/Legacy.qll rename to python/ql/lib/semmle/python/dataflow/old/Legacy.qll diff --git a/python/ql/src/semmle/python/dataflow/old/StateTracking.qll b/python/ql/lib/semmle/python/dataflow/old/StateTracking.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/old/StateTracking.qll rename to python/ql/lib/semmle/python/dataflow/old/StateTracking.qll diff --git a/python/ql/src/semmle/python/dataflow/old/TaintTracking.qll b/python/ql/lib/semmle/python/dataflow/old/TaintTracking.qll similarity index 100% rename from python/ql/src/semmle/python/dataflow/old/TaintTracking.qll rename to python/ql/lib/semmle/python/dataflow/old/TaintTracking.qll diff --git a/python/ql/src/semmle/python/dependencies/Dependencies.qll b/python/ql/lib/semmle/python/dependencies/Dependencies.qll similarity index 100% rename from python/ql/src/semmle/python/dependencies/Dependencies.qll rename to python/ql/lib/semmle/python/dependencies/Dependencies.qll diff --git a/python/ql/src/semmle/python/dependencies/DependencyKind.qll b/python/ql/lib/semmle/python/dependencies/DependencyKind.qll similarity index 100% rename from python/ql/src/semmle/python/dependencies/DependencyKind.qll rename to python/ql/lib/semmle/python/dependencies/DependencyKind.qll diff --git a/python/ql/src/semmle/python/dependencies/TechInventory.qll b/python/ql/lib/semmle/python/dependencies/TechInventory.qll similarity index 100% rename from python/ql/src/semmle/python/dependencies/TechInventory.qll rename to python/ql/lib/semmle/python/dependencies/TechInventory.qll diff --git a/python/ql/src/semmle/python/essa/Definitions.qll b/python/ql/lib/semmle/python/essa/Definitions.qll similarity index 100% rename from python/ql/src/semmle/python/essa/Definitions.qll rename to python/ql/lib/semmle/python/essa/Definitions.qll diff --git a/python/ql/src/semmle/python/essa/Essa.qll b/python/ql/lib/semmle/python/essa/Essa.qll similarity index 100% rename from python/ql/src/semmle/python/essa/Essa.qll rename to python/ql/lib/semmle/python/essa/Essa.qll diff --git a/python/ql/src/semmle/python/essa/SsaCompute.qll b/python/ql/lib/semmle/python/essa/SsaCompute.qll similarity index 100% rename from python/ql/src/semmle/python/essa/SsaCompute.qll rename to python/ql/lib/semmle/python/essa/SsaCompute.qll diff --git a/python/ql/src/semmle/python/essa/SsaDefinitions.qll b/python/ql/lib/semmle/python/essa/SsaDefinitions.qll similarity index 100% rename from python/ql/src/semmle/python/essa/SsaDefinitions.qll rename to python/ql/lib/semmle/python/essa/SsaDefinitions.qll diff --git a/python/ql/src/semmle/python/filters/GeneratedCode.qll b/python/ql/lib/semmle/python/filters/GeneratedCode.qll similarity index 100% rename from python/ql/src/semmle/python/filters/GeneratedCode.qll rename to python/ql/lib/semmle/python/filters/GeneratedCode.qll diff --git a/python/ql/src/semmle/python/filters/Tests.qll b/python/ql/lib/semmle/python/filters/Tests.qll similarity index 100% rename from python/ql/src/semmle/python/filters/Tests.qll rename to python/ql/lib/semmle/python/filters/Tests.qll diff --git a/python/ql/src/semmle/python/frameworks/Aioch.qll b/python/ql/lib/semmle/python/frameworks/Aioch.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Aioch.qll rename to python/ql/lib/semmle/python/frameworks/Aioch.qll diff --git a/python/ql/src/semmle/python/frameworks/Aiohttp.qll b/python/ql/lib/semmle/python/frameworks/Aiohttp.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Aiohttp.qll rename to python/ql/lib/semmle/python/frameworks/Aiohttp.qll diff --git a/python/ql/src/semmle/python/frameworks/ClickhouseDriver.qll b/python/ql/lib/semmle/python/frameworks/ClickhouseDriver.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/ClickhouseDriver.qll rename to python/ql/lib/semmle/python/frameworks/ClickhouseDriver.qll diff --git a/python/ql/src/semmle/python/frameworks/Cryptodome.qll b/python/ql/lib/semmle/python/frameworks/Cryptodome.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Cryptodome.qll rename to python/ql/lib/semmle/python/frameworks/Cryptodome.qll diff --git a/python/ql/src/semmle/python/frameworks/Cryptography.qll b/python/ql/lib/semmle/python/frameworks/Cryptography.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Cryptography.qll rename to python/ql/lib/semmle/python/frameworks/Cryptography.qll diff --git a/python/ql/src/semmle/python/frameworks/Dill.qll b/python/ql/lib/semmle/python/frameworks/Dill.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Dill.qll rename to python/ql/lib/semmle/python/frameworks/Dill.qll diff --git a/python/ql/src/semmle/python/frameworks/Django.qll b/python/ql/lib/semmle/python/frameworks/Django.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Django.qll rename to python/ql/lib/semmle/python/frameworks/Django.qll diff --git a/python/ql/src/semmle/python/frameworks/Fabric.qll b/python/ql/lib/semmle/python/frameworks/Fabric.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Fabric.qll rename to python/ql/lib/semmle/python/frameworks/Fabric.qll diff --git a/python/ql/src/semmle/python/frameworks/Flask.qll b/python/ql/lib/semmle/python/frameworks/Flask.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Flask.qll rename to python/ql/lib/semmle/python/frameworks/Flask.qll diff --git a/python/ql/src/semmle/python/frameworks/Idna.qll b/python/ql/lib/semmle/python/frameworks/Idna.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Idna.qll rename to python/ql/lib/semmle/python/frameworks/Idna.qll diff --git a/python/ql/src/semmle/python/frameworks/Invoke.qll b/python/ql/lib/semmle/python/frameworks/Invoke.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Invoke.qll rename to python/ql/lib/semmle/python/frameworks/Invoke.qll diff --git a/python/ql/src/semmle/python/frameworks/Jmespath.qll b/python/ql/lib/semmle/python/frameworks/Jmespath.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Jmespath.qll rename to python/ql/lib/semmle/python/frameworks/Jmespath.qll diff --git a/python/ql/src/semmle/python/frameworks/MarkupSafe.qll b/python/ql/lib/semmle/python/frameworks/MarkupSafe.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/MarkupSafe.qll rename to python/ql/lib/semmle/python/frameworks/MarkupSafe.qll diff --git a/python/ql/src/semmle/python/frameworks/Multidict.qll b/python/ql/lib/semmle/python/frameworks/Multidict.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Multidict.qll rename to python/ql/lib/semmle/python/frameworks/Multidict.qll diff --git a/python/ql/src/semmle/python/frameworks/MySQLdb.qll b/python/ql/lib/semmle/python/frameworks/MySQLdb.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/MySQLdb.qll rename to python/ql/lib/semmle/python/frameworks/MySQLdb.qll diff --git a/python/ql/src/semmle/python/frameworks/Mysql.qll b/python/ql/lib/semmle/python/frameworks/Mysql.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Mysql.qll rename to python/ql/lib/semmle/python/frameworks/Mysql.qll diff --git a/python/ql/src/semmle/python/frameworks/PEP249.qll b/python/ql/lib/semmle/python/frameworks/PEP249.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/PEP249.qll rename to python/ql/lib/semmle/python/frameworks/PEP249.qll diff --git a/python/ql/src/semmle/python/frameworks/Psycopg2.qll b/python/ql/lib/semmle/python/frameworks/Psycopg2.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Psycopg2.qll rename to python/ql/lib/semmle/python/frameworks/Psycopg2.qll diff --git a/python/ql/src/semmle/python/frameworks/PyMySQL.qll b/python/ql/lib/semmle/python/frameworks/PyMySQL.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/PyMySQL.qll rename to python/ql/lib/semmle/python/frameworks/PyMySQL.qll diff --git a/python/ql/src/semmle/python/frameworks/Rsa.qll b/python/ql/lib/semmle/python/frameworks/Rsa.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Rsa.qll rename to python/ql/lib/semmle/python/frameworks/Rsa.qll diff --git a/python/ql/src/semmle/python/frameworks/Simplejson.qll b/python/ql/lib/semmle/python/frameworks/Simplejson.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Simplejson.qll rename to python/ql/lib/semmle/python/frameworks/Simplejson.qll diff --git a/python/ql/src/semmle/python/frameworks/Stdlib.qll b/python/ql/lib/semmle/python/frameworks/Stdlib.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Stdlib.qll rename to python/ql/lib/semmle/python/frameworks/Stdlib.qll diff --git a/python/ql/src/semmle/python/frameworks/Tornado.qll b/python/ql/lib/semmle/python/frameworks/Tornado.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Tornado.qll rename to python/ql/lib/semmle/python/frameworks/Tornado.qll diff --git a/python/ql/src/semmle/python/frameworks/Twisted.qll b/python/ql/lib/semmle/python/frameworks/Twisted.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Twisted.qll rename to python/ql/lib/semmle/python/frameworks/Twisted.qll diff --git a/python/ql/src/semmle/python/frameworks/Ujson.qll b/python/ql/lib/semmle/python/frameworks/Ujson.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Ujson.qll rename to python/ql/lib/semmle/python/frameworks/Ujson.qll diff --git a/python/ql/src/semmle/python/frameworks/Werkzeug.qll b/python/ql/lib/semmle/python/frameworks/Werkzeug.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Werkzeug.qll rename to python/ql/lib/semmle/python/frameworks/Werkzeug.qll diff --git a/python/ql/src/semmle/python/frameworks/Yaml.qll b/python/ql/lib/semmle/python/frameworks/Yaml.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Yaml.qll rename to python/ql/lib/semmle/python/frameworks/Yaml.qll diff --git a/python/ql/src/semmle/python/frameworks/Yarl.qll b/python/ql/lib/semmle/python/frameworks/Yarl.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/Yarl.qll rename to python/ql/lib/semmle/python/frameworks/Yarl.qll diff --git a/python/ql/src/semmle/python/frameworks/internal/PoorMansFunctionResolution.qll b/python/ql/lib/semmle/python/frameworks/internal/PoorMansFunctionResolution.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/internal/PoorMansFunctionResolution.qll rename to python/ql/lib/semmle/python/frameworks/internal/PoorMansFunctionResolution.qll diff --git a/python/ql/src/semmle/python/frameworks/internal/SelfRefMixin.qll b/python/ql/lib/semmle/python/frameworks/internal/SelfRefMixin.qll similarity index 100% rename from python/ql/src/semmle/python/frameworks/internal/SelfRefMixin.qll rename to python/ql/lib/semmle/python/frameworks/internal/SelfRefMixin.qll diff --git a/python/ql/src/semmle/python/libraries/Zope.qll b/python/ql/lib/semmle/python/libraries/Zope.qll similarity index 100% rename from python/ql/src/semmle/python/libraries/Zope.qll rename to python/ql/lib/semmle/python/libraries/Zope.qll diff --git a/python/ql/src/semmle/python/objects/Callables.qll b/python/ql/lib/semmle/python/objects/Callables.qll similarity index 100% rename from python/ql/src/semmle/python/objects/Callables.qll rename to python/ql/lib/semmle/python/objects/Callables.qll diff --git a/python/ql/src/semmle/python/objects/Classes.qll b/python/ql/lib/semmle/python/objects/Classes.qll similarity index 100% rename from python/ql/src/semmle/python/objects/Classes.qll rename to python/ql/lib/semmle/python/objects/Classes.qll diff --git a/python/ql/src/semmle/python/objects/Constants.qll b/python/ql/lib/semmle/python/objects/Constants.qll similarity index 100% rename from python/ql/src/semmle/python/objects/Constants.qll rename to python/ql/lib/semmle/python/objects/Constants.qll diff --git a/python/ql/src/semmle/python/objects/Descriptors.qll b/python/ql/lib/semmle/python/objects/Descriptors.qll similarity index 100% rename from python/ql/src/semmle/python/objects/Descriptors.qll rename to python/ql/lib/semmle/python/objects/Descriptors.qll diff --git a/python/ql/src/semmle/python/objects/Instances.qll b/python/ql/lib/semmle/python/objects/Instances.qll similarity index 100% rename from python/ql/src/semmle/python/objects/Instances.qll rename to python/ql/lib/semmle/python/objects/Instances.qll diff --git a/python/ql/src/semmle/python/objects/Modules.qll b/python/ql/lib/semmle/python/objects/Modules.qll similarity index 100% rename from python/ql/src/semmle/python/objects/Modules.qll rename to python/ql/lib/semmle/python/objects/Modules.qll diff --git a/python/ql/src/semmle/python/objects/ObjectAPI.qll b/python/ql/lib/semmle/python/objects/ObjectAPI.qll similarity index 100% rename from python/ql/src/semmle/python/objects/ObjectAPI.qll rename to python/ql/lib/semmle/python/objects/ObjectAPI.qll diff --git a/python/ql/src/semmle/python/objects/ObjectInternal.qll b/python/ql/lib/semmle/python/objects/ObjectInternal.qll similarity index 100% rename from python/ql/src/semmle/python/objects/ObjectInternal.qll rename to python/ql/lib/semmle/python/objects/ObjectInternal.qll diff --git a/python/ql/src/semmle/python/objects/ObjectModel.md b/python/ql/lib/semmle/python/objects/ObjectModel.md similarity index 100% rename from python/ql/src/semmle/python/objects/ObjectModel.md rename to python/ql/lib/semmle/python/objects/ObjectModel.md diff --git a/python/ql/src/semmle/python/objects/Sequences.qll b/python/ql/lib/semmle/python/objects/Sequences.qll similarity index 100% rename from python/ql/src/semmle/python/objects/Sequences.qll rename to python/ql/lib/semmle/python/objects/Sequences.qll diff --git a/python/ql/src/semmle/python/objects/TObject.qll b/python/ql/lib/semmle/python/objects/TObject.qll similarity index 100% rename from python/ql/src/semmle/python/objects/TObject.qll rename to python/ql/lib/semmle/python/objects/TObject.qll diff --git a/python/ql/src/semmle/python/pointsto/Base.qll b/python/ql/lib/semmle/python/pointsto/Base.qll similarity index 100% rename from python/ql/src/semmle/python/pointsto/Base.qll rename to python/ql/lib/semmle/python/pointsto/Base.qll diff --git a/python/ql/src/semmle/python/pointsto/CallGraph.qll b/python/ql/lib/semmle/python/pointsto/CallGraph.qll similarity index 100% rename from python/ql/src/semmle/python/pointsto/CallGraph.qll rename to python/ql/lib/semmle/python/pointsto/CallGraph.qll diff --git a/python/ql/src/semmle/python/pointsto/Context.qll b/python/ql/lib/semmle/python/pointsto/Context.qll similarity index 100% rename from python/ql/src/semmle/python/pointsto/Context.qll rename to python/ql/lib/semmle/python/pointsto/Context.qll diff --git a/python/ql/src/semmle/python/pointsto/Filters.qll b/python/ql/lib/semmle/python/pointsto/Filters.qll similarity index 100% rename from python/ql/src/semmle/python/pointsto/Filters.qll rename to python/ql/lib/semmle/python/pointsto/Filters.qll diff --git a/python/ql/src/semmle/python/pointsto/Final.qll b/python/ql/lib/semmle/python/pointsto/Final.qll similarity index 100% rename from python/ql/src/semmle/python/pointsto/Final.qll rename to python/ql/lib/semmle/python/pointsto/Final.qll diff --git a/python/ql/src/semmle/python/pointsto/MRO.qll b/python/ql/lib/semmle/python/pointsto/MRO.qll similarity index 100% rename from python/ql/src/semmle/python/pointsto/MRO.qll rename to python/ql/lib/semmle/python/pointsto/MRO.qll diff --git a/python/ql/src/semmle/python/pointsto/Overview.qll b/python/ql/lib/semmle/python/pointsto/Overview.qll similarity index 100% rename from python/ql/src/semmle/python/pointsto/Overview.qll rename to python/ql/lib/semmle/python/pointsto/Overview.qll diff --git a/python/ql/src/semmle/python/pointsto/PointsTo.qll b/python/ql/lib/semmle/python/pointsto/PointsTo.qll similarity index 100% rename from python/ql/src/semmle/python/pointsto/PointsTo.qll rename to python/ql/lib/semmle/python/pointsto/PointsTo.qll diff --git a/python/ql/src/semmle/python/pointsto/PointsToContext.qll b/python/ql/lib/semmle/python/pointsto/PointsToContext.qll similarity index 100% rename from python/ql/src/semmle/python/pointsto/PointsToContext.qll rename to python/ql/lib/semmle/python/pointsto/PointsToContext.qll diff --git a/python/ql/src/semmle/python/protocols.qll b/python/ql/lib/semmle/python/protocols.qll similarity index 100% rename from python/ql/src/semmle/python/protocols.qll rename to python/ql/lib/semmle/python/protocols.qll diff --git a/python/ql/src/semmle/python/regex.qll b/python/ql/lib/semmle/python/regex.qll similarity index 100% rename from python/ql/src/semmle/python/regex.qll rename to python/ql/lib/semmle/python/regex.qll diff --git a/python/ql/src/semmle/python/security/ClearText.qll b/python/ql/lib/semmle/python/security/ClearText.qll similarity index 100% rename from python/ql/src/semmle/python/security/ClearText.qll rename to python/ql/lib/semmle/python/security/ClearText.qll diff --git a/python/ql/src/semmle/python/security/Crypto.qll b/python/ql/lib/semmle/python/security/Crypto.qll similarity index 100% rename from python/ql/src/semmle/python/security/Crypto.qll rename to python/ql/lib/semmle/python/security/Crypto.qll diff --git a/python/ql/src/semmle/python/security/Exceptions.qll b/python/ql/lib/semmle/python/security/Exceptions.qll similarity index 100% rename from python/ql/src/semmle/python/security/Exceptions.qll rename to python/ql/lib/semmle/python/security/Exceptions.qll diff --git a/python/ql/src/semmle/python/security/Paths.qll b/python/ql/lib/semmle/python/security/Paths.qll similarity index 100% rename from python/ql/src/semmle/python/security/Paths.qll rename to python/ql/lib/semmle/python/security/Paths.qll diff --git a/python/ql/src/semmle/python/security/README.md b/python/ql/lib/semmle/python/security/README.md similarity index 100% rename from python/ql/src/semmle/python/security/README.md rename to python/ql/lib/semmle/python/security/README.md diff --git a/python/ql/src/semmle/python/security/SQL.qll b/python/ql/lib/semmle/python/security/SQL.qll similarity index 100% rename from python/ql/src/semmle/python/security/SQL.qll rename to python/ql/lib/semmle/python/security/SQL.qll diff --git a/python/ql/src/semmle/python/security/SensitiveData.qll b/python/ql/lib/semmle/python/security/SensitiveData.qll similarity index 100% rename from python/ql/src/semmle/python/security/SensitiveData.qll rename to python/ql/lib/semmle/python/security/SensitiveData.qll diff --git a/python/ql/src/semmle/python/security/TaintTracking.qll b/python/ql/lib/semmle/python/security/TaintTracking.qll similarity index 100% rename from python/ql/src/semmle/python/security/TaintTracking.qll rename to python/ql/lib/semmle/python/security/TaintTracking.qll diff --git a/python/ql/src/semmle/python/security/dataflow/ChainedConfigs12.qll b/python/ql/lib/semmle/python/security/dataflow/ChainedConfigs12.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/ChainedConfigs12.qll rename to python/ql/lib/semmle/python/security/dataflow/ChainedConfigs12.qll diff --git a/python/ql/src/semmle/python/security/dataflow/CleartextLogging.qll b/python/ql/lib/semmle/python/security/dataflow/CleartextLogging.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/CleartextLogging.qll rename to python/ql/lib/semmle/python/security/dataflow/CleartextLogging.qll diff --git a/python/ql/src/semmle/python/security/dataflow/CleartextLoggingCustomizations.qll b/python/ql/lib/semmle/python/security/dataflow/CleartextLoggingCustomizations.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/CleartextLoggingCustomizations.qll rename to python/ql/lib/semmle/python/security/dataflow/CleartextLoggingCustomizations.qll diff --git a/python/ql/src/semmle/python/security/dataflow/CleartextStorage.qll b/python/ql/lib/semmle/python/security/dataflow/CleartextStorage.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/CleartextStorage.qll rename to python/ql/lib/semmle/python/security/dataflow/CleartextStorage.qll diff --git a/python/ql/src/semmle/python/security/dataflow/CleartextStorageCustomizations.qll b/python/ql/lib/semmle/python/security/dataflow/CleartextStorageCustomizations.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/CleartextStorageCustomizations.qll rename to python/ql/lib/semmle/python/security/dataflow/CleartextStorageCustomizations.qll diff --git a/python/ql/src/semmle/python/security/dataflow/CodeInjection.qll b/python/ql/lib/semmle/python/security/dataflow/CodeInjection.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/CodeInjection.qll rename to python/ql/lib/semmle/python/security/dataflow/CodeInjection.qll diff --git a/python/ql/src/semmle/python/security/dataflow/CodeInjectionCustomizations.qll b/python/ql/lib/semmle/python/security/dataflow/CodeInjectionCustomizations.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/CodeInjectionCustomizations.qll rename to python/ql/lib/semmle/python/security/dataflow/CodeInjectionCustomizations.qll diff --git a/python/ql/src/semmle/python/security/dataflow/CommandInjection.qll b/python/ql/lib/semmle/python/security/dataflow/CommandInjection.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/CommandInjection.qll rename to python/ql/lib/semmle/python/security/dataflow/CommandInjection.qll diff --git a/python/ql/src/semmle/python/security/dataflow/CommandInjectionCustomizations.qll b/python/ql/lib/semmle/python/security/dataflow/CommandInjectionCustomizations.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/CommandInjectionCustomizations.qll rename to python/ql/lib/semmle/python/security/dataflow/CommandInjectionCustomizations.qll diff --git a/python/ql/src/semmle/python/security/dataflow/ExceptionInfo.qll b/python/ql/lib/semmle/python/security/dataflow/ExceptionInfo.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/ExceptionInfo.qll rename to python/ql/lib/semmle/python/security/dataflow/ExceptionInfo.qll diff --git a/python/ql/src/semmle/python/security/dataflow/PathInjection.qll b/python/ql/lib/semmle/python/security/dataflow/PathInjection.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/PathInjection.qll rename to python/ql/lib/semmle/python/security/dataflow/PathInjection.qll diff --git a/python/ql/src/semmle/python/security/dataflow/PathInjectionCustomizations.qll b/python/ql/lib/semmle/python/security/dataflow/PathInjectionCustomizations.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/PathInjectionCustomizations.qll rename to python/ql/lib/semmle/python/security/dataflow/PathInjectionCustomizations.qll diff --git a/python/ql/src/semmle/python/security/dataflow/PolynomialReDoS.qll b/python/ql/lib/semmle/python/security/dataflow/PolynomialReDoS.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/PolynomialReDoS.qll rename to python/ql/lib/semmle/python/security/dataflow/PolynomialReDoS.qll diff --git a/python/ql/src/semmle/python/security/dataflow/PolynomialReDoSCustomizations.qll b/python/ql/lib/semmle/python/security/dataflow/PolynomialReDoSCustomizations.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/PolynomialReDoSCustomizations.qll rename to python/ql/lib/semmle/python/security/dataflow/PolynomialReDoSCustomizations.qll diff --git a/python/ql/src/semmle/python/security/dataflow/ReflectedXSS.qll b/python/ql/lib/semmle/python/security/dataflow/ReflectedXSS.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/ReflectedXSS.qll rename to python/ql/lib/semmle/python/security/dataflow/ReflectedXSS.qll diff --git a/python/ql/src/semmle/python/security/dataflow/ReflectedXSSCustomizations.qll b/python/ql/lib/semmle/python/security/dataflow/ReflectedXSSCustomizations.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/ReflectedXSSCustomizations.qll rename to python/ql/lib/semmle/python/security/dataflow/ReflectedXSSCustomizations.qll diff --git a/python/ql/src/semmle/python/security/dataflow/SqlInjection.qll b/python/ql/lib/semmle/python/security/dataflow/SqlInjection.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/SqlInjection.qll rename to python/ql/lib/semmle/python/security/dataflow/SqlInjection.qll diff --git a/python/ql/src/semmle/python/security/dataflow/SqlInjectionCustomizations.qll b/python/ql/lib/semmle/python/security/dataflow/SqlInjectionCustomizations.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/SqlInjectionCustomizations.qll rename to python/ql/lib/semmle/python/security/dataflow/SqlInjectionCustomizations.qll diff --git a/python/ql/src/semmle/python/security/dataflow/StackTraceExposure.qll b/python/ql/lib/semmle/python/security/dataflow/StackTraceExposure.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/StackTraceExposure.qll rename to python/ql/lib/semmle/python/security/dataflow/StackTraceExposure.qll diff --git a/python/ql/src/semmle/python/security/dataflow/StackTraceExposureCustomizations.qll b/python/ql/lib/semmle/python/security/dataflow/StackTraceExposureCustomizations.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/StackTraceExposureCustomizations.qll rename to python/ql/lib/semmle/python/security/dataflow/StackTraceExposureCustomizations.qll diff --git a/python/ql/src/semmle/python/security/dataflow/UnsafeDeserialization.qll b/python/ql/lib/semmle/python/security/dataflow/UnsafeDeserialization.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/UnsafeDeserialization.qll rename to python/ql/lib/semmle/python/security/dataflow/UnsafeDeserialization.qll diff --git a/python/ql/src/semmle/python/security/dataflow/UnsafeDeserializationCustomizations.qll b/python/ql/lib/semmle/python/security/dataflow/UnsafeDeserializationCustomizations.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/UnsafeDeserializationCustomizations.qll rename to python/ql/lib/semmle/python/security/dataflow/UnsafeDeserializationCustomizations.qll diff --git a/python/ql/src/semmle/python/security/dataflow/UrlRedirect.qll b/python/ql/lib/semmle/python/security/dataflow/UrlRedirect.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/UrlRedirect.qll rename to python/ql/lib/semmle/python/security/dataflow/UrlRedirect.qll diff --git a/python/ql/src/semmle/python/security/dataflow/UrlRedirectCustomizations.qll b/python/ql/lib/semmle/python/security/dataflow/UrlRedirectCustomizations.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/UrlRedirectCustomizations.qll rename to python/ql/lib/semmle/python/security/dataflow/UrlRedirectCustomizations.qll diff --git a/python/ql/src/semmle/python/security/dataflow/WeakSensitiveDataHashing.qll b/python/ql/lib/semmle/python/security/dataflow/WeakSensitiveDataHashing.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/WeakSensitiveDataHashing.qll rename to python/ql/lib/semmle/python/security/dataflow/WeakSensitiveDataHashing.qll diff --git a/python/ql/src/semmle/python/security/dataflow/WeakSensitiveDataHashingCustomizations.qll b/python/ql/lib/semmle/python/security/dataflow/WeakSensitiveDataHashingCustomizations.qll similarity index 100% rename from python/ql/src/semmle/python/security/dataflow/WeakSensitiveDataHashingCustomizations.qll rename to python/ql/lib/semmle/python/security/dataflow/WeakSensitiveDataHashingCustomizations.qll diff --git a/python/ql/src/semmle/python/security/flow/AnyCall.qll b/python/ql/lib/semmle/python/security/flow/AnyCall.qll similarity index 100% rename from python/ql/src/semmle/python/security/flow/AnyCall.qll rename to python/ql/lib/semmle/python/security/flow/AnyCall.qll diff --git a/python/ql/src/semmle/python/security/injection/Command.qll b/python/ql/lib/semmle/python/security/injection/Command.qll similarity index 100% rename from python/ql/src/semmle/python/security/injection/Command.qll rename to python/ql/lib/semmle/python/security/injection/Command.qll diff --git a/python/ql/src/semmle/python/security/injection/Deserialization.qll b/python/ql/lib/semmle/python/security/injection/Deserialization.qll similarity index 100% rename from python/ql/src/semmle/python/security/injection/Deserialization.qll rename to python/ql/lib/semmle/python/security/injection/Deserialization.qll diff --git a/python/ql/src/semmle/python/security/injection/Exec.qll b/python/ql/lib/semmle/python/security/injection/Exec.qll similarity index 100% rename from python/ql/src/semmle/python/security/injection/Exec.qll rename to python/ql/lib/semmle/python/security/injection/Exec.qll diff --git a/python/ql/src/semmle/python/security/injection/Marshal.qll b/python/ql/lib/semmle/python/security/injection/Marshal.qll similarity index 100% rename from python/ql/src/semmle/python/security/injection/Marshal.qll rename to python/ql/lib/semmle/python/security/injection/Marshal.qll diff --git a/python/ql/src/semmle/python/security/injection/Path.qll b/python/ql/lib/semmle/python/security/injection/Path.qll similarity index 100% rename from python/ql/src/semmle/python/security/injection/Path.qll rename to python/ql/lib/semmle/python/security/injection/Path.qll diff --git a/python/ql/src/semmle/python/security/injection/Pickle.qll b/python/ql/lib/semmle/python/security/injection/Pickle.qll similarity index 100% rename from python/ql/src/semmle/python/security/injection/Pickle.qll rename to python/ql/lib/semmle/python/security/injection/Pickle.qll diff --git a/python/ql/src/semmle/python/security/injection/Sql.qll b/python/ql/lib/semmle/python/security/injection/Sql.qll similarity index 100% rename from python/ql/src/semmle/python/security/injection/Sql.qll rename to python/ql/lib/semmle/python/security/injection/Sql.qll diff --git a/python/ql/src/semmle/python/security/injection/Xml.qll b/python/ql/lib/semmle/python/security/injection/Xml.qll similarity index 100% rename from python/ql/src/semmle/python/security/injection/Xml.qll rename to python/ql/lib/semmle/python/security/injection/Xml.qll diff --git a/python/ql/src/semmle/python/security/injection/Yaml.qll b/python/ql/lib/semmle/python/security/injection/Yaml.qll similarity index 100% rename from python/ql/src/semmle/python/security/injection/Yaml.qll rename to python/ql/lib/semmle/python/security/injection/Yaml.qll diff --git a/python/ql/src/semmle/python/security/internal/SensitiveDataHeuristics.qll b/python/ql/lib/semmle/python/security/internal/SensitiveDataHeuristics.qll similarity index 100% rename from python/ql/src/semmle/python/security/internal/SensitiveDataHeuristics.qll rename to python/ql/lib/semmle/python/security/internal/SensitiveDataHeuristics.qll diff --git a/python/ql/src/semmle/python/security/performance/ExponentialBackTracking.qll b/python/ql/lib/semmle/python/security/performance/ExponentialBackTracking.qll similarity index 100% rename from python/ql/src/semmle/python/security/performance/ExponentialBackTracking.qll rename to python/ql/lib/semmle/python/security/performance/ExponentialBackTracking.qll diff --git a/python/ql/src/semmle/python/security/performance/ReDoSUtil.qll b/python/ql/lib/semmle/python/security/performance/ReDoSUtil.qll similarity index 100% rename from python/ql/src/semmle/python/security/performance/ReDoSUtil.qll rename to python/ql/lib/semmle/python/security/performance/ReDoSUtil.qll diff --git a/python/ql/src/semmle/python/security/performance/RegExpTreeView.qll b/python/ql/lib/semmle/python/security/performance/RegExpTreeView.qll similarity index 100% rename from python/ql/src/semmle/python/security/performance/RegExpTreeView.qll rename to python/ql/lib/semmle/python/security/performance/RegExpTreeView.qll diff --git a/python/ql/src/semmle/python/security/performance/SuperlinearBackTracking.qll b/python/ql/lib/semmle/python/security/performance/SuperlinearBackTracking.qll similarity index 100% rename from python/ql/src/semmle/python/security/performance/SuperlinearBackTracking.qll rename to python/ql/lib/semmle/python/security/performance/SuperlinearBackTracking.qll diff --git a/python/ql/src/semmle/python/security/strings/Basic.qll b/python/ql/lib/semmle/python/security/strings/Basic.qll similarity index 100% rename from python/ql/src/semmle/python/security/strings/Basic.qll rename to python/ql/lib/semmle/python/security/strings/Basic.qll diff --git a/python/ql/src/semmle/python/security/strings/Common.qll b/python/ql/lib/semmle/python/security/strings/Common.qll similarity index 100% rename from python/ql/src/semmle/python/security/strings/Common.qll rename to python/ql/lib/semmle/python/security/strings/Common.qll diff --git a/python/ql/src/semmle/python/security/strings/External.qll b/python/ql/lib/semmle/python/security/strings/External.qll similarity index 100% rename from python/ql/src/semmle/python/security/strings/External.qll rename to python/ql/lib/semmle/python/security/strings/External.qll diff --git a/python/ql/src/semmle/python/security/strings/Untrusted.qll b/python/ql/lib/semmle/python/security/strings/Untrusted.qll similarity index 100% rename from python/ql/src/semmle/python/security/strings/Untrusted.qll rename to python/ql/lib/semmle/python/security/strings/Untrusted.qll diff --git a/python/ql/src/semmle/python/strings.qll b/python/ql/lib/semmle/python/strings.qll similarity index 100% rename from python/ql/src/semmle/python/strings.qll rename to python/ql/lib/semmle/python/strings.qll diff --git a/python/ql/src/semmle/python/templates/PyxlTags.qll b/python/ql/lib/semmle/python/templates/PyxlTags.qll similarity index 100% rename from python/ql/src/semmle/python/templates/PyxlTags.qll rename to python/ql/lib/semmle/python/templates/PyxlTags.qll diff --git a/python/ql/src/semmle/python/templates/Templates.qll b/python/ql/lib/semmle/python/templates/Templates.qll similarity index 100% rename from python/ql/src/semmle/python/templates/Templates.qll rename to python/ql/lib/semmle/python/templates/Templates.qll diff --git a/python/ql/src/semmle/python/types/Builtins.qll b/python/ql/lib/semmle/python/types/Builtins.qll similarity index 100% rename from python/ql/src/semmle/python/types/Builtins.qll rename to python/ql/lib/semmle/python/types/Builtins.qll diff --git a/python/ql/src/semmle/python/types/ClassObject.qll b/python/ql/lib/semmle/python/types/ClassObject.qll similarity index 100% rename from python/ql/src/semmle/python/types/ClassObject.qll rename to python/ql/lib/semmle/python/types/ClassObject.qll diff --git a/python/ql/src/semmle/python/types/Descriptors.qll b/python/ql/lib/semmle/python/types/Descriptors.qll similarity index 100% rename from python/ql/src/semmle/python/types/Descriptors.qll rename to python/ql/lib/semmle/python/types/Descriptors.qll diff --git a/python/ql/src/semmle/python/types/Exceptions.qll b/python/ql/lib/semmle/python/types/Exceptions.qll similarity index 100% rename from python/ql/src/semmle/python/types/Exceptions.qll rename to python/ql/lib/semmle/python/types/Exceptions.qll diff --git a/python/ql/src/semmle/python/types/Extensions.qll b/python/ql/lib/semmle/python/types/Extensions.qll similarity index 100% rename from python/ql/src/semmle/python/types/Extensions.qll rename to python/ql/lib/semmle/python/types/Extensions.qll diff --git a/python/ql/src/semmle/python/types/FunctionObject.qll b/python/ql/lib/semmle/python/types/FunctionObject.qll similarity index 100% rename from python/ql/src/semmle/python/types/FunctionObject.qll rename to python/ql/lib/semmle/python/types/FunctionObject.qll diff --git a/python/ql/src/semmle/python/types/IgnoredAndApproximations.txt b/python/ql/lib/semmle/python/types/IgnoredAndApproximations.txt similarity index 100% rename from python/ql/src/semmle/python/types/IgnoredAndApproximations.txt rename to python/ql/lib/semmle/python/types/IgnoredAndApproximations.txt diff --git a/python/ql/src/semmle/python/types/ImportTime.qll b/python/ql/lib/semmle/python/types/ImportTime.qll similarity index 100% rename from python/ql/src/semmle/python/types/ImportTime.qll rename to python/ql/lib/semmle/python/types/ImportTime.qll diff --git a/python/ql/src/semmle/python/types/ModuleKind.qll b/python/ql/lib/semmle/python/types/ModuleKind.qll similarity index 100% rename from python/ql/src/semmle/python/types/ModuleKind.qll rename to python/ql/lib/semmle/python/types/ModuleKind.qll diff --git a/python/ql/src/semmle/python/types/ModuleObject.qll b/python/ql/lib/semmle/python/types/ModuleObject.qll similarity index 100% rename from python/ql/src/semmle/python/types/ModuleObject.qll rename to python/ql/lib/semmle/python/types/ModuleObject.qll diff --git a/python/ql/src/semmle/python/types/Object.qll b/python/ql/lib/semmle/python/types/Object.qll similarity index 100% rename from python/ql/src/semmle/python/types/Object.qll rename to python/ql/lib/semmle/python/types/Object.qll diff --git a/python/ql/src/semmle/python/types/Properties.qll b/python/ql/lib/semmle/python/types/Properties.qll similarity index 100% rename from python/ql/src/semmle/python/types/Properties.qll rename to python/ql/lib/semmle/python/types/Properties.qll diff --git a/python/ql/src/semmle/python/types/Version.qll b/python/ql/lib/semmle/python/types/Version.qll similarity index 100% rename from python/ql/src/semmle/python/types/Version.qll rename to python/ql/lib/semmle/python/types/Version.qll diff --git a/python/ql/src/semmle/python/values/StringAttributes.qll b/python/ql/lib/semmle/python/values/StringAttributes.qll similarity index 100% rename from python/ql/src/semmle/python/values/StringAttributes.qll rename to python/ql/lib/semmle/python/values/StringAttributes.qll diff --git a/python/ql/src/semmle/python/web/ClientHttpRequest.qll b/python/ql/lib/semmle/python/web/ClientHttpRequest.qll similarity index 100% rename from python/ql/src/semmle/python/web/ClientHttpRequest.qll rename to python/ql/lib/semmle/python/web/ClientHttpRequest.qll diff --git a/python/ql/src/semmle/python/web/Http.qll b/python/ql/lib/semmle/python/web/Http.qll similarity index 100% rename from python/ql/src/semmle/python/web/Http.qll rename to python/ql/lib/semmle/python/web/Http.qll diff --git a/python/ql/src/semmle/python/web/HttpConstants.qll b/python/ql/lib/semmle/python/web/HttpConstants.qll similarity index 100% rename from python/ql/src/semmle/python/web/HttpConstants.qll rename to python/ql/lib/semmle/python/web/HttpConstants.qll diff --git a/python/ql/src/semmle/python/web/HttpRedirect.qll b/python/ql/lib/semmle/python/web/HttpRedirect.qll similarity index 100% rename from python/ql/src/semmle/python/web/HttpRedirect.qll rename to python/ql/lib/semmle/python/web/HttpRedirect.qll diff --git a/python/ql/src/semmle/python/web/HttpRequest.qll b/python/ql/lib/semmle/python/web/HttpRequest.qll similarity index 100% rename from python/ql/src/semmle/python/web/HttpRequest.qll rename to python/ql/lib/semmle/python/web/HttpRequest.qll diff --git a/python/ql/src/semmle/python/web/HttpResponse.qll b/python/ql/lib/semmle/python/web/HttpResponse.qll similarity index 100% rename from python/ql/src/semmle/python/web/HttpResponse.qll rename to python/ql/lib/semmle/python/web/HttpResponse.qll diff --git a/python/ql/src/semmle/python/web/bottle/General.qll b/python/ql/lib/semmle/python/web/bottle/General.qll similarity index 100% rename from python/ql/src/semmle/python/web/bottle/General.qll rename to python/ql/lib/semmle/python/web/bottle/General.qll diff --git a/python/ql/src/semmle/python/web/bottle/Redirect.qll b/python/ql/lib/semmle/python/web/bottle/Redirect.qll similarity index 100% rename from python/ql/src/semmle/python/web/bottle/Redirect.qll rename to python/ql/lib/semmle/python/web/bottle/Redirect.qll diff --git a/python/ql/src/semmle/python/web/bottle/Request.qll b/python/ql/lib/semmle/python/web/bottle/Request.qll similarity index 100% rename from python/ql/src/semmle/python/web/bottle/Request.qll rename to python/ql/lib/semmle/python/web/bottle/Request.qll diff --git a/python/ql/src/semmle/python/web/bottle/Response.qll b/python/ql/lib/semmle/python/web/bottle/Response.qll similarity index 100% rename from python/ql/src/semmle/python/web/bottle/Response.qll rename to python/ql/lib/semmle/python/web/bottle/Response.qll diff --git a/python/ql/src/semmle/python/web/cherrypy/General.qll b/python/ql/lib/semmle/python/web/cherrypy/General.qll similarity index 100% rename from python/ql/src/semmle/python/web/cherrypy/General.qll rename to python/ql/lib/semmle/python/web/cherrypy/General.qll diff --git a/python/ql/src/semmle/python/web/cherrypy/Request.qll b/python/ql/lib/semmle/python/web/cherrypy/Request.qll similarity index 100% rename from python/ql/src/semmle/python/web/cherrypy/Request.qll rename to python/ql/lib/semmle/python/web/cherrypy/Request.qll diff --git a/python/ql/src/semmle/python/web/cherrypy/Response.qll b/python/ql/lib/semmle/python/web/cherrypy/Response.qll similarity index 100% rename from python/ql/src/semmle/python/web/cherrypy/Response.qll rename to python/ql/lib/semmle/python/web/cherrypy/Response.qll diff --git a/python/ql/src/semmle/python/web/client/Requests.qll b/python/ql/lib/semmle/python/web/client/Requests.qll similarity index 100% rename from python/ql/src/semmle/python/web/client/Requests.qll rename to python/ql/lib/semmle/python/web/client/Requests.qll diff --git a/python/ql/src/semmle/python/web/client/StdLib.qll b/python/ql/lib/semmle/python/web/client/StdLib.qll similarity index 100% rename from python/ql/src/semmle/python/web/client/StdLib.qll rename to python/ql/lib/semmle/python/web/client/StdLib.qll diff --git a/python/ql/src/semmle/python/web/django/Db.qll b/python/ql/lib/semmle/python/web/django/Db.qll similarity index 100% rename from python/ql/src/semmle/python/web/django/Db.qll rename to python/ql/lib/semmle/python/web/django/Db.qll diff --git a/python/ql/src/semmle/python/web/django/General.qll b/python/ql/lib/semmle/python/web/django/General.qll similarity index 100% rename from python/ql/src/semmle/python/web/django/General.qll rename to python/ql/lib/semmle/python/web/django/General.qll diff --git a/python/ql/src/semmle/python/web/django/Model.qll b/python/ql/lib/semmle/python/web/django/Model.qll similarity index 100% rename from python/ql/src/semmle/python/web/django/Model.qll rename to python/ql/lib/semmle/python/web/django/Model.qll diff --git a/python/ql/src/semmle/python/web/django/Redirect.qll b/python/ql/lib/semmle/python/web/django/Redirect.qll similarity index 100% rename from python/ql/src/semmle/python/web/django/Redirect.qll rename to python/ql/lib/semmle/python/web/django/Redirect.qll diff --git a/python/ql/src/semmle/python/web/django/Request.qll b/python/ql/lib/semmle/python/web/django/Request.qll similarity index 100% rename from python/ql/src/semmle/python/web/django/Request.qll rename to python/ql/lib/semmle/python/web/django/Request.qll diff --git a/python/ql/src/semmle/python/web/django/Response.qll b/python/ql/lib/semmle/python/web/django/Response.qll similarity index 100% rename from python/ql/src/semmle/python/web/django/Response.qll rename to python/ql/lib/semmle/python/web/django/Response.qll diff --git a/python/ql/src/semmle/python/web/django/Sanitizers.qll b/python/ql/lib/semmle/python/web/django/Sanitizers.qll similarity index 100% rename from python/ql/src/semmle/python/web/django/Sanitizers.qll rename to python/ql/lib/semmle/python/web/django/Sanitizers.qll diff --git a/python/ql/src/semmle/python/web/django/Shared.qll b/python/ql/lib/semmle/python/web/django/Shared.qll similarity index 100% rename from python/ql/src/semmle/python/web/django/Shared.qll rename to python/ql/lib/semmle/python/web/django/Shared.qll diff --git a/python/ql/src/semmle/python/web/falcon/General.qll b/python/ql/lib/semmle/python/web/falcon/General.qll similarity index 100% rename from python/ql/src/semmle/python/web/falcon/General.qll rename to python/ql/lib/semmle/python/web/falcon/General.qll diff --git a/python/ql/src/semmle/python/web/falcon/Request.qll b/python/ql/lib/semmle/python/web/falcon/Request.qll similarity index 100% rename from python/ql/src/semmle/python/web/falcon/Request.qll rename to python/ql/lib/semmle/python/web/falcon/Request.qll diff --git a/python/ql/src/semmle/python/web/falcon/Response.qll b/python/ql/lib/semmle/python/web/falcon/Response.qll similarity index 100% rename from python/ql/src/semmle/python/web/falcon/Response.qll rename to python/ql/lib/semmle/python/web/falcon/Response.qll diff --git a/python/ql/src/semmle/python/web/flask/General.qll b/python/ql/lib/semmle/python/web/flask/General.qll similarity index 100% rename from python/ql/src/semmle/python/web/flask/General.qll rename to python/ql/lib/semmle/python/web/flask/General.qll diff --git a/python/ql/src/semmle/python/web/flask/Redirect.qll b/python/ql/lib/semmle/python/web/flask/Redirect.qll similarity index 100% rename from python/ql/src/semmle/python/web/flask/Redirect.qll rename to python/ql/lib/semmle/python/web/flask/Redirect.qll diff --git a/python/ql/src/semmle/python/web/flask/Request.qll b/python/ql/lib/semmle/python/web/flask/Request.qll similarity index 100% rename from python/ql/src/semmle/python/web/flask/Request.qll rename to python/ql/lib/semmle/python/web/flask/Request.qll diff --git a/python/ql/src/semmle/python/web/flask/Response.qll b/python/ql/lib/semmle/python/web/flask/Response.qll similarity index 100% rename from python/ql/src/semmle/python/web/flask/Response.qll rename to python/ql/lib/semmle/python/web/flask/Response.qll diff --git a/python/ql/src/semmle/python/web/pyramid/Redirect.qll b/python/ql/lib/semmle/python/web/pyramid/Redirect.qll similarity index 100% rename from python/ql/src/semmle/python/web/pyramid/Redirect.qll rename to python/ql/lib/semmle/python/web/pyramid/Redirect.qll diff --git a/python/ql/src/semmle/python/web/pyramid/Request.qll b/python/ql/lib/semmle/python/web/pyramid/Request.qll similarity index 100% rename from python/ql/src/semmle/python/web/pyramid/Request.qll rename to python/ql/lib/semmle/python/web/pyramid/Request.qll diff --git a/python/ql/src/semmle/python/web/pyramid/Response.qll b/python/ql/lib/semmle/python/web/pyramid/Response.qll similarity index 100% rename from python/ql/src/semmle/python/web/pyramid/Response.qll rename to python/ql/lib/semmle/python/web/pyramid/Response.qll diff --git a/python/ql/src/semmle/python/web/pyramid/View.qll b/python/ql/lib/semmle/python/web/pyramid/View.qll similarity index 100% rename from python/ql/src/semmle/python/web/pyramid/View.qll rename to python/ql/lib/semmle/python/web/pyramid/View.qll diff --git a/python/ql/src/semmle/python/web/stdlib/Request.qll b/python/ql/lib/semmle/python/web/stdlib/Request.qll similarity index 100% rename from python/ql/src/semmle/python/web/stdlib/Request.qll rename to python/ql/lib/semmle/python/web/stdlib/Request.qll diff --git a/python/ql/src/semmle/python/web/stdlib/Response.qll b/python/ql/lib/semmle/python/web/stdlib/Response.qll similarity index 100% rename from python/ql/src/semmle/python/web/stdlib/Response.qll rename to python/ql/lib/semmle/python/web/stdlib/Response.qll diff --git a/python/ql/src/semmle/python/web/tornado/Redirect.qll b/python/ql/lib/semmle/python/web/tornado/Redirect.qll similarity index 100% rename from python/ql/src/semmle/python/web/tornado/Redirect.qll rename to python/ql/lib/semmle/python/web/tornado/Redirect.qll diff --git a/python/ql/src/semmle/python/web/tornado/Request.qll b/python/ql/lib/semmle/python/web/tornado/Request.qll similarity index 100% rename from python/ql/src/semmle/python/web/tornado/Request.qll rename to python/ql/lib/semmle/python/web/tornado/Request.qll diff --git a/python/ql/src/semmle/python/web/tornado/Response.qll b/python/ql/lib/semmle/python/web/tornado/Response.qll similarity index 100% rename from python/ql/src/semmle/python/web/tornado/Response.qll rename to python/ql/lib/semmle/python/web/tornado/Response.qll diff --git a/python/ql/src/semmle/python/web/tornado/Tornado.qll b/python/ql/lib/semmle/python/web/tornado/Tornado.qll similarity index 100% rename from python/ql/src/semmle/python/web/tornado/Tornado.qll rename to python/ql/lib/semmle/python/web/tornado/Tornado.qll diff --git a/python/ql/src/semmle/python/web/turbogears/Request.qll b/python/ql/lib/semmle/python/web/turbogears/Request.qll similarity index 100% rename from python/ql/src/semmle/python/web/turbogears/Request.qll rename to python/ql/lib/semmle/python/web/turbogears/Request.qll diff --git a/python/ql/src/semmle/python/web/turbogears/Response.qll b/python/ql/lib/semmle/python/web/turbogears/Response.qll similarity index 100% rename from python/ql/src/semmle/python/web/turbogears/Response.qll rename to python/ql/lib/semmle/python/web/turbogears/Response.qll diff --git a/python/ql/src/semmle/python/web/turbogears/TurboGears.qll b/python/ql/lib/semmle/python/web/turbogears/TurboGears.qll similarity index 100% rename from python/ql/src/semmle/python/web/turbogears/TurboGears.qll rename to python/ql/lib/semmle/python/web/turbogears/TurboGears.qll diff --git a/python/ql/src/semmle/python/web/twisted/Request.qll b/python/ql/lib/semmle/python/web/twisted/Request.qll similarity index 100% rename from python/ql/src/semmle/python/web/twisted/Request.qll rename to python/ql/lib/semmle/python/web/twisted/Request.qll diff --git a/python/ql/src/semmle/python/web/twisted/Response.qll b/python/ql/lib/semmle/python/web/twisted/Response.qll similarity index 100% rename from python/ql/src/semmle/python/web/twisted/Response.qll rename to python/ql/lib/semmle/python/web/twisted/Response.qll diff --git a/python/ql/src/semmle/python/web/twisted/Twisted.qll b/python/ql/lib/semmle/python/web/twisted/Twisted.qll similarity index 100% rename from python/ql/src/semmle/python/web/twisted/Twisted.qll rename to python/ql/lib/semmle/python/web/twisted/Twisted.qll diff --git a/python/ql/src/semmle/python/web/webob/Request.qll b/python/ql/lib/semmle/python/web/webob/Request.qll similarity index 100% rename from python/ql/src/semmle/python/web/webob/Request.qll rename to python/ql/lib/semmle/python/web/webob/Request.qll diff --git a/python/ql/src/semmle/python/xml/XML.qll b/python/ql/lib/semmle/python/xml/XML.qll similarity index 100% rename from python/ql/src/semmle/python/xml/XML.qll rename to python/ql/lib/semmle/python/xml/XML.qll diff --git a/python/ql/src/semmlecode.python.dbscheme b/python/ql/lib/semmlecode.python.dbscheme similarity index 100% rename from python/ql/src/semmlecode.python.dbscheme rename to python/ql/lib/semmlecode.python.dbscheme diff --git a/python/ql/src/semmlecode.python.dbscheme.stats b/python/ql/lib/semmlecode.python.dbscheme.stats similarity index 100% rename from python/ql/src/semmlecode.python.dbscheme.stats rename to python/ql/lib/semmlecode.python.dbscheme.stats diff --git a/python/ql/src/site.qll b/python/ql/lib/site.qll similarity index 100% rename from python/ql/src/site.qll rename to python/ql/lib/site.qll diff --git a/python/ql/src/codeql-suites/python-code-scanning.qls b/python/ql/src/codeql-suites/python-code-scanning.qls index f9f9a5425b6..1007736770a 100644 --- a/python/ql/src/codeql-suites/python-code-scanning.qls +++ b/python/ql/src/codeql-suites/python-code-scanning.qls @@ -1,4 +1,4 @@ - description: Standard Code Scanning queries for Python -- qlpack: codeql-python +- queries: . - apply: code-scanning-selectors.yml - from: codeql-suite-helpers + from: codeql/suite-helpers diff --git a/python/ql/src/codeql-suites/python-lgtm-full.qls b/python/ql/src/codeql-suites/python-lgtm-full.qls index f13d4607b66..945c5a5ee8d 100644 --- a/python/ql/src/codeql-suites/python-lgtm-full.qls +++ b/python/ql/src/codeql-suites/python-lgtm-full.qls @@ -1,7 +1,7 @@ - description: Standard LGTM queries for Python, including ones not displayed by default -- qlpack: codeql-python +- queries: . - apply: lgtm-selectors.yml - from: codeql-suite-helpers + from: codeql/suite-helpers # These are only for IDE use. - exclude: tags contain: diff --git a/python/ql/src/codeql-suites/python-security-and-quality.qls b/python/ql/src/codeql-suites/python-security-and-quality.qls index c4e5d4fc8c0..2a97a497db0 100644 --- a/python/ql/src/codeql-suites/python-security-and-quality.qls +++ b/python/ql/src/codeql-suites/python-security-and-quality.qls @@ -1,4 +1,4 @@ - description: Security-and-quality queries for Python -- qlpack: codeql-python +- queries: . - apply: security-and-quality-selectors.yml - from: codeql-suite-helpers + from: codeql/suite-helpers diff --git a/python/ql/src/codeql-suites/python-security-extended.qls b/python/ql/src/codeql-suites/python-security-extended.qls index e0e99533b8c..8b4838c24cc 100644 --- a/python/ql/src/codeql-suites/python-security-extended.qls +++ b/python/ql/src/codeql-suites/python-security-extended.qls @@ -1,4 +1,4 @@ - description: Security-extended queries for Python -- qlpack: codeql-python +- queries: . - apply: security-extended-selectors.yml - from: codeql-suite-helpers + from: codeql/suite-helpers diff --git a/python/ql/src/lock b/python/ql/src/lock new file mode 100644 index 00000000000..e69de29bb2d diff --git a/python/ql/src/qlpack.lock.yml b/python/ql/src/qlpack.lock.yml new file mode 100644 index 00000000000..06dd07fc7dc --- /dev/null +++ b/python/ql/src/qlpack.lock.yml @@ -0,0 +1,4 @@ +--- +dependencies: {} +compiled: false +lockVersion: 1.0.0 diff --git a/python/ql/src/qlpack.yml b/python/ql/src/qlpack.yml index 9807b169d44..e1f7e6adb88 100644 --- a/python/ql/src/qlpack.yml +++ b/python/ql/src/qlpack.yml @@ -1,5 +1,7 @@ -name: codeql-python -version: 0.0.0 -dbscheme: semmlecode.python.dbscheme +name: codeql/python-queries +version: 0.0.1 suites: codeql-suites -extractor: python +defaultSuiteFile: codeql-suites/python-code-scanning.qls +dependencies: + codeql/python-all: 0.0.1 + codeql/suite-helpers: 0.0.1 diff --git a/python/ql/src/size b/python/ql/src/size new file mode 100644 index 00000000000..35cff003af1 Binary files /dev/null and b/python/ql/src/size differ diff --git a/python/ql/test/qlpack.yml b/python/ql/test/qlpack.yml index aca2524d023..e71b675cbbe 100644 --- a/python/ql/test/qlpack.yml +++ b/python/ql/test/qlpack.yml @@ -1,5 +1,6 @@ -name: codeql-python-tests -version: 0.0.0 -libraryPathDependencies: codeql-python +name: codeql/python-tests +version: 0.0.1 extractor: python tests: . +dependencies: + codeql/python-queries: 0.0.1 diff --git a/python/upgrades/qlpack.lock.yml b/python/upgrades/qlpack.lock.yml new file mode 100644 index 00000000000..06dd07fc7dc --- /dev/null +++ b/python/upgrades/qlpack.lock.yml @@ -0,0 +1,4 @@ +--- +dependencies: {} +compiled: false +lockVersion: 1.0.0 diff --git a/python/upgrades/qlpack.yml b/python/upgrades/qlpack.yml index 9939911eb99..225255218fc 100644 --- a/python/upgrades/qlpack.yml +++ b/python/upgrades/qlpack.yml @@ -1,2 +1,4 @@ -name: codeql-python-upgrades +name: codeql/python-upgrades +version: 0.0.1 upgrades: . +library: true