Skip to content

WIP: feat: trying to customize p2 metadata#1413

Closed
sigmaaa wants to merge 2 commits into
masterfrom
feat_customizing_p2_metadata
Closed

WIP: feat: trying to customize p2 metadata#1413
sigmaaa wants to merge 2 commits into
masterfrom
feat_customizing_p2_metadata

Conversation

@sigmaaa

@sigmaaa sigmaaa commented Mar 11, 2026

Copy link
Copy Markdown
Collaborator

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.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

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 A
  • Test B

Test Configuration:

  • ESP-IDF Version:
  • OS (Windows,Linux and macOS):

Dependent components impacted by this PR:

  • Component 1
  • Component 2

Checklist

  • PR Self Reviewed
  • Applied Code formatting
  • Added Documentation
  • Added Unit Test
  • Verified on all platforms - Windows,Linux and macOS

Summary by CodeRabbit

  • Chores
    • Updated build configuration and repository settings to ensure proper dependency resolution during the installation process.

@coderabbitai

coderabbitai Bot commented Mar 11, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: afe8b73c-c33b-4e35-9c50-1124a42bf8e9

📥 Commits

Reviewing files that changed from the base of the PR and between 98110e8 and d0cc7ba.

📒 Files selected for processing (2)
  • features/com.espressif.idf.feature/build.properties
  • features/com.espressif.idf.feature/p2.inf
✅ Files skipped from review due to trivial changes (1)
  • features/com.espressif.idf.feature/p2.inf

📝 Walkthrough

Walkthrough

This pull request updates the Espressif IDF feature's build configuration and adds P2 metadata. It modifies the build properties file to include p2.inf in the distributed artifacts and creates a new p2.inf configuration file specifying Eclipse Metadata and Artifact repositories for 2025-12 as silent dependencies.

Changes

Cohort / File(s) Summary
Build Configuration
features/com.espressif.idf.feature/build.properties
Adds p2.inf to the bin.includes list to include it in the feature build artifacts.
P2 Metadata
features/com.espressif.idf.feature/p2.inf
Creates new configuration file specifying Eclipse Metadata Repository and Eclipse Artifact Repository for 2025-12 as silent dependencies.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Suggested reviewers

  • AndriiFilippov
  • alirana01
  • kolipakakondal

Poem

🐰 A whisker twitch, a new p2 file hops by,
With repositories bundled 'neath Eclipse's sky,
Build properties updated with careful care,
Silent dependencies floating through the air! 🎉

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The PR title uses 'WIP' prefix and is vague ('trying to customize') rather than clearly stating the actual changes made to build properties and p2.inf configuration. Replace with a clearer, more specific title such as 'Add p2 repository metadata to feature build configuration' or 'Configure p2 repository references for Eclipse dependencies'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat_customizing_p2_metadata

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@releng/com.espressif.idf.update/p2.inf`:
- Around line 7-9: The property repository.references.2.options currently has a
trailing "s" making the value "1s" which is invalid; update
repository.references.2.options to the integer value "1" (remove the stray "s")
so the p2 repository options parse correctly, ensuring the change is made where
repository.references.2.options is defined in the p2.inf content.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 267de1b3-dc39-4fe8-a95e-e1425719224d

📥 Commits

Reviewing files that changed from the base of the PR and between 2261868 and 98110e8.

📒 Files selected for processing (1)
  • releng/com.espressif.idf.update/p2.inf

Comment on lines +7 to +9
repository.references.2.url=https://download.eclipse.org/releases/2025-12/
repository.references.2.type=1
repository.references.2.options=1s

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

Typo in options value: 1s should be 1.

The options property expects an integer value. The trailing s appears to be a typo and may cause parsing errors or unexpected behavior during p2 repository resolution.

🐛 Proposed fix
 # Add the Eclipse 2025-12 Artifact Repository as a silent dependency
 repository.references.2.url=https://download.eclipse.org/releases/2025-12/
 repository.references.2.type=1
-repository.references.2.options=1s
+repository.references.2.options=1
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
repository.references.2.url=https://download.eclipse.org/releases/2025-12/
repository.references.2.type=1
repository.references.2.options=1s
repository.references.2.url=https://download.eclipse.org/releases/2025-12/
repository.references.2.type=1
repository.references.2.options=1
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@releng/com.espressif.idf.update/p2.inf` around lines 7 - 9, The property
repository.references.2.options currently has a trailing "s" making the value
"1s" which is invalid; update repository.references.2.options to the integer
value "1" (remove the stray "s") so the p2 repository options parse correctly,
ensuring the change is made where repository.references.2.options is defined in
the p2.inf content.

@sigmaaa sigmaaa closed this Mar 11, 2026
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.

1 participant