From e33271d0711e0ef54e813a7aae5ab0972a127052 Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Tue, 30 Jan 2024 17:11:12 +0100 Subject: [PATCH 1/4] Python: No dep installation by default for everyone As announced in https://github.blog/changelog/2024-01-23-codeql-2-16-python-dependency-installation-disabled-new-queries-and-bug-fixes/ we have turned on this feature flag for github.com already. This change ensures that users on GHES also has this feature enabled by default. --- lib/feature-flags.js | 2 +- lib/feature-flags.js.map | 2 +- src/feature-flags.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/feature-flags.js b/lib/feature-flags.js index e07a9e73a8..25bb27e4c3 100644 --- a/lib/feature-flags.js +++ b/lib/feature-flags.js @@ -105,7 +105,7 @@ exports.featureConfig = { // here! envVar: "CODEQL_ACTION_DISABLE_PYTHON_DEPENDENCY_INSTALLATION", minimumVersion: "2.16.0", - defaultValue: false, + defaultValue: true, }, }; exports.FEATURE_FLAGS_FILE_NAME = "cached-feature-flags.json"; diff --git a/lib/feature-flags.js.map b/lib/feature-flags.js.map index af37b60d02..045331b50f 100644 --- a/lib/feature-flags.js.map +++ b/lib/feature-flags.js.map @@ -1 +1 @@ -{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAG5C,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;GAEG;AACU,QAAA,4CAA4C,GAAG,QAAQ,CAAC;AAErE;;;GAGG;AACU,QAAA,uCAAuC,GAAG,QAAQ,CAAC;AAgBhE;;;;GAIG;AACH,IAAY,OASX;AATD,WAAY,OAAO;IACjB,4EAAiE,CAAA;IACjE,6DAAkD,CAAA;IAClD,2EAAgE,CAAA;IAChE,wGAA6F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QAAQ,CAAC,QAAQ,CACtB,OAAO,CAAC,kDAAkD,EAC1D,MAAM,CACP,CAAC,CACH,CAAC;AACJ,CAAC;AAdD,wFAcC"} \ No newline at end of file +{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAG5C,6CAA+B;AAE/B,MAAM,mCAAmC,GAAG,yBAAyB,CAAC;AACtE,MAAM,mCAAmC,GAAG,UAAU,CAAC;AAEvD;;GAEG;AACU,QAAA,4CAA4C,GAAG,QAAQ,CAAC;AAErE;;;GAGG;AACU,QAAA,uCAAuC,GAAG,QAAQ,CAAC;AAgBhE;;;;GAIG;AACH,IAAY,OASX;AATD,WAAY,OAAO;IACjB,4EAAiE,CAAA;IACjE,6DAAkD,CAAA;IAClD,2EAAgE,CAAA;IAChE,wGAA6F,CAAA;IAC7F,2HAAgH,CAAA;IAChH,gGAAqF,CAAA;IACrF,kEAAuD,CAAA;IACvD,sDAA2C,CAAA;AAC7C,CAAC,EATW,OAAO,uBAAP,OAAO,QASlB;AAEY,QAAA,aAAa,GAGtB;IACF,CAAC,OAAO,CAAC,yBAAyB,CAAC,EAAE;QACnC,MAAM,EAAE,+CAA+C;QACvD,cAAc,EAAE,QAAQ;QACxB,YAAY,EAAE,KAAK;KACpB;IACD,CAAC,OAAO,CAAC,qBAAqB,CAAC,EAAE;QAC/B,MAAM,EAAE,yBAAyB;QACjC,cAAc,EAAE,QAAQ;QACxB,YAAY,EAAE,KAAK;KACpB;IACD,CAAC,OAAO,CAAC,4BAA4B,CAAC,EAAE;QACtC,MAAM,EAAE,gCAAgC;QACxC,cAAc,EAAE,SAAS;QACzB,YAAY,EAAE,KAAK;KACpB;IACD,CAAC,OAAO,CAAC,sCAAsC,CAAC,EAAE;QAChD,MAAM,EAAE,2CAA2C;QACnD,cA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,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC5C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,CAAC,OAAO,EAAE,CAChG,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;YACZ,CAAC;iBAAM,CAAC;gBACN,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;CACF;AAEM,KAAK,UAAU,sCAAsC,CAC1D,MAAc,EACd,QAA2B;IAE3B,OAAO,CACL,CAAC,MAAM,QAAQ,CAAC,QAAQ,CACtB,OAAO,CAAC,0CAA0C,EAClD,MAAM,CACP,CAAC;QACF,CAAC,MAAM,QAAQ,CAAC,QAAQ,CACtB,OAAO,CAAC,kDAAkD,EAC1D,MAAM,CACP,CAAC,CACH,CAAC;AACJ,CAAC;AAdD,wFAcC"} \ No newline at end of file diff --git a/src/feature-flags.ts b/src/feature-flags.ts index 80f80bb0ec..04e34f0118 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -105,7 +105,7 @@ export const featureConfig: Record< // here! envVar: "CODEQL_ACTION_DISABLE_PYTHON_DEPENDENCY_INSTALLATION", minimumVersion: "2.16.0", - defaultValue: false, + defaultValue: true, }, }; From 68d348377faf7da03dd730e87e732e06da6e304d Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Tue, 30 Jan 2024 17:13:24 +0100 Subject: [PATCH 2/4] Bump minor version --- node_modules/.package-lock.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 6a89cae8f8..e6a593e590 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.23.3", + "version": "3.24.0", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package-lock.json b/package-lock.json index 41021d960c..5f8969530d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "3.23.3", + "version": "3.24.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codeql", - "version": "3.23.3", + "version": "3.24.0", "license": "MIT", "dependencies": { "@actions/artifact": "^1.1.2", diff --git a/package.json b/package.json index d6cd14761c..86f4c26b81 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.23.3", + "version": "3.24.0", "private": true, "description": "CodeQL action", "scripts": { From 8c22ec9e5d60d2595a505bf4c5ea24b385b49125 Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Tue, 30 Jan 2024 17:18:39 +0100 Subject: [PATCH 3/4] Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59c4ee80d9..34d5f09c7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ Note that the only difference between `v2` and `v3` of the CodeQL Action is the ## [UNRELEASED] -No user facing changes. +- On GHES, CodeQL Python analysis will no longer install dependencies, like already implemented on github.com. See [release notes for 3.23.0](#3230---08-jan-2024) for more details. [#2106](https://github.com/github/codeql-action/pull/2106) ## 3.23.2 - 26 Jan 2024 From f7d53249e3ff1b2d2bc99288527e155561d1ba90 Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Thu, 1 Feb 2024 12:01:18 +0100 Subject: [PATCH 4/4] Update wording for CHANGELOG.md Co-authored-by: Henry Mercer --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34d5f09c7c..611c4b8ef1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ Note that the only difference between `v2` and `v3` of the CodeQL Action is the ## [UNRELEASED] -- On GHES, CodeQL Python analysis will no longer install dependencies, like already implemented on github.com. See [release notes for 3.23.0](#3230---08-jan-2024) for more details. [#2106](https://github.com/github/codeql-action/pull/2106) +- CodeQL Python analysis will no longer install dependencies on GitHub Enterprise Server, as is already the case for GitHub.com. See [release notes for 3.23.0](#3230---08-jan-2024) for more details. [#2106](https://github.com/github/codeql-action/pull/2106) ## 3.23.2 - 26 Jan 2024