WIP: feat: adding composite repo with eclipse platform#1412
WIP: feat: adding composite repo with eclipse platform#1412
Conversation
📝 WalkthroughWalkthroughThe changes introduce a composite repository build structure for the Espressif IDF. A new Maven plugin creates a composite-repo directory with organized artifacts and metadata files, while the CI workflow is updated to upload from the new composite-repo path. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (2)
releng/com.espressif.idf.update/pom.xml (2)
32-32: Consider parameterizing the Eclipse release version.The Eclipse release URL
2025-12is hardcoded. This will require manual updates for each new Eclipse release cycle. Consider extracting this to a property for easier maintenance.♻️ Proposed refactor
Add a property in the
<properties>section:<eclipse.release.version>2025-12</eclipse.release.version>Then update the Ant property:
-<property name="eclipse.site" value="https://download.eclipse.org/releases/2025-12/"/> +<property name="eclipse.site" value="https://download.eclipse.org/releases/${eclipse.release.version}/"/>🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@releng/com.espressif.idf.update/pom.xml` at line 32, The hardcoded Eclipse release in the Ant property declaration for "eclipse.site" should be parameterized: add a new Maven property (e.g., "eclipse.release.version") in the <properties> section and replace the literal "2025-12" used in the "eclipse.site" property value with a reference to that new property so the release can be bumped by changing the property only.
21-22: Pin the plugin version for reproducible builds.The
maven-antrun-pluginlacks an explicit version. Maven will resolve to whatever version is available, which can cause inconsistent builds across environments.♻️ Proposed fix
<plugin> <artifactId>maven-antrun-plugin</artifactId> + <version>3.2.0</version> <executions>🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@releng/com.espressif.idf.update/pom.xml` around lines 21 - 22, The pom currently declares the maven-antrun-plugin by artifactId without a version; add an explicit <version> element under the <plugin> for maven-antrun-plugin to pin the plugin (e.g., set version to a stable release such as 3.1.0 or your project's approved fixed version) so builds are reproducible; update the <plugin> block that contains artifactId "maven-antrun-plugin" to include the chosen <version> value.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@releng/com.espressif.idf.update/pom.xml`:
- Line 32: The hardcoded Eclipse release in the Ant property declaration for
"eclipse.site" should be parameterized: add a new Maven property (e.g.,
"eclipse.release.version") in the <properties> section and replace the literal
"2025-12" used in the "eclipse.s
8EF8
ite" property value with a reference to that new
property so the release can be bumped by changing the property only.
- Around line 21-22: The pom currently declares the maven-antrun-plugin by
artifactId without a version; add an explicit <version> element under the
<plugin> for maven-antrun-plugin to pin the plugin (e.g., set version to a
stable release such as 3.1.0 or your project's approved fixed version) so builds
are reproducible; update the <plugin> block that contains artifactId
"maven-antrun-plugin" to include the chosen <version> value.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: a4b6caaa-394b-4238-b5ed-e6cbad7ffe59
📒 Files selected for processing (2)
.github/workflows/ci.ymlreleng/com.espressif.idf.update/pom.xml
Description
Please include a summary of the change and which issue is fixed.
Fixes # (IEP-XXX)
Type of change
Please delete options that are not relevant.
How has this been tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Dependent components impacted by this PR:
Checklist
Summary by CodeRabbit