Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use standard configuration variable format for history item labels #3799

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

koesie10
Copy link
Member

@koesie10 koesie10 commented Nov 8, 2024

This changes the codeQL.queryHistory.format to use a format that is also used by VS Code, rather than using our own format. We will support the "legacy" format to ensure users that have configured this setting do not need to make any changes.

@koesie10 koesie10 marked this pull request as ready for review November 8, 2024 13:02
@koesie10 koesie10 requested a review from a team as a code owner November 8, 2024 13:02
Copy link
Contributor

@robertbrignull robertbrignull left a comment

Choose a reason for hiding this comment

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

Code-wise LGTM. I can appreciate that the new part is basically a single call to substituteConfigVariables and the rest is the old legacy implementation.

It's a shame we do have to keep the legacy implementation, but of course we do have to continue supporting the old format (for potentially quite a long time if not forever).

I haven't tried running it, but I assume you have tested it and the automated tests look good.

@koesie10 koesie10 merged commit 811972e into main Nov 12, 2024
27 checks passed
@koesie10 koesie10 deleted the koesie10/modernize-query-history-labels branch November 12, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants