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 — C++: introduce automatic installation of dependencies in the autobuilder by redsun82 · Pull Request #1889 · github/codeql-action

Conversation

@redsun82

@redsun82 redsun82 commented Sep 18, 2023 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

This introduces the possibility to automatically install dependencies when running the C++ autobuilder on an Ubuntu runner, that will be available with upcoming version 2.15.0. This behaviour can be explicitly requested by setting CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES in the autobuild action env, or is otherwise driven by the code_scanning_cpp_dependency_installation feature flag.

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
@redsun82
redsun82 force-pushed the redsun82/cpp-autoinstall-dependencies branch from 242362a to 1dc6288 Compare September 18, 2023 09:00
github-advanced-security[bot]
github-advanced-security AI found potential problems Sep 18, 2023
View reviewed changes
Comment thread src/autobuild.ts Resolved

Uh oh!

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

henrymercer
henrymercer reviewed Sep 18, 2023
View reviewed changes

@henrymercer henrymercer 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.

This looks like it will do the right thing, though I have a couple of questions about whether we can simplify the experience by reducing the amount of configuration options. Let me know what you think!

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread autobuild/action.yml Resolved

Uh oh!

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

Comment thread src/autobuild.ts Resolved

Uh oh!

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

Comment thread src/autobuild.ts Resolved

Uh oh!

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

Comment thread src/feature-flags.ts Resolved

Uh oh!

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

Comment thread src/autobuild.ts Resolved

Uh oh!

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

github-advanced-security[bot]
github-advanced-security AI found potential problems Sep 20, 2023
View reviewed changes
Comment thread src/autobuild.ts Fixed

Uh oh!

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

redsun82 added 3 commits September 20, 2023 14:05
@redsun82
C++: introduce automatic installation of dependencies in the autobuilder
c4c0678
This introduces the possibility to automatically install dependencies
when running the C++ autobuilder on an Ubuntu runner, that will be
available with upcoming version 2.15.0.

An experimental `cpp-autoinstall-dependencies` input is added to the
`autobuild` action. When not set, the default is driven by a feature
flag.
@redsun82
C++: simplify CppDependencyInstallation interface
bf21875
@redsun82
Add RUNNER_ENVIRONMENT to the list of known default setup variables
765807b
@redsun82
redsun82 force-pushed the redsun82/cpp-autoinstall-dependencies branch from 6de7ce6 to 765807b Compare September 20, 2023 12:08
@redsun82
redsun82 marked this pull request as ready for review September 20, 2023 13:51
@redsun82
redsun82 requested a review from a team as a code owner September 20, 2023 13:52
@redsun82
Add changelog entry
ab81590
henrymercer
henrymercer previously approved these changes Sep 21, 2023
View reviewed changes

@henrymercer henrymercer 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.

Some minor suggestions around logging, but LGTM otherwise!

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread src/autobuild.ts Resolved

Uh oh!

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

Comment thread src/autobuild.ts Resolved

Uh oh!

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

Comment thread src/autobuild.ts Resolved

Uh oh!

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

@redsun82 @henrymercer
Apply suggestions from code review
53bed11
Co-authored-by: Henry Mercer <[email protected]>
@redsun82
redsun82 dismissed henrymercer’s stale review via 53bed11 September 21, 2023 14:11
@redsun82
redsun82 enabled auto-merge September 21, 2023 14:11
@redsun82
Lint and build
c21e1dd
henrymercer
henrymercer approved these changes Sep 21, 2023
View reviewed changes

@henrymercer henrymercer 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.

Excellent!

Sorry, something went wrong.

Uh oh!

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

All reactions
@redsun82
redsun82 merged commit 49aaa9a into main Sep 21, 2023
@redsun82
redsun82 deleted the redsun82/cpp-autoinstall-dependencies branch September 21, 2023 14:49
@github-actions github-actions Bot mentioned this pull request Sep 27, 2023
Merge main into releases/v2 #1905
Merged
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@henrymercer henrymercer henrymercer approved these changes

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

@redsun82 @henrymercer @github-advanced-security
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.