Skip to content

feat!: extend build command information in buildspec#1308

Merged
behnazh-w merged 13 commits intomainfrom
1300-enhancement---add-build-tool-name-to-each-command-in-build_commands-section-of-buildspec
Apr 15, 2026
Merged

feat!: extend build command information in buildspec#1308
behnazh-w merged 13 commits intomainfrom
1300-enhancement---add-build-tool-name-to-each-command-in-build_commands-section-of-buildspec

Conversation

@behnazh-w
Copy link
Copy Markdown
Member

@behnazh-w behnazh-w commented Feb 18, 2026

Summary

This PR improves build tool detection and buildspec generation across ecosystems, with stronger support for multi-module Java projects and richer build command metadata. There are breaking changes in the schema of macaron.buildspec and build_tool_check table.

Description of changes

  • Added Gradle and Maven module parsing for monorepos and dynamic module declarations (including non-trivial settings.gradle(.kts) patterns).
  • Improved build tool detection: better config matching/validation, parent/entry config awareness,
    clearer confidence handling and reporting.
  • Updated buildspec generation pipeline (core, base_spec, pypi_spec, maven_spec, patcher, schema) to carry build-tool context per build command.
  • Updated defaults/config and check logic to align with the new detection/reporting model.
  • Added and refreshed parser, build-tool, buildspec, and integration tests (including new Gradle multi-build integration fixtures).

Related issues

Closes #1300
Closes #1328

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 18, 2026
@behnazh-w behnazh-w force-pushed the 1300-enhancement---add-build-tool-name-to-each-command-in-build_commands-section-of-buildspec branch from 66ddd50 to b8a25b2 Compare February 19, 2026 02:15
@behnazh-w behnazh-w force-pushed the 1300-enhancement---add-build-tool-name-to-each-command-in-build_commands-section-of-buildspec branch 2 times, most recently from 2805deb to 1f47efd Compare March 17, 2026 06:40
@behnazh-w behnazh-w force-pushed the 1300-enhancement---add-build-tool-name-to-each-command-in-build_commands-section-of-buildspec branch from 8a5cbb1 to ae35915 Compare March 24, 2026 09:50
@behnazh-w behnazh-w force-pushed the 1300-enhancement---add-build-tool-name-to-each-command-in-build_commands-section-of-buildspec branch 2 times, most recently from 3399544 to 12abf42 Compare April 8, 2026 01:20
@behnazh-w behnazh-w changed the title feat: extend build command information in buildspec feat!: extend build command information in buildspec Apr 8, 2026
@behnazh-w behnazh-w force-pushed the 1300-enhancement---add-build-tool-name-to-each-command-in-build_commands-section-of-buildspec branch 2 times, most recently from 92a3125 to 71505dc Compare April 8, 2026 04:10
@behnazh-w behnazh-w marked this pull request as ready for review April 8, 2026 04:44
@behnazh-w behnazh-w requested a review from nicallen April 8, 2026 04:44
@behnazh-w behnazh-w force-pushed the 1300-enhancement---add-build-tool-name-to-each-command-in-build_commands-section-of-buildspec branch from 71505dc to 7d3fc1c Compare April 13, 2026 06:38
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
…report build tools

Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@behnazh-w behnazh-w force-pushed the 1300-enhancement---add-build-tool-name-to-each-command-in-build_commands-section-of-buildspec branch from 7d3fc1c to c4031aa Compare April 13, 2026 06:40
@behnazh-w behnazh-w merged commit e31cecb into main Apr 15, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

2 participants