GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add support for aliasing languages like C/C++, Java/Kotlin, and JS/TS by henrymercer · Pull Request #1883 · github/codeql-action

Conversation

@henrymercer

@henrymercer henrymercer commented Sep 14, 2023

Copy link
Copy Markdown
Contributor

This PR adds support for the c-cpp, java-kotlin, and javascript-typescript aliases for C/C++, Java/Kotlin, and JavaScript/TypeScript analysis. To ensure a consistent experience across all CodeQL products, we implemented these aliases in the CLI, so this PR is really just exposing that functionality.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
henrymercer added 3 commits September 14, 2023 16:11
@henrymercer
Implement support for language aliasing
74714a3
@henrymercer
Add PR check
897ddf2
@henrymercer
Add changelog note
87a64c9
@henrymercer
henrymercer requested a review from a team as a code owner September 14, 2023 15:19
angelapwen
angelapwen previously approved these changes Sep 14, 2023
View reviewed changes

@angelapwen angelapwen left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to unblock, but have a couple of comments. Please feel free to get approval from another 🇪🇺 person once addressed!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/codeql.ts
/**
* Versions 2.14.4+ of the CodeQL CLI support language aliasing.
*/
export const CODEQL_VERSION_LANGUAGE_ALIASING = "2.14.4";

@angelapwen angelapwen Sep 14, 2023

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm.. should we bump this to 2.14.5 given its rollout on dotcom was stopped and bumped directly to 2.14.5?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@henrymercer henrymercer Sep 15, 2023

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2.14.5 is identical to 2.14.4 apart from a JavaScript fix, so I think it's fine to use 2.14.4 here. As you say though, it doesn't affect that many customers.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/config-utils.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread pr-checks/checks/language-aliases.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread CHANGELOG.md
## [UNRELEASED]

- Update default CodeQL bundle version to 2.14.5. [#1882](https://github.com/github/codeql-action/pull/1882)
- Enable the following language aliases when using CodeQL 2.14.4 and later: `c-cpp` for C/C++ analysis, `java-kotlin` for Java/Kotlin analysis, and `javascript-typescript` for JavaScript/TypeScript analysis. [#1883](https://github.com/github/codeql-action/pull/1883)

@angelapwen angelapwen Sep 14, 2023

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above on whether we want to move this to 2.14.5.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@henrymercer
Update PR check description
3ffd6c0
@henrymercer
henrymercer dismissed angelapwen’s stale review via 3ffd6c0 September 15, 2023 10:12
@Z80coder
Z80coder self-requested a review September 15, 2023 10:39
Z80coder
Z80coder approved these changes Sep 15, 2023
View reviewed changes
@henrymercer
henrymercer merged commit f3051ed into main Sep 15, 2023
@henrymercer
henrymercer deleted the henrymercer/language-aliasing branch September 15, 2023 11:00
This was referenced Sep 18, 2023
Merge main into releases/v2 #1890
Closed
Merge main into releases/v2 #1893
Merged
@daniel-beck daniel-beck mentioned this pull request Mar 15, 2024
Instructions for integrating with a basic CodeQL workflow should be updated for java-kotlin name advanced-security/dismiss-alerts#116
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers
@Z80coder Z80coder Z80coder approved these changes
@angelapwen angelapwen angelapwen left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@henrymercer @angelapwen @Z80coder
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.