Skip to content

Updating build_native.sh for configuring extra arguments. - #75

Closed
Nithishkumar-T wants to merge 1 commit into
developfrom
feature/update_build_native
Closed

Nithishkumar-T wants to merge 1 commit into
developfrom
feature/update_build_native

Conversation

@Nithishkumar-T

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 24, 2026 09:54
@Nithishkumar-T
Nithishkumar-T requested a review from a team as a code owner September 24, 2026 09:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

configure_args is ignored when configure_options_file is set, and the new file section is undocumented.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Adds support for passing extra Autotools configure arguments from configuration files or JSON.

Changes:

  • Parses [CONFIGURE_ARGS] entries.
  • Supports JSON configure_args.
  • Forwards arguments to ./configure.
File Summary
cov_docker_script/​build_native.sh Adds configure-argument parsing and invocation support.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +268 to +278
local arg_count
arg_count=$(jq -r '.native_component.build.configure_args // [] | length' "$CONFIG_FILE")

i=0
while [[ $i -lt $arg_count ]]; do
local configure_arg
configure_arg=$(jq -r ".native_component.build.configure_args[$i]" "$CONFIG_FILE")
configure_arg=$(expand_path "$configure_arg")
CONFIGURE_ARGS+=("$configure_arg")
i=$((i + 1))
done
@Nithishkumar-T
Nithishkumar-T force-pushed the feature/update_build_native branch from 11956d6 to 670df35 Compare September 24, 2026 10:05
Copilot AI review requested due to automatic review settings September 24, 2026 10:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

JSON arguments may be skipped with option files, and the new configuration format is undocumented.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity · 1 Low severity

Open (2)

Comment on lines +176 to +178
CONFIGURE_ARGS)
line="${line//\$HOME/$HOME}"
CONFIGURE_ARGS+=("$line")
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 24, 2026
@Nithishkumar-T
Nithishkumar-T deleted the feature/update_build_native branch September 24, 2026 10:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants