Skip to content

[I/Y-Build] Generalize API report generation and fix website links to it#3773

Merged
HannesWell merged 1 commit intoeclipse-platform:masterfrom
HannesWell:generalize-api-report-generation
Apr 19, 2026
Merged

[I/Y-Build] Generalize API report generation and fix website links to it#3773
HannesWell merged 1 commit intoeclipse-platform:masterfrom
HannesWell:generalize-api-report-generation

Conversation

@HannesWell
Copy link
Copy Markdown
Member

Enhances the API analysis report with the following aspects:

  • Compare the entire Eclipse repository not just the SDK product for Windows-x86_64
  • Move scripts to a more fitting location
  • Remove filters from build websites as they can be looked up in the SCM
  • Fix the previously broken links at the Eclipse build websites to the exclusions file

Comment on lines 345 to 352
# Collect .api_filters files
for filter in $(find ${AGG_DIR} -type f -path '*/.settings/.api_filters'); do
IFS='/' read -ra PATH_SEGMENTS <<< "${filter}"
pluginName="${PATH_SEGMENTS[-3]}"
target=${DROP_DIR}/${BUILD_ID}/apifilters/${pluginName}
target=${TEMP_DIR}/apifilters/${pluginName}
mkdir -p ${target}
cp ${filter} ${target}
done
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

If the API-problem suppression would be done through annotations, collecting the .api-filters files wouldn't be necessary at all:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What about suppressions for Manifest.mf files? E.g. version bumps .

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

See eclipse-pde/eclipse.pde#2291 (comment).
Lets discuss that there.
For now this part of the script has to stay anyways.

Comment on lines -25 to -26
## SPECIAL CASE FOR SWT: THE FRAGMENT IS ANALYZED AS PART OF THE HOST
org.eclipse.swt.win32.win32.x86_64
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The API filters for the SWT fragments are currently not considered.
I have to investigate why.

Comment thread JenkinsJobs/Builds/build.jenkinsfile Outdated
Enhances the API analysis report with the following aspects:
- Compare the entire Eclipse repository not just the SDK product for
Windows-x86_64
- Move scripts to a more fitting location
- Remove filters from build websites as they can be looked up in the SCM
- Fix the previously broken links from the Eclipse build websites to the
exclusions file
@HannesWell HannesWell force-pushed the generalize-api-report-generation branch from a7df9e7 to 3965870 Compare April 19, 2026 19:52
Comment on lines 25 to 33
## SPECIAL CASE FOR SWT: THE FRAGMENT IS ANALYZED AS PART OF THE HOST
org.eclipse.swt.cocoa.macosx.aarch64
org.eclipse.swt.cocoa.macosx.x86_64
org.eclipse.swt.gtk.linux.aarch64
org.eclipse.swt.gtk.linux.ppc64le
org.eclipse.swt.gtk.linux.riscv64
org.eclipse.swt.gtk.linux.x86_64
org.eclipse.swt.win32.win32.aarch64
org.eclipse.swt.win32.win32.x86_64
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'm in doubt that the host org.eclipse.swt bundle is actually analyzed. At the same time, the supplied .api_filters files are also not correctly considered.
Therefore I'll leave this state as it is for now and postpone that investigation to a later point in time.

@HannesWell HannesWell merged commit 8477308 into eclipse-platform:master Apr 19, 2026
6 of 7 checks passed
@HannesWell HannesWell deleted the generalize-api-report-generation branch April 19, 2026 20:26
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.

2 participants