Skip to content

releng: add legacy product for 2024-12 build#268

Open
arfio wants to merge 1 commit intoeclipse-tracecompass-incubator:masterfrom
arfio:releng-legacy
Open

releng: add legacy product for 2024-12 build#268
arfio wants to merge 1 commit intoeclipse-tracecompass-incubator:masterfrom
arfio:releng-legacy

Conversation

@arfio
Copy link
Copy Markdown
Contributor

@arfio arfio commented Apr 14, 2026

What it does

releng: add legacy product that was modified in PR #267.

How to test

Run the build with legacy product

Follow-ups

N/A

Review checklist

  • As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

Summary by CodeRabbit

  • New Features
    • Added "Trace Compass (Incubator)" product (v0.17.0) with platform-specific launchers, Java 17 requirement, bundled UI assets (icons/splash/about), and preselected feature installation for a ready-to-run RCP experience.
  • Chores
    • Switched update/repository endpoints to HTTPS for secure installs and updates.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 14, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 968af448-55dd-40f9-bcc5-867e3302bbc4

📥 Commits

Reviewing files that changed from the base of the PR and between 2aa0e0d and d19c1b2.

📒 Files selected for processing (2)
  • rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy-e4.34/tracing.incubator.product
  • rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy/tracing.incubator.product
✅ Files skipped from review due to trivial changes (1)
  • rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy/tracing.incubator.product
🚧 Files skipped from review as they are similar to previous changes (1)
  • rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy-e4.34/tracing.incubator.product

📝 Walkthrough

Walkthrough

Adds a new Eclipse PDE product descriptor tracing.incubator.product defining the "Trace Compass (Incubator)" features-based RCP product (version 0.17.0.qualifier) with launcher, VM, platform assets, features, OSGi auto-start config, and p2 repositories. Also updates two p2 repository URLs from http:// to https:// in an existing legacy product file.

Changes

Cohort / File(s) Summary
New Product Definition
rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy-e4.34/tracing.incubator.product
Adds a new PDE product XML: product metadata (name/uid/id/version/application), features-based product config, launcher inclusion, -data @noDefault`` program arg, Java 17 VM settings, platform-specific VM/launcher/icon settings, about/aboutImage, splash, EPL 2.0 license text, an empty <plugins> section, feature entries (some `installMode="root"`), initial OSGi autostart/start-level entries, and p2 repository references.
Repository URL updates
rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy/tracing.incubator.product
Changes p2 repository location attributes from http://... to https://... for two Trace Compass repositories; no other functional edits.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested reviewers

  • MatthewKhouzam

Poem

🐰 I hopped through XML, with icons in tow,
Launched a new product, set Java to grow.
Repos now secure, with HTTPS cheer,
The Incubator springs — a launch without fear! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: adding a legacy product configuration for the 2024-12 build, which aligns with the primary additions in the changeset (new product descriptor and repository URL updates).
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

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.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (2)
rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy-e4.34/tracing.incubator.product (2)

138-170: Remove duplicate org.eclipse.tracecompass.tmf.cli feature declaration.

Line 138 and Line 170 declare the same feature; keep the installMode="root" declaration only to avoid redundant configuration.

♻️ Proposed cleanup
-      <feature id="org.eclipse.tracecompass.tmf.cli"/>
...
       <feature id="org.eclipse.tracecompass.tmf.cli" installMode="root"/>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy-e4.34/tracing.incubator.product`
around lines 138 - 170, The product file includes a duplicate feature
declaration for org.eclipse.tracecompass.tmf.cli; remove the earlier plain
<feature id="org.eclipse.tracecompass.tmf.cli"/> entry and keep only the later
declaration that includes installMode="root" (the <feature
id="org.eclipse.tracecompass.tmf.cli" installMode="root"/>), ensuring no other
duplicate feature ids remain.

32-57: Update Solaris VM entry to match Java 17 baseline across all platforms.

Line 56 references JavaSE-1.8 while lines 32/34/36/54/55/57 enforce Java 17. Even though include="false" disables this entry, the stale baseline creates maintenance confusion and increases regression risk. This inconsistency appears in rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy-e4.34/tracing.incubator.product and the main product file.

Update Solaris entries to JavaSE-17 to align with the project's Java baseline.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy-e4.34/tracing.incubator.product`
around lines 32 - 57, The Solaris VM entry in the <vm> block currently uses the
old Java runtime identifier "JavaSE-1.8"; update the Solaris element value to
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"
so the <solaris ...> entry matches the other platform entries
(linux/macos/windows) and the project's Java 17 baseline.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy-e4.34/tracing.incubator.product`:
- Around line 190-193: The repository entries under the <repositories> element
use insecure, moving-target URLs (location="http://.../master/..."); update both
<repository> location attributes to use HTTPS and replace the "master" path with
the exact 2024-12 release repository paths your releng pipeline uses so the
entries become release-pinned and secure (modify the two <repository> elements
shown in the diff).

---

Nitpick comments:
In
`@rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy-e4.34/tracing.incubator.product`:
- Around line 138-170: The product file includes a duplicate feature declaration
for org.eclipse.tracecompass.tmf.cli; remove the earlier plain <feature
id="org.eclipse.tracecompass.tmf.cli"/> entry and keep only the later
declaration that includes installMode="root" (the <feature
id="org.eclipse.tracecompass.tmf.cli" installMode="root"/>), ensuring no other
duplicate feature ids remain.
- Around line 32-57: The Solaris VM entry in the <vm> block currently uses the
old Java runtime identifier "JavaSE-1.8"; update the Solaris element value to
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"
so the <solaris ...> entry matches the other platform entries
(linux/macos/windows) and the project's Java 17 baseline.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b9900d9c-48cb-470b-8fb6-26634dd27c4a

📥 Commits

Reviewing files that changed from the base of the PR and between 2fdf319 and 2aa0e0d.

📒 Files selected for processing (1)
  • rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy-e4.34/tracing.incubator.product

Comment on lines +190 to +193
<repositories>
<repository location="http://download.eclipse.org/tracecompass/master/rcp-repository" name="" enabled="true" />
<repository location="http://download.eclipse.org/tracecompass.incubator/master/repository" name="" enabled="true" />
</repositories>
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 | 🟠 Major

Use HTTPS and pin repositories to a release-specific location.

Line 191 and Line 192 currently point to http://.../master/.... For a legacy 2024-12 build, this is both insecure (MITM risk) and non-reproducible (moving target).

🔧 Proposed fix
-      <repository location="http://download.eclipse.org/tracecompass/master/rcp-repository" name="" enabled="true" />
-      <repository location="http://download.eclipse.org/tracecompass.incubator/master/repository" name="" enabled="true" />
+      <repository location="https://download.eclipse.org/tracecompass/<release-train>/rcp-repository" name="" enabled="true" />
+      <repository location="https://download.eclipse.org/tracecompass.incubator/<release-train>/repository" name="" enabled="true" />

Use the exact 2024-12 path your releng pipeline already consumes.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy-e4.34/tracing.incubator.product`
around lines 190 - 193, The repository entries under the <repositories> element
use insecure, moving-target URLs (location="http://.../master/..."); update both
<repository> location attributes to use HTTPS and replace the "master" path with
the exact 2024-12 release repository paths your releng pipeline uses so the
entries become release-pinned and secure (modify the two <repository> elements
shown in the diff).

Signed-off-by: Arnaud Fiorini <fiorini.arnaud@gmail.com>
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